21 #ifndef ORIGIN_ANY_PARSER_H
22 #define ORIGIN_ANY_PARSER_H
25 #include "endianfstream.hh"
36 bool parse()
override;
39 unsigned int readObjectSize();
40 string readObjectAsString(
unsigned int);
41 void readFileVersion();
42 void readGlobalHeader();
43 bool readDataSetElement();
44 bool readWindowElement();
45 bool readLayerElement();
46 unsigned int readAnnotationList();
47 bool readAnnotationElement();
48 bool readCurveElement();
49 bool readAxisBreakElement();
50 bool readAxisParameterElement(
unsigned int);
51 bool readParameterElement();
52 bool readNoteElement();
53 void readProjectTree();
54 unsigned int readFolderTree(tree<ProjectNode>::iterator,
unsigned int);
55 void readProjectLeaf(tree<ProjectNode>::iterator);
56 void readAttachmentList();
57 bool getColumnInfoAndData(
const string&,
unsigned int,
const string&,
unsigned int);
58 void getMatrixValues(
const string&,
unsigned int,
short,
char,
char, vector<Origin::Matrix>::difference_type);
59 void getWindowProperties(
Origin::Window&,
const string&,
unsigned int);
60 void getLayerProperties(
const string&,
unsigned int);
62 void getAnnotationProperties(
const string&,
unsigned int,
const string&,
unsigned int,
const string&,
unsigned int,
const string&,
unsigned int);
63 void getCurveProperties(
const string&,
unsigned int,
const string&,
unsigned int);
64 void getAxisBreakProperties(
const string&,
unsigned int);
65 void getAxisParameterProperties(
const string&,
unsigned int,
int);
66 void getNoteProperties(
const string&,
unsigned int,
const string&,
unsigned int,
const string&,
unsigned int);
67 void getColorMap(
ColorMap&,
const string&,
unsigned int);
68 void getZcolorsMap(
ColorMap&,
const string&,
unsigned int);
69 void getProjectLeafProperties(tree<ProjectNode>::iterator,
const string&,
unsigned int);
70 void getProjectFolderProperties(tree<ProjectNode>::iterator,
const string&,
unsigned int);
71 void outputProjectTree(std::ostream &);
76 return (time_t) floor((jdt - 2440587) * 86400. + 0.5);
85 vector<Origin::SpreadSheet>::difference_type
ispread;
86 vector<Origin::Matrix>::difference_type
imatrix;
87 vector<Origin::Excel>::difference_type
iexcel;
Definition: OriginAnyParser.h:33
iendianfstream file
Definition: OriginAnyParser.h:79
vector< Origin::Excel >::difference_type iexcel
Definition: OriginAnyParser.h:87
streamsize d_file_size
Definition: OriginAnyParser.h:82
streamoff curpos
Definition: OriginAnyParser.h:83
vector< Origin::Matrix >::difference_type imatrix
Definition: OriginAnyParser.h:86
FILE * logfile
Definition: OriginAnyParser.h:80
vector< Origin::SpreadSheet >::difference_type ispread
Definition: OriginAnyParser.h:85
unsigned int objectIndex
Definition: OriginAnyParser.h:84
int igraph
Definition: OriginAnyParser.h:88
time_t doubleToPosixTime(double jdt)
Definition: OriginAnyParser.h:73
Definition: OriginParser.h:42
Definition: OriginObj.h:44
Definition: OriginObj.h:143
Definition: OriginObj.h:78
Definition: OriginObj.h:149