djiparsetxt
|
#include <InterpretationTable.hh>
Public Member Functions | |
InterpretationTable (char const *defaultResultString=NULL) | |
virtual | ~InterpretationTable () |
void | add (u_int32_t intValue, char const *strValue) |
char const * | lookup (u_int32_t intValue) |
Private Attributes | |
char const * | fDefaultResultString |
std::unordered_map< u_int32_t, char const * > | fUMap |
Definition at line 32 of file InterpretationTable.hh.
InterpretationTable::InterpretationTable | ( | char const * | defaultResultString = NULL | ) |
Definition at line 29 of file InterpretationTable.cpp.
|
virtual |
Definition at line 33 of file InterpretationTable.cpp.
References fDefaultResultString.
void InterpretationTable::add | ( | u_int32_t | intValue, |
char const * | strValue | ||
) |
Definition at line 37 of file InterpretationTable.cpp.
References fUMap.
Referenced by FieldDatabase::initializeInterpretationTables().
char const * InterpretationTable::lookup | ( | u_int32_t | intValue | ) |
Definition at line 41 of file InterpretationTable.cpp.
References fDefaultResultString, and fUMap.
Referenced by FieldDatabase::outputFieldInterpreted().
|
private |
Definition at line 44 of file InterpretationTable.hh.
Referenced by lookup(), and ~InterpretationTable().
|
private |
Definition at line 47 of file InterpretationTable.hh.