|
liborigin ..
|
#include <OriginFile.h>
Public Member Functions | |
| Origin::SpreadColumn & | dataset (std::vector< Origin::SpreadColumn >::size_type ds) const |
| get dataset ds | |
| std::vector< Origin::SpreadColumn >::size_type | datasetCount () const |
| get number of datasets | |
| Origin::Excel & | excel (std::vector< Origin::Excel >::size_type e) const |
| get excel e | |
| std::vector< Origin::Excel >::size_type | excelCount () const |
| get number of excels | |
| Origin::Function & | function (std::vector< Origin::Function >::size_type f) const |
| get function f | |
| std::vector< Origin::Function >::size_type | functionCount () const |
| get number of functions | |
| std::vector< Origin::Function >::difference_type | functionIndex (const std::string &name) const |
| get index (or -1) of function named name | |
| Origin::Graph & | graph (std::vector< Origin::Graph >::size_type g) const |
| get graph g | |
| std::vector< Origin::Graph >::size_type | graphCount () const |
| get number of graphs | |
| Origin::Matrix & | matrix (std::vector< Origin::Matrix >::size_type m) const |
| get matrix m | |
| std::vector< Origin::Matrix >::size_type | matrixCount () const |
| get number of matrices | |
| Origin::Note & | note (std::vector< Origin::Note >::size_type n) const |
| get note n | |
| std::vector< Origin::Note >::size_type | noteCount () const |
| get number of notes | |
| OriginFile (const std::string &fileName) | |
| bool | parse () |
| parse Origin file | |
| const tree< Origin::ProjectNode > * | project () const |
| get project tree | |
| std::string | resultsLogString () const |
| get Results Log | |
| Origin::SpreadSheet & | spread (std::vector< Origin::SpreadSheet >::size_type s) const |
| get spreadsheet s | |
| std::vector< Origin::SpreadSheet >::size_type | spreadCount () const |
| get number of spreadsheets | |
| double | version () const |
| get version of Origin file | |
Private Attributes | |
| unsigned int | buildVersion |
| unsigned int | fileVersion |
| unsigned int | ioError |
| std::unique_ptr< OriginParser > | parser |
|
explicit |
References buildVersion, createOriginAnyParser(), fileVersion, ioError, LOG_PRINT, and parser.
| Origin::SpreadColumn & OriginFile::dataset | ( | std::vector< Origin::SpreadColumn >::size_type | ds | ) | const |
get dataset ds
References parser.
| vector< Origin::SpreadColumn >::size_type OriginFile::datasetCount | ( | ) | const |
| Origin::Excel & OriginFile::excel | ( | std::vector< Origin::Excel >::size_type | e | ) | const |
get excel e
References parser.
| vector< Origin::Excel >::size_type OriginFile::excelCount | ( | ) | const |
| Origin::Function & OriginFile::function | ( | std::vector< Origin::Function >::size_type | f | ) | const |
get function f
References parser.
| vector< Origin::Function >::size_type OriginFile::functionCount | ( | ) | const |
| vector< Origin::Function >::difference_type OriginFile::functionIndex | ( | const std::string & | name | ) | const |
get index (or -1) of function named name
References parser.
| Origin::Graph & OriginFile::graph | ( | std::vector< Origin::Graph >::size_type | g | ) | const |
get graph g
References parser.
| vector< Origin::Graph >::size_type OriginFile::graphCount | ( | ) | const |
| Origin::Matrix & OriginFile::matrix | ( | std::vector< Origin::Matrix >::size_type | m | ) | const |
get matrix m
References parser.
| vector< Origin::Matrix >::size_type OriginFile::matrixCount | ( | ) | const |
| Origin::Note & OriginFile::note | ( | std::vector< Origin::Note >::size_type | n | ) | const |
get note n
References parser.
| vector< Origin::Note >::size_type OriginFile::noteCount | ( | ) | const |
| bool OriginFile::parse | ( | ) |
| const tree< Origin::ProjectNode > * OriginFile::project | ( | ) | const |
get project tree
References parser.
| string OriginFile::resultsLogString | ( | ) | const |
get Results Log
References parser.
| Origin::SpreadSheet & OriginFile::spread | ( | std::vector< Origin::SpreadSheet >::size_type | s | ) | const |
| vector< Origin::SpreadSheet >::size_type OriginFile::spreadCount | ( | ) | const |
| double OriginFile::version | ( | ) | const |
|
private |
Referenced by OriginFile(), and parse().
|
private |
Referenced by OriginFile(), and parse().
|
private |
Referenced by OriginFile(), and parse().
|
private |
Referenced by dataset(), datasetCount(), excel(), excelCount(), function(), functionCount(), functionIndex(), graph(), graphCount(), matrix(), matrixCount(), note(), noteCount(), OriginFile(), parse(), project(), resultsLogString(), spread(), spreadCount(), and version().