30 #ifndef ORIGIN_750_PARSER_H
31 #define ORIGIN_750_PARSER_H
38 using namespace Origin;
47 void skipObjectInfo();
48 void readParameters();
49 void readFunction(
unsigned int colpos,
char valuesize,
unsigned int *oldpos);
50 void readSpreadInfo();
52 void readMatrixInfo();
53 void readColumnValues(
unsigned int spread,
unsigned int col,
short data_type,
char valuesize,
unsigned int nr,
bool validColumn =
true);
54 void readMatrixValues(
short data_type,
char data_type_u,
char valuesize,
unsigned int size,
int mIndex = -1);
55 virtual bool readGraphInfo();
56 unsigned int readGraphAxisInfo(
GraphAxis& axis);
61 void readGraphAxisPrefixSuffixInfo(
const string& sec_name,
unsigned int size,
GraphLayer& layer);
62 void readProjectTree();
64 void readWindowProperties(
Window& window,
unsigned int size);
65 virtual void readColorMap(
ColorMap& colorMap);
71 size_t pos = s.find(
",");
72 if (pos != string::npos)
73 s1.replace(pos, 1,
".");
74 return strtod(s1.c_str(), NULL);
80 return (time_t) floor((jdt - 2440587) * 86400. + 0.5);
90 #endif // ORIGIN_750_PARSER_H