33 if (type < 0 || type >= TypeNumber())
return 0;
39 const char *pn[] = {
"P0",
"P1",
"P2",
"P3",
"P4",
"P5",
"P6",
40 "BX",
"BY",
"BZ",
"GRAV",
"CENT",
"unknown"};
42 if (type < 0 || type >= TypeNumber())
return "";
57 vector<CItem>::iterator iter;
64 for (
int i = 0; i < n; i++) {
static const char * LoadTypeName(int type)
std::vector< CItem > ItemList
virtual void Write(class CHECData *hecd)
static int ParamNumber(int type)
virtual bool Read(class CHECData *hecd, char *header_line)
virtual void WriteDataLine()
virtual bool ReadData(int *rcode, const char *fmt,...)
virtual void WriteHeader(const char *name, const char *fmt="",...)
virtual void ClearDataLineBuffer()
virtual void AddDataLineItems(const char *fmt,...)
void cleanup_token(char *s)