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) |
| StarParser (std::istream &stream, bool items_as_row=false) |
| StarParser (const String &filename, bool items_as_row=false) |
virtual | ~StarParser () |
virtual void | OnEndLoop () |
Real | TryGetReal (const StringRef &data, const String &name) const |
float | TryGetFloat (const StringRef &data, const String &name) const |
std::pair< bool, float > | TryGetFloat (const StringRef &data, const String &name, bool may_fail) const |
int | TryGetInt (const StringRef &data, const String &name) const |
std::pair< bool, int > | TryGetInt (const StringRef &data, const String &name, bool may_fail) const |
bool | TryGetBool (const StringRef &data, const String &name) const |
String | FormatDiagnostic (StarDiagType type, const String &message, int line=-1) const |
void | SetFilename (const String &filename) |
int | GetCurrentLinenum () const |
void | Parse () |
| StarParser (std::istream &stream, bool items_as_row=false) |
| StarParser (const String &filename, bool items_as_row=false) |
virtual | ~StarParser () |
virtual void | OnEndLoop () |
Real | TryGetReal (const StringRef &data, const String &name) const |
float | TryGetFloat (const StringRef &data, const String &name) const |
std::pair< bool, float > | TryGetFloat (const StringRef &data, const String &name, bool may_fail) const |
int | TryGetInt (const StringRef &data, const String &name) const |
std::pair< bool, int > | TryGetInt (const StringRef &data, const String &name, bool may_fail) const |
bool | TryGetBool (const StringRef &data, const String &name) const |
String | FormatDiagnostic (StarDiagType type, const String &message, int line=-1) const |
void | SetFilename (const String &filename) |
int | GetCurrentLinenum () const |
void | Parse () |
Definition at line 40 of file chemdict_parser.hh.