30 #define INITIAL_CAPACITY 16
38 #define CAPACITY_GROW_LIMIT 128
177 virtual void init(
le_int32 capacity);
191 virtual void grow(
le_int32 capacity);
209 static const char fgClassID;
222 inline RunArray::RunArray()
223 : UObject(), fClientArrays(
FALSE), fLimits(
NULL), fCount(0), fCapacity(0)
228 inline RunArray::RunArray(
const RunArray & )
229 : UObject(), fClientArrays(
FALSE), fLimits(
NULL), fCount(0), fCapacity(0)
235 :
UObject(), fClientArrays(
TRUE), fLimits(limits), fCount(count), fCapacity(count)
252 if (run < 0 || run >= fCount) {
365 virtual void init(
le_int32 capacity);
366 virtual void grow(
le_int32 capacity);
378 static const char fgClassID;
380 const LEFontInstance **fFonts;
383 inline FontRuns::FontRuns()
384 : RunArray(0), fFonts(
NULL)
389 inline FontRuns::FontRuns(
const FontRuns & )
390 : RunArray(0), fFonts(
NULL)
396 :
RunArray(limits, count), fFonts(fonts)
502 virtual void init(
le_int32 capacity);
503 virtual void grow(
le_int32 capacity);
520 static const char fgClassID;
523 inline LocaleRuns::LocaleRuns()
524 : RunArray(0), fLocales(
NULL)
529 inline LocaleRuns::LocaleRuns(
const LocaleRuns & )
530 : RunArray(0), fLocales(
NULL)
536 :
RunArray(limits, count), fLocales(locales)
639 virtual void init(
le_int32 capacity);
640 virtual void grow(
le_int32 capacity);
652 static const char fgClassID;
657 inline ValueRuns::ValueRuns()
658 : RunArray(0), fValues(
NULL)
663 inline ValueRuns::ValueRuns(
const ValueRuns & )
664 : RunArray(0), fValues(
NULL)
670 :
RunArray(limits, count), fValues(values)