Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

EntryPair Class Reference

EntryPair is used for contracting characters. More...

#include <tables.h>

List of all members.

Public Methods

 EntryPair ()
 Constructor. More...

 EntryPair (const UChar *name, int32_t nameLen, int32_t aValue, UBool aFwd = TRUE)
 ~EntryPair ()
UBool equalTo (const UChar *aName, int32_t aLen)
const UnicodeStringgetEntryName ()
void streamOut (FileStream* os) const
 The streamIn and streamOut methods read and write objects of this class as binary, platform-dependent data in the iostream. More...

void streamIn (FileStream* is)
void streamOut (UMemoryStream* os) const
void streamIn (UMemoryStream* is)
 EntryPair (const UnicodeString& str, int32_t aValue, UBool aFwd = TRUE)
 Deprecated. More...


Public Attributes

int32_t value
UBool fwd


Detailed Description

EntryPair is used for contracting characters.

Each entry pair contains the contracting character string and its collation order.

Definition at line 44 of file tables.h.


Constructor & Destructor Documentation

EntryPair::EntryPair ( ) [inline]
 

Constructor.

Definition at line 1044 of file tables.h.

EntryPair::EntryPair ( const UChar * name,
int32_t nameLen,
int32_t aValue,
UBool aFwd = TRUE ) [inline]
 

Definition at line 1050 of file tables.h.

EntryPair::~EntryPair ( ) [inline]
 

Definition at line 1056 of file tables.h.

EntryPair::EntryPair ( const UnicodeString & str,
int32_t aValue,
UBool aFwd = TRUE ) [inline]
 

Deprecated.

Definition at line 1036 of file tables.h.


Member Function Documentation

UBool EntryPair::equalTo ( const UChar * aName,
int32_t aLen ) [inline]
 

Definition at line 1064 of file tables.h.

const UnicodeString & EntryPair::getEntryName ( ) [inline]
 

Definition at line 1070 of file tables.h.

void EntryPair::streamIn ( UMemoryStream * is )
 

void EntryPair::streamIn ( FileStream * is )
 

void EntryPair::streamOut ( UMemoryStream * os ) const
 

void EntryPair::streamOut ( FileStream * os ) const
 

The streamIn and streamOut methods read and write objects of this class as binary, platform-dependent data in the iostream.

The stream must be in ios::binary mode for this to work. These methods are not intended for general public use; they are used by the framework to improve performance by storing certain objects in binary files.


Member Data Documentation

UBool EntryPair::fwd
 

Definition at line 58 of file tables.h.

int32_t EntryPair::value
 

Definition at line 57 of file tables.h.


The documentation for this class was generated from the following file:
Generated at Tue Dec 5 17:56:06 2000 for ICU by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000