26 #ifndef _FIELD_DATABASE_HH 27 #define _FIELD_DATABASE_HH 29 #ifndef _INTERPRETATION_TABLE_HH 83 void addByteField(
char const* label, u_int8_t value,
int isSigned);
84 void add2ByteField(
char const* label, u_int16_t value,
int isSigned);
86 void add4ByteField(
char const* label, u_int32_t value,
int isSigned);
94 void outputField(
char const* label,
unsigned numFractionalDigits = 0);
105 char const* defaultResultString);
109 std::unordered_map<char const*, FieldValue*>
fUMap;
std::unordered_map< char const *, FieldValue * > fUMap
void initializeInterpretationTables()
InterpretationTable * newInterpretationTable(char const *interpretedLabel, char const *defaultResultString)
void outputFieldInterpreted(char const *label, char const *interpretedLabel)
void add2ByteDateField(char const *label, u_int16_t value)
void add8ByteTimestampField(char const *label, u_int64_t value, int isInMilliseconds)
void addStringField(char const *label, char const *str)
void addFieldValue(char const *label, FieldValue *fieldValue)
std::unordered_map< char const *, InterpretationTable * > fInterpretationTableMap
void addByteField(char const *label, u_int8_t value, int isSigned)
void add4ByteVersionField(char const *label, u_int32_t value)
void add2ByteField(char const *label, u_int16_t value, int isSigned)
FieldValue(FieldType type, u_int8_t val)
void addFloatField(char const *label, float value)
void outputField(char const *label, unsigned numFractionalDigits=0)
void addDoubleField(char const *label, double value)
void outputFieldAsBoolean(char const *label)
void add4ByteField(char const *label, u_int32_t value, int isSigned)
FieldValue const * lookupFieldValue(char const *label)