Logo Search packages:      
Sourcecode: icu version File versions  Download package

LEInsertionList Class Reference

#include <LEInsertionList.h>

Inheritance diagram for LEInsertionList:

UObject UMemory

List of all members.

Detailed Description

This class is used to keep track of insertions to an array of LEGlyphIDs. The insertions are kept on a linked list of InsertionRecords so that the glyph array doesn't have to be grown for each insertion. The insertions are stored on the list from leftmost to rightmost to make it easier to do the insertions.

The insertions are applied to the array by calling the applyInsertions method, which calls a client supplied LEInsertionCallback object to actually apply the individual insertions.

For internal use only.

Definition at line 62 of file LEInsertionList.h.

Public Member Functions

le_bool applyInsertions (LEInsertionCallback *callback)
virtual UClassID getDynamicClassID () const
le_int32 getGrowAmount ()
LEGlyphIDinsert (le_int32 position, le_int32 count, LEErrorCode &success)
 LEInsertionList (le_bool rightToLeft)
void reset ()
 ~LEInsertionList ()

Static Public Member Functions

static UClassID getStaticClassID ()
static void U_EXPORT2 operator delete (void *, void *) U_NO_THROW
static void U_EXPORT2 operator delete (void *p) U_NO_THROW
static void U_EXPORT2 operator delete[] (void *p) U_NO_THROW
static void *U_EXPORT2 operator new (size_t, void *ptr) U_NO_THROW
static void *U_EXPORT2 operator new (size_t size) U_NO_THROW
static void *U_EXPORT2 operator new[] (size_t size) U_NO_THROW

Private Attributes

le_bool append
le_int32 growAmount
InsertionRecord * head
InsertionRecord * tail

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index