30 #define MAX_CUTOFF 1000
46 tprintf(
"Error during read of shapetable pffmtable!\n");
52 const int kMaxLineSize = 100;
53 char line[kMaxLineSize];
54 while (fp->FGets(line, kMaxLineSize) !=
nullptr) {
57 std::istringstream stream(line);
58 stream >> Class >> Cutoff;
62 if (Class.compare(
"NULL") == 0) {
68 Cutoffs[ClassId] = Cutoff;