mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-4288 declare iinline methods as inline.
X-SVN-Rev: 17261
This commit is contained in:
parent
f841ce2352
commit
407d357101
3 changed files with 53 additions and 53 deletions
|
@ -1,7 +1,7 @@
|
|||
|
||||
/*
|
||||
*
|
||||
* (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved
|
||||
* (C) Copyright IBM Corp. 1998-2005 - All Rights Reserved
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -177,7 +177,7 @@ public:
|
|||
*
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual le_bool canDisplay(LEUnicode32 ch) const;
|
||||
virtual inline le_bool canDisplay(LEUnicode32 ch) const;
|
||||
|
||||
/**
|
||||
* This method returns the number of design units in
|
||||
|
@ -301,7 +301,7 @@ public:
|
|||
*
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual float xUnitsToPoints(float xUnits) const;
|
||||
virtual inline float xUnitsToPoints(float xUnits) const;
|
||||
|
||||
/**
|
||||
* This method converts font design units in the
|
||||
|
@ -313,7 +313,7 @@ public:
|
|||
*
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual float yUnitsToPoints(float yUnits) const;
|
||||
virtual float inline yUnitsToPoints(float yUnits) const;
|
||||
|
||||
/**
|
||||
* This method converts font design units to points.
|
||||
|
@ -323,7 +323,7 @@ public:
|
|||
*
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual void unitsToPoints(LEPoint &units, LEPoint &points) const;
|
||||
virtual inline void unitsToPoints(LEPoint &units, LEPoint &points) const;
|
||||
|
||||
/**
|
||||
* This method converts pixels in the
|
||||
|
@ -335,7 +335,7 @@ public:
|
|||
*
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual float xPixelsToUnits(float xPixels) const;
|
||||
virtual inline float xPixelsToUnits(float xPixels) const;
|
||||
|
||||
/**
|
||||
* This method converts pixels in the
|
||||
|
@ -347,7 +347,7 @@ public:
|
|||
*
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual float yPixelsToUnits(float yPixels) const;
|
||||
virtual inline float yPixelsToUnits(float yPixels) const;
|
||||
|
||||
/**
|
||||
* This method converts pixels to font design units.
|
||||
|
@ -357,7 +357,7 @@ public:
|
|||
*
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual void pixelsToUnits(LEPoint &pixels, LEPoint &units) const;
|
||||
virtual inline void pixelsToUnits(LEPoint &pixels, LEPoint &units) const;
|
||||
|
||||
/**
|
||||
* Get the X scale factor from the font's transform. The default
|
||||
|
@ -399,7 +399,7 @@ public:
|
|||
*
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
virtual void transformFunits(float xFunits, float yFunits, LEPoint &pixels) const;
|
||||
virtual inline void transformFunits(float xFunits, float yFunits, LEPoint &pixels) const;
|
||||
|
||||
/**
|
||||
* This is a convenience method used to convert
|
||||
|
@ -411,7 +411,7 @@ public:
|
|||
*
|
||||
* @stable ICU 2.8
|
||||
*/
|
||||
static float fixedToFloat(le_int32 fixed);
|
||||
static inline float fixedToFloat(le_int32 fixed);
|
||||
|
||||
/**
|
||||
* This is a convenience method used to convert
|
||||
|
@ -423,7 +423,7 @@ public:
|
|||
*
|
||||
* @stable ICU 2.8
|
||||
*/
|
||||
static le_int32 floatToFixed(float theFloat);
|
||||
static inline le_int32 floatToFixed(float theFloat);
|
||||
|
||||
//
|
||||
// These methods won't ever be called by the LayoutEngine,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
**********************************************************************
|
||||
* Copyright (C) 2002-2004, International Business Machines
|
||||
* Copyright (C) 2002-2005, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
**********************************************************************
|
||||
*/
|
||||
|
@ -72,7 +72,7 @@ public:
|
|||
*
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
le_int32 countRuns() const;
|
||||
inline le_int32 countRuns() const;
|
||||
|
||||
/**
|
||||
* Get the ascent of the line. This is the maximum ascent
|
||||
|
@ -165,9 +165,9 @@ public:
|
|||
|
||||
VisualRun **fRuns;
|
||||
|
||||
Line();
|
||||
Line(const Line &other);
|
||||
Line &operator=(const Line & /*other*/) { return *this; };
|
||||
inline Line();
|
||||
inline Line(const Line &other);
|
||||
inline Line &operator=(const Line & /*other*/) { return *this; };
|
||||
|
||||
void computeMetrics();
|
||||
|
||||
|
@ -205,7 +205,7 @@ public:
|
|||
*
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
const LEFontInstance *getFont() const;
|
||||
inline const LEFontInstance *getFont() const;
|
||||
|
||||
/**
|
||||
* Get the direction of the visual run.
|
||||
|
@ -215,7 +215,7 @@ public:
|
|||
*
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
UBiDiDirection getDirection() const;
|
||||
inline UBiDiDirection getDirection() const;
|
||||
|
||||
/**
|
||||
* Get the number of glyphs in the visual run.
|
||||
|
@ -224,7 +224,7 @@ public:
|
|||
*
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
le_int32 getGlyphCount() const;
|
||||
inline le_int32 getGlyphCount() const;
|
||||
|
||||
/**
|
||||
* Get the glyphs in the visual run. Glyphs with the values <code>0xFFFE</code> and
|
||||
|
@ -236,7 +236,7 @@ public:
|
|||
*
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
const LEGlyphID *getGlyphs() const;
|
||||
inline const LEGlyphID *getGlyphs() const;
|
||||
|
||||
/**
|
||||
* Get the (x, y) positions of the glyphs in the visual run. To simplify storage
|
||||
|
@ -251,7 +251,7 @@ public:
|
|||
*
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
const float *getPositions() const;
|
||||
inline const float *getPositions() const;
|
||||
|
||||
/**
|
||||
* Get the glyph-to-character map for this visual run. This maps the indices into
|
||||
|
@ -263,7 +263,7 @@ public:
|
|||
*
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
const le_int32 *getGlyphToCharMap() const;
|
||||
inline const le_int32 *getGlyphToCharMap() const;
|
||||
|
||||
/**
|
||||
* A convenience method which returns the ascent value for the font
|
||||
|
@ -273,7 +273,7 @@ public:
|
|||
*
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
le_int32 getAscent() const;
|
||||
inline le_int32 getAscent() const;
|
||||
|
||||
/**
|
||||
* A convenience method which returns the descent value for the font
|
||||
|
@ -283,7 +283,7 @@ public:
|
|||
*
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
le_int32 getDescent() const;
|
||||
inline le_int32 getDescent() const;
|
||||
|
||||
/**
|
||||
* A convenience method which returns the leading value for the font
|
||||
|
@ -293,7 +293,7 @@ public:
|
|||
*
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
le_int32 getLeading() const;
|
||||
inline le_int32 getLeading() const;
|
||||
|
||||
/**
|
||||
* ICU "poor man's RTTI", returns a UClassID for this class.
|
||||
|
@ -328,11 +328,11 @@ public:
|
|||
|
||||
friend class Line;
|
||||
|
||||
VisualRun();
|
||||
VisualRun(const VisualRun &other);
|
||||
VisualRun &operator=(const VisualRun &other) { return *this; };
|
||||
inline VisualRun();
|
||||
inline VisualRun(const VisualRun &other);
|
||||
inline VisualRun &operator=(const VisualRun &other) { return *this; };
|
||||
|
||||
VisualRun(const LEFontInstance *font, UBiDiDirection direction, le_int32 glyphCount,
|
||||
inline VisualRun(const LEFontInstance *font, UBiDiDirection direction, le_int32 glyphCount,
|
||||
const LEGlyphID glyphs[], const float positions[], const le_int32 glyphToCharMap[]);
|
||||
|
||||
~VisualRun();
|
||||
|
@ -443,7 +443,7 @@ public:
|
|||
*
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
UBiDiLevel getParagraphLevel();
|
||||
inline UBiDiLevel getParagraphLevel();
|
||||
|
||||
/**
|
||||
* Return the directionality of the text in the paragraph.
|
||||
|
@ -454,7 +454,7 @@ public:
|
|||
*
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
UBiDiDirection getTextDirection();
|
||||
inline UBiDiDirection getTextDirection();
|
||||
|
||||
/**
|
||||
* Return the max ascent value for all the fonts
|
||||
|
@ -492,7 +492,7 @@ public:
|
|||
*
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
void reflow();
|
||||
inline void reflow();
|
||||
|
||||
/**
|
||||
* Return a <code>ParagraphLayout::Line</code> object which represents next line
|
||||
|
@ -553,7 +553,7 @@ private:
|
|||
|
||||
ParagraphLayout() {};
|
||||
ParagraphLayout(const ParagraphLayout & /*other*/) : UObject( ){};
|
||||
ParagraphLayout &operator=(const ParagraphLayout & /*other*/) { return *this; };
|
||||
inline ParagraphLayout &operator=(const ParagraphLayout & /*other*/) { return *this; };
|
||||
|
||||
void computeLevels(UBiDiLevel paragraphLevel);
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
**********************************************************************
|
||||
* Copyright (C) 2003-2004, International Business Machines
|
||||
* Copyright (C) 2003-2005, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
**********************************************************************
|
||||
*/
|
||||
|
@ -54,7 +54,7 @@ public:
|
|||
*
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
RunArray(const le_int32 *limits, le_int32 count);
|
||||
inline RunArray(const le_int32 *limits, le_int32 count);
|
||||
|
||||
/**
|
||||
* Construct an empty <code>RunArray</code> object. Clients can add limit
|
||||
|
@ -83,7 +83,7 @@ public:
|
|||
*
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
le_int32 getCount() const;
|
||||
inline le_int32 getCount() const;
|
||||
|
||||
/**
|
||||
* Get the last limit index. This is the number of characters in
|
||||
|
@ -93,7 +93,7 @@ public:
|
|||
*
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
le_int32 getLimit() const;
|
||||
inline le_int32 getLimit() const;
|
||||
|
||||
/**
|
||||
* Get the limit index for a particular run of text.
|
||||
|
@ -104,7 +104,7 @@ public:
|
|||
*
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
le_int32 getLimit(le_int32 run) const;
|
||||
inline le_int32 getLimit(le_int32 run) const;
|
||||
|
||||
/**
|
||||
* Add a limit index to the limit indices array and return the run index
|
||||
|
@ -195,9 +195,9 @@ private:
|
|||
|
||||
le_int32 ensureCapacity();
|
||||
|
||||
RunArray();
|
||||
RunArray(const RunArray & /*other*/);
|
||||
RunArray &operator=(const RunArray & /*other*/) { return *this; };
|
||||
inline RunArray();
|
||||
inline RunArray(const RunArray & /*other*/);
|
||||
inline RunArray &operator=(const RunArray & /*other*/) { return *this; };
|
||||
|
||||
const le_int32 *fLimits;
|
||||
le_int32 fCount;
|
||||
|
@ -265,7 +265,7 @@ public:
|
|||
*
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
FontRuns(const LEFontInstance **fonts, const le_int32 *limits, le_int32 count);
|
||||
inline FontRuns(const LEFontInstance **fonts, const le_int32 *limits, le_int32 count);
|
||||
|
||||
/**
|
||||
* Construct an empty <code>FontRuns</code> object. Clients can add font and limit
|
||||
|
@ -347,9 +347,9 @@ protected:
|
|||
|
||||
private:
|
||||
|
||||
FontRuns();
|
||||
FontRuns(const FontRuns &other);
|
||||
FontRuns &operator=(const FontRuns & /*other*/) { return *this; };
|
||||
inline FontRuns();
|
||||
inline FontRuns(const FontRuns &other);
|
||||
inline FontRuns &operator=(const FontRuns & /*other*/) { return *this; };
|
||||
|
||||
/**
|
||||
* The address of this static class variable serves as this class's ID
|
||||
|
@ -402,7 +402,7 @@ public:
|
|||
*
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
LocaleRuns(const Locale **locales, const le_int32 *limits, le_int32 count);
|
||||
inline LocaleRuns(const Locale **locales, const le_int32 *limits, le_int32 count);
|
||||
|
||||
/**
|
||||
* Construct an empty <code>LocaleRuns</code> object. Clients can add locale and limit
|
||||
|
@ -484,9 +484,9 @@ protected:
|
|||
|
||||
private:
|
||||
|
||||
LocaleRuns();
|
||||
LocaleRuns(const LocaleRuns &other);
|
||||
LocaleRuns &operator=(const LocaleRuns & /*other*/) { return *this; };
|
||||
inline LocaleRuns();
|
||||
inline LocaleRuns(const LocaleRuns &other);
|
||||
inline LocaleRuns &operator=(const LocaleRuns & /*other*/) { return *this; };
|
||||
|
||||
/**
|
||||
* The address of this static class variable serves as this class's ID
|
||||
|
@ -537,7 +537,7 @@ public:
|
|||
*
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
ValueRuns(const le_int32 *values, const le_int32 *limits, le_int32 count);
|
||||
inline ValueRuns(const le_int32 *values, const le_int32 *limits, le_int32 count);
|
||||
|
||||
/**
|
||||
* Construct an empty <code>ValueRuns</code> object. Clients can add value and limit
|
||||
|
@ -618,9 +618,9 @@ protected:
|
|||
|
||||
private:
|
||||
|
||||
ValueRuns();
|
||||
ValueRuns(const ValueRuns &other);
|
||||
ValueRuns &operator=(const ValueRuns & /*other*/) { return *this; };
|
||||
inline ValueRuns();
|
||||
inline ValueRuns(const ValueRuns &other);
|
||||
inline ValueRuns &operator=(const ValueRuns & /*other*/) { return *this; };
|
||||
|
||||
/**
|
||||
* The address of this static class variable serves as this class's ID
|
||||
|
|
Loading…
Add table
Reference in a new issue