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>

+ Inheritance diagram for UT_FSASymbolTable< ITEM_T >:

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
 
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 ()
 

Additional Inherited Members

- Protected Member Functions inherited from UT_NonCopyableNS::UT_NonCopyable
 UT_NonCopyable ()=default
 
 ~UT_NonCopyable ()=default
 
 UT_NonCopyable (const UT_NonCopyable &)=delete
 
UT_NonCopyableoperator= (const UT_NonCopyable &)=delete
 

Detailed Description

template<typename ITEM_T>
class UT_FSASymbolTable< ITEM_T >

Definition at line 23 of file UT_FSASymbolTable.h.

Constructor & Destructor Documentation

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

Definition at line 35 of file UT_FSASymbolTable.h.

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

Definition at line 36 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 40 of file UT_FSASymbolTable.h.

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

Definition at line 59 of file UT_FSASymbolTable.h.

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

Definition at line 94 of file UT_FSASymbolTable.h.

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

Definition at line 96 of file UT_FSASymbolTable.h.

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

Definition at line 46 of file UT_FSASymbolTable.h.

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

Definition at line 92 of file UT_FSASymbolTable.h.

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

Definition at line 91 of file UT_FSASymbolTable.h.

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

Definition at line 98 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 66 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 78 of file UT_FSASymbolTable.h.

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

Definition at line 109 of file UT_FSASymbolTable.h.

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

Definition at line 101 of file UT_FSASymbolTable.h.

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

Definition at line 142 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 130 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 118 of file UT_FSASymbolTable.h.


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