UT_SortedSymbolTable Class Reference

#include <UT_SortedSymbolTable.h>

List of all members.

Public Member Functions

 UT_SortedSymbolTable ()
virtual ~UT_SortedSymbolTable ()
void clear ()
void addSymbol (const char *symbol, UT_Thing data)
int findSymbol (const char *symbol, UT_Thing *datap) const
const char * getSymbol (uint i) const
const char * getStringReference (const char *string)
int deleteSymbol (const char *symbol)
UT_Thingoperator[] (const char *symbol)
UT_Thingoperator[] (uint i) const
UT_Thingoperator() (uint i) const
uint entries () const
bool empty () const
void sortThingsBySymbol ()

Protected Types

typedef UT_Pair< const char
*, UT_Thing * > 
myPair

Static Protected Member Functions

static int comparePair (const myPair *p1, const myPair *p2)

Protected Attributes

UT_SymbolTable myTable
UT_RefArray< myPairmyThings


Detailed Description

Definition at line 33 of file UT_SortedSymbolTable.h.


Member Typedef Documentation

typedef UT_Pair<const char*, UT_Thing*> UT_SortedSymbolTable::myPair [protected]

Definition at line 78 of file UT_SortedSymbolTable.h.


Constructor & Destructor Documentation

UT_SortedSymbolTable::UT_SortedSymbolTable (  )  [explicit]

virtual UT_SortedSymbolTable::~UT_SortedSymbolTable (  )  [virtual]


Member Function Documentation

void UT_SortedSymbolTable::addSymbol ( const char *  symbol,
UT_Thing  data 
)

void UT_SortedSymbolTable::clear (  ) 

static int UT_SortedSymbolTable::comparePair ( const myPair p1,
const myPair p2 
) [inline, static, protected]

Definition at line 80 of file UT_SortedSymbolTable.h.

int UT_SortedSymbolTable::deleteSymbol ( const char *  symbol  ) 

bool UT_SortedSymbolTable::empty (  )  const

uint UT_SortedSymbolTable::entries (  )  const

int UT_SortedSymbolTable::findSymbol ( const char *  symbol,
UT_Thing datap 
) const

const char* UT_SortedSymbolTable::getStringReference ( const char *  string  ) 

const char* UT_SortedSymbolTable::getSymbol ( uint  i  )  const

UT_Thing& UT_SortedSymbolTable::operator() ( uint  i  )  const [inline]

Definition at line 61 of file UT_SortedSymbolTable.h.

UT_Thing& UT_SortedSymbolTable::operator[] ( uint  i  )  const

UT_Thing& UT_SortedSymbolTable::operator[] ( const char *  symbol  ) 

void UT_SortedSymbolTable::sortThingsBySymbol (  )  [inline]

Definition at line 72 of file UT_SortedSymbolTable.h.


Member Data Documentation

Definition at line 84 of file UT_SortedSymbolTable.h.

Definition at line 85 of file UT_SortedSymbolTable.h.


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

Generated on Fri May 25 00:10:55 2012 for HDK by  doxygen 1.5.9