Go to the documentation of this file.
45 double version()
const;
47 vector<Origin::SpreadColumn>::size_type datasetCount()
const;
50 vector<Origin::SpreadSheet>::size_type spreadCount()
const;
53 vector<Origin::Matrix>::size_type matrixCount()
const;
56 vector<Origin::Function>::size_type functionCount()
const;
57 vector<Origin::Function>::difference_type functionIndex(
const string& name)
const;
60 vector<Origin::Graph>::size_type graphCount()
const;
61 Origin::Graph& graph(vector<Origin::Graph>::size_type g)
const;
63 vector<Origin::Note>::size_type noteCount()
const;
64 Origin::Note& note(vector<Origin::Note>::size_type n)
const;
66 vector<Origin::Excel>::size_type excelCount()
const;
67 Origin::Excel& excel(vector<Origin::Excel>::size_type e)
const;
69 const tree<Origin::ProjectNode>* project()
const;
70 string resultsLogString()
const;
73 unsigned int fileVersion, buildVersion,
ioError;
83 #endif // ORIGIN_FILE_H
Definition: OriginFile.h:39
#define LIBORIGIN_VERSION_BUGFIX
Definition: config.h:34
unsigned int liboriginVersionMajor()
Definition: OriginFile.cpp:263
OriginParser * createOriginAnyParser(const string &fileName)
Definition: OriginAnyParser.cpp:176
vector< Origin::Function >::difference_type functionIndex(const string &name) const
get index (or -1) of function named name
Definition: OriginFile.cpp:214
vector< Origin::Matrix >::size_type matrixCount() const
get number of matrices
Definition: OriginFile.cpp:199
vector< Origin::SpreadSheet >::size_type spreadCount() const
get number of spreadsheets
Definition: OriginFile.cpp:189
unsigned int liboriginVersionMajor()
Definition: OriginFile.cpp:263
Definition: OriginObj.h:288
unsigned int ioError
Definition: OriginFile.h:73
Definition: OriginObj.h:351
Definition: OriginObj.h:957
unsigned int liboriginVersion()
Definition: OriginFile.cpp:261
Origin::SpreadColumn & dataset(vector< Origin::SpreadColumn >::size_type ds) const
get dataset ds
Definition: OriginFile.cpp:184
vector< Origin::Excel >::size_type excelCount() const
get number of excels
Definition: OriginFile.cpp:244
Definition: OriginObj.h:366
Origin::Function & function(vector< Origin::Function >::size_type f) const
get function f
Definition: OriginFile.cpp:219
string liboriginVersionString()
Definition: OriginFile.cpp:259
Origin::SpreadSheet & spread(vector< Origin::SpreadSheet >::size_type s) const
get spreadsheet s
Definition: OriginFile.cpp:194
#define LIBORIGIN_VERSION_MINOR
Definition: config.h:33
const tree< Origin::ProjectNode > * project() const
get project tree
Definition: OriginFile.cpp:174
unsigned int liboriginVersionMinor()
Definition: OriginFile.cpp:265
unsigned int liboriginVersionBugfix()
Definition: OriginFile.cpp:267
#define LOG_PRINT(logfile,...)
Definition: OriginParser.h:38
string resultsLogString() const
get Results Log
Definition: OriginFile.cpp:254
OriginFile(const string &fileName)
Definition: OriginFile.cpp:35
unsigned int buildVersion
Definition: OriginFile.h:73
Definition: OriginObj.h:303
vector< Origin::Function >::size_type functionCount() const
get number of functions
Definition: OriginFile.cpp:209
Definition: OriginObj.h:978
vector< Origin::Graph >::size_type graphCount() const
get number of graphs
Definition: OriginFile.cpp:224
bool parse()
parse Origin file
Definition: OriginFile.cpp:160
unsigned int liboriginVersion()
Definition: OriginFile.cpp:261
vector< Origin::Note >::size_type noteCount() const
get number of notes
Definition: OriginFile.cpp:234
double version() const
get version of Origin file
Definition: OriginFile.cpp:169
Origin::Matrix & matrix(vector< Origin::Matrix >::size_type m) const
get matrix m
Definition: OriginFile.cpp:204
#define LIBORIGIN_VERSION_MAJOR
Definition: config.h:32
Definition: OriginObj.h:245
string liboriginVersionString()
Definition: OriginFile.cpp:259
unsigned int liboriginVersionMinor()
Definition: OriginFile.cpp:265
unsigned int fileVersion
Definition: OriginFile.h:73
Origin::Note & note(vector< Origin::Note >::size_type n) const
get note n
Definition: OriginFile.cpp:239
vector< Origin::SpreadColumn >::size_type datasetCount() const
get number of datasets
Definition: OriginFile.cpp:179
Origin::Graph & graph(vector< Origin::Graph >::size_type g) const
get graph g
Definition: OriginFile.cpp:229
unique_ptr< OriginParser > parser
Definition: OriginFile.h:74
#define LIBORIGIN_VERSION
Definition: config.h:35
Origin::Excel & excel(vector< Origin::Excel >::size_type e) const
get excel e
Definition: OriginFile.cpp:249
unsigned int liboriginVersionBugfix()
Definition: OriginFile.cpp:267
#define LIBORIGIN_VERSION_STRING
Definition: config.h:38