Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | List of all members
core::chemical::sdf::CtabV3000Parser Class Reference

#include <CtabV3000Parser.hh>

Inheritance diagram for core::chemical::sdf::CtabV3000Parser:
Inheritance graph
[legend]

Public Member Functions

 ~CtabV3000Parser () override
 
bool parse (std::istream &tablein, std::string const &headerline, MolFileIOMolecule &molecule) override
 
- Public Member Functions inherited from core::chemical::sdf::CtabParserBase
 CtabParserBase ()
 
virtual ~CtabParserBase ()
 

Private Member Functions

virtual bool parse_atom_line (std::string line, MolFileIOAtom &atom)
 
virtual bool parse_bond_line (std::string line, MolFileIOBond &bond)
 
void getline (std::istream &istream, std::string line) const
 Having a '-' at the end of the line is a continuation character for V3000 sdf files. More...
 
void splitkv (std::string const &kvpair, std::string &key, std::string &value) const
 Split a key value pair on the first equals sign. More...
 

Constructor & Destructor Documentation

core::chemical::sdf::CtabV3000Parser::~CtabV3000Parser ( )
inlineoverride

Member Function Documentation

void core::chemical::sdf::CtabV3000Parser::getline ( std::istream &  istream,
std::string  line 
) const
private

Having a '-' at the end of the line is a continuation character for V3000 sdf files.

Referenced by parse().

bool core::chemical::sdf::CtabV3000Parser::parse ( std::istream &  tablein,
std::string const &  headerline,
MolFileIOMolecule molecule 
)
overridevirtual
bool core::chemical::sdf::CtabV3000Parser::parse_atom_line ( std::string  line,
MolFileIOAtom atom 
)
privatevirtual
bool core::chemical::sdf::CtabV3000Parser::parse_bond_line ( std::string  line,
MolFileIOBond bond 
)
privatevirtual
void core::chemical::sdf::CtabV3000Parser::splitkv ( std::string const &  kvpair,
std::string &  key,
std::string &  value 
) const
private

Split a key value pair on the first equals sign.

Referenced by parse_atom_line().


The documentation for this class was generated from the following files: