#include <chemdict_parser.hh>
Inherits ost::io::StarParser, and ost::io::StarParser.
Public Member Functions | |
ChemdictParser (std::istream &stream, conop::Compound::Dialect dialect) | |
virtual bool | OnBeginData (const StringRef &data_name) |
virtual bool | OnBeginLoop (const StarLoopDesc &header) |
virtual void | OnDataRow (const StarLoopDesc &header, const std::vector< StringRef > &columns) |
virtual void | OnDataItem (const StarDataItem &item) |
virtual void | OnEndData () |
void | SetCompoundLib (const conop::CompoundLibPtr &lib) |
ChemdictParser (std::istream &stream, conop::Compound::Dialect dialect) | |
virtual bool | OnBeginData (const StringRef &data_name) |
virtual bool | OnBeginLoop (const StarLoopDesc &header) |
virtual void | OnDataRow (const StarLoopDesc &header, const std::vector< StringRef > &columns) |
virtual void | OnDataItem (const StarDataItem &item) |
virtual void | OnEndData () |
void | SetCompoundLib (const conop::CompoundLibPtr &lib) |
Definition at line 41 of file chemdict_parser.hh.
ChemdictParser | ( | std::istream & | stream, | |
conop::Compound::Dialect | dialect | |||
) | [inline] |
Definition at line 43 of file chemdict_parser.hh.
ChemdictParser | ( | std::istream & | stream, | |
conop::Compound::Dialect | dialect | |||
) | [inline] |
Definition at line 43 of file chemdict_parser.hh.
virtual bool OnBeginData | ( | const StringRef & | data_name | ) | [virtual] |
invoked when a new data control structure is encountered
Reimplemented from StarParser.
virtual bool OnBeginData | ( | const StringRef & | data_name | ) | [virtual] |
invoked when a new data control structure is encountered
Reimplemented from StarParser.
virtual bool OnBeginLoop | ( | const StarLoopDesc & | header | ) | [virtual] |
called when a loop is encountered
Reimplemented from StarParser.
virtual bool OnBeginLoop | ( | const StarLoopDesc & | header | ) | [virtual] |
called when a loop is encountered
Reimplemented from StarParser.
virtual void OnDataItem | ( | const StarDataItem & | item | ) | [virtual] |
invoked when a data item is encountered
Reimplemented from StarParser.
virtual void OnDataItem | ( | const StarDataItem & | item | ) | [virtual] |
invoked when a data item is encountered
Reimplemented from StarParser.
virtual void OnDataRow | ( | const StarLoopDesc & | header, | |
const std::vector< StringRef > & | columns | |||
) | [virtual] |
invoked when a data row in a loop is encountered.
header | describes the row format | |
columns | contains the data columns |
Reimplemented from StarParser.
virtual void OnDataRow | ( | const StarLoopDesc & | header, | |
const std::vector< StringRef > & | columns | |||
) | [virtual] |
invoked when a data row in a loop is encountered.
header | describes the row format | |
columns | contains the data columns |
Reimplemented from StarParser.
virtual void OnEndData | ( | ) | [virtual] |
called when leaving a datasection. Will only be invoked when OnBeginData() returned true.
Reimplemented from StarParser.
virtual void OnEndData | ( | ) | [virtual] |
called when leaving a datasection. Will only be invoked when OnBeginData() returned true.
Reimplemented from StarParser.
void SetCompoundLib | ( | const conop::CompoundLibPtr & | lib | ) | [inline] |
Definition at line 62 of file chemdict_parser.hh.
void SetCompoundLib | ( | const conop::CompoundLibPtr & | lib | ) | [inline] |
Definition at line 62 of file chemdict_parser.hh.