#include "HepTuple/Column.h" ZM_BEGIN_NAMESPACE( zmht ) /* namespace zmht { */ // Char32_ct+1 correspond to the size of the ColumcData_t enums // We expect the ColumnData_t enums to be in this order: // Int1_ct, Int2_ct, Int4_ct, Int8_ct, // Uint1_ct, Uint2_ct, Uint4_ct, Uint8_ct, // Float4_ct, Float8_ct, Float16_ct, // Bool_ct, Bool2_ct, Bool4_ct, //compaible to Logical*2, *4 in HBOOK // Char_ct, Char4_ct, Char8_ct, Char12_ct, Char16_ct, // Char20_ct, Char24_ct, Char28_ct, Char32_ct // Prt_ct TypeInfo TypeInformation[ColumnData_t_End] = { { "I*1", sizeof(char) ,1 }, { "I*2", sizeof(short) ,2 }, { "I*4", sizeof(int) ,4 }, { "I*8", sizeof(long) ,8 }, { "U*1", sizeof(unsigned char) ,1 }, { "U*2", sizeof(unsigned short) ,2 }, { "U*4", sizeof(unsigned int) ,4 }, { "U*8", sizeof(unsigned long) ,8 }, { "R*4", sizeof(float) ,4 }, { "R*8", sizeof(double) ,8 }, { "R*16", sizeof(long double) ,16 }, { "L*1", sizeof(bool) ,1 }, { "L*2", sizeof(bool) ,2 }, { "L*4", sizeof(bool) ,4 }, { "O", sizeof(void*) , 4 }, { "C*1", sizeof(char) ,1 }, { "C*4", sizeof(char)*4 ,4 }, { "C*8", sizeof(char)*8 ,8 }, { "C*12", sizeof(char)*12 ,12 }, { "C*16", sizeof(char)*16 ,16 }, { "C*20", sizeof(char)*20 ,20 }, { "C*24", sizeof(char)*24 ,24 }, { "C*28", sizeof(char)*28 ,25 }, { "C*32", sizeof(char)*32 ,32 }, }; ZM_END_NAMESPACE( zmht ) /* } // namespace zmht */