HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_FSASymbolTable< ITEM_T > Class Template Reference

#include <UT_FSASymbolTable.h>

Public Member Functions

 UT_FSASymbolTable ()
 
 ~UT_FSASymbolTable ()
 
const char * addSymbol (const char *symbol, const ITEM_T &data)
 
int deleteSymbol (const char *symbol)
 
void clear ()
 
int findSymbol (const char *symbol, ITEM_T *datap) const
 
int findSymbol (const UT_StringView &symbol, ITEM_T *datap) const
 
int findSymbol (const UT_String &str, ITEM_T *datap) const
 
int findSymbol (const UT_StringRef &str, ITEM_T *datap) const
 
unsigned entries () const
 
bool empty () const
 
bool contains (const char *symbol) const
 
bool count (const char *symbol) const
 
void extractStrings (UT_StringArray &list) const
 
const char * getStringReference (const char *symbol)
 
int64 getMemoryUsage (bool inclusive) const
 
int traverseConst (int(*function)(const ITEM_T &, const char *, void *), void *data) const
 
int traverse (int(*function)(ITEM_T &, const char *, void *), void *data)
 
void rebuild ()
 

Detailed Description

template<typename ITEM_T>
class UT_FSASymbolTable< ITEM_T >

Definition at line 24 of file UT_FSASymbolTable.h.

Constructor & Destructor Documentation

template<typename ITEM_T>
UT_FSASymbolTable< ITEM_T >::UT_FSASymbolTable ( )
inline

Definition at line 37 of file UT_FSASymbolTable.h.

template<typename ITEM_T>
UT_FSASymbolTable< ITEM_T >::~UT_FSASymbolTable ( )
inline

Definition at line 38 of file UT_FSASymbolTable.h.

Member Function Documentation

template<typename ITEM_T>
const char* UT_FSASymbolTable< ITEM_T >::addSymbol ( const char *  symbol,
const ITEM_T &  data 
)
inline

Definition at line 44 of file UT_FSASymbolTable.h.

template<typename ITEM_T>
void UT_FSASymbolTable< ITEM_T >::clear ( void  )
inline

Definition at line 63 of file UT_FSASymbolTable.h.

template<typename ITEM_T>
bool UT_FSASymbolTable< ITEM_T >::contains ( const char *  symbol) const
inline

Definition at line 102 of file UT_FSASymbolTable.h.

template<typename ITEM_T>
bool UT_FSASymbolTable< ITEM_T >::count ( const char *  symbol) const
inline

Definition at line 104 of file UT_FSASymbolTable.h.

template<typename ITEM_T>
int UT_FSASymbolTable< ITEM_T >::deleteSymbol ( const char *  symbol)
inline

Definition at line 50 of file UT_FSASymbolTable.h.

template<typename ITEM_T>
bool UT_FSASymbolTable< ITEM_T >::empty ( void  ) const
inline

Definition at line 100 of file UT_FSASymbolTable.h.

template<typename ITEM_T>
unsigned UT_FSASymbolTable< ITEM_T >::entries ( ) const
inline

Definition at line 99 of file UT_FSASymbolTable.h.

template<typename ITEM_T>
void UT_FSASymbolTable< ITEM_T >::extractStrings ( UT_StringArray list) const
inline

Definition at line 106 of file UT_FSASymbolTable.h.

template<typename ITEM_T>
int UT_FSASymbolTable< ITEM_T >::findSymbol ( const char *  symbol,
ITEM_T *  datap 
) const
inline

Definition at line 70 of file UT_FSASymbolTable.h.

template<typename ITEM_T>
int UT_FSASymbolTable< ITEM_T >::findSymbol ( const UT_StringView symbol,
ITEM_T *  datap 
) const
inline

Definition at line 82 of file UT_FSASymbolTable.h.

template<typename ITEM_T>
int UT_FSASymbolTable< ITEM_T >::findSymbol ( const UT_String str,
ITEM_T *  datap 
) const
inline

Definition at line 94 of file UT_FSASymbolTable.h.

template<typename ITEM_T>
int UT_FSASymbolTable< ITEM_T >::findSymbol ( const UT_StringRef str,
ITEM_T *  datap 
) const
inline

Definition at line 96 of file UT_FSASymbolTable.h.

template<typename ITEM_T>
int64 UT_FSASymbolTable< ITEM_T >::getMemoryUsage ( bool  inclusive) const
inline

Definition at line 117 of file UT_FSASymbolTable.h.

template<typename ITEM_T>
const char* UT_FSASymbolTable< ITEM_T >::getStringReference ( const char *  symbol)
inline

Definition at line 109 of file UT_FSASymbolTable.h.

template<typename ITEM_T>
void UT_FSASymbolTable< ITEM_T >::rebuild ( )
inline

Definition at line 150 of file UT_FSASymbolTable.h.

template<typename ITEM_T>
int UT_FSASymbolTable< ITEM_T >::traverse ( int(*)(ITEM_T &, const char *, void *)  function,
void data 
)
inline

Definition at line 138 of file UT_FSASymbolTable.h.

template<typename ITEM_T>
int UT_FSASymbolTable< ITEM_T >::traverseConst ( int(*)(const ITEM_T &, const char *, void *)  function,
void data 
) const
inline

Definition at line 126 of file UT_FSASymbolTable.h.


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