33 #define REALLY_QUOTE_IT(x) QUOTE_IT(x) 35 #define MAX_CUTOFF 1000 60 tprintf(
"Error during read of shapetable pffmtable!\n");
66 const int kMaxLineSize = 100;
67 char line[kMaxLineSize];
68 while (fp->
FGets(line, kMaxLineSize) !=
nullptr &&
71 if (strcmp(Class,
"NULL") == 0) {
76 Cutoffs[ClassId] = Cutoff;
bool DeSerialize(bool swap, FILE *fp)
uinT16 CLASS_CUTOFF_ARRAY[MAX_NUM_CLASSES]
void ReadNewCutoffs(TFile *fp, CLASS_CUTOFF_ARRAY Cutoffs)
ShapeTable * shape_table_
char * FGets(char *buffer, int buffer_size)
UNICHAR_ID unichar_to_id(const char *const unichar_repr) const
#define REALLY_QUOTE_IT(x)