void decode( const FieldList& fieldList ) |
{ |
if ( fieldList.hasInfo() ) |
{ |
Int16 dictionaryId = fieldList.getInfoDictionaryId(); |
Int16 fieldListNum = fieldList.getInfoFieldListNum(); |
} |
while ( fieldList.forth() ) |
{ |
const FieldEntry& fieldEntry = fieldList.getEntry(); |
if ( fieldEntry.getCode() == Data::BlankEnum ) |
continue; |
switch ( fieldEntry.getLoadType() ) |
{ |
case DataType::AsciiEnum : |
const EmaString& value = fieldEntry.getAscii(); |
break; |
case DataType::IntEnum : |
Int64 value = fieldEntry.getInt(); |
break; |
} |
} |
} |