LocaleRuns
class associates pointers to Locale
objects with runs of text.
More...
#include <RunArrays.h>
Inheritance diagram for LocaleRuns:
Public Member Functions | |
LocaleRuns (const Locale **locales, const le_int32 *limits, le_int32 count) | |
Construct a LocaleRuns object from pre-existing arrays of locales and limit indices. | |
LocaleRuns (le_int32 initialCapacity) | |
Construct an empty LocaleRuns object. | |
virtual | ~LocaleRuns () |
The destructor; virtual so that subclass destructors are invoked as well. | |
const Locale * | getLocale (le_int32 run) const |
Get the Locale object assoicated with the given run of text. | |
le_int32 | add (const Locale *locale, le_int32 limit) |
Add a Locale and limit index pair to the data arrays and return the run index where the data was stored. | |
virtual UClassID | getDynamicClassID () const |
ICU "poor man's RTTI", returns a UClassID for the actual class. | |
Static Public Member Functions | |
static UClassID | getStaticClassID () |
ICU "poor man's RTTI", returns a UClassID for this class. | |
Protected Member Functions | |
virtual void | init (le_int32 capacity) |
Create a data array with the given initial size. | |
virtual void | grow (le_int32 capacity) |
Grow a data array to the given initial size. |
LocaleRuns
class associates pointers to Locale
objects with runs of text.
Definition at line 407 of file RunArrays.h.
|
Construct a
Definition at line 532 of file RunArrays.h. References LocaleRuns(). Referenced by LocaleRuns(). |
|
Construct an empty
Clients can add locale and limit indices arrays using the
|
|
The destructor; virtual so that subclass destructors are invoked as well.
|
|
Add a
This method calls
If the
Subclasses should not override this method. Rather they should provide a new
|
|
ICU "poor man's RTTI", returns a UClassID for the actual class.
Reimplemented from RunArray. Definition at line 499 of file RunArrays.h. References RunArray::getStaticClassID(). |
|
Get the
Use
|
|
ICU "poor man's RTTI", returns a UClassID for this class.
Reimplemented from RunArray. Definition at line 492 of file RunArrays.h. |
|
Grow a data array to the given initial size.
This method will be called by the
Reimplemented from RunArray. |
|
Create a data array with the given initial size.
This method will be called by the
Reimplemented from RunArray. |