BALL::SmilesParser Class Reference
#include <BALL/STRUCTURE/smilesParser.h>
List of all members.
|
Classes |
class | SPAtom |
class | SPBond |
struct | State |
Public Types |
enum | ZEIsomerType { NONE,
Z,
E
} |
enum | ChiralClass {
NONCHIRAL,
TH,
AL,
SP,
TB,
OH
} |
enum | { MAX_CONNECTIONS = 100
} |
typedef std::pair< ChiralClass,
Position > | ChiralDef |
typedef std::list< Position > | ConnectionList |
Public Member Functions |
|
| SmilesParser () |
| SmilesParser (const SmilesParser &parser) |
virtual | ~SmilesParser () |
|
void | parse (const String &s) throw (Exception::ParseError) |
const System & | getSystem () const |
|
SPAtom * | createAtom (const String &symbol, bool in_bracket=false) |
void | createBonds (SPAtom *atom, const ConnectionList *list) |
void | createBond (SPAtom *left, SPAtom *right, Index order) |
void | addMissingHydrogens () |
Static Public Attributes |
static State | state |
Protected Attributes |
System | system_ |
std::vector< SPAtom * > | connections_ |
std::vector< SPAtom * > | all_atoms_ |
Static Protected Attributes |
static SmilesParser * | current_parser_ |
Member Typedef Documentation
Member Enumeration Documentation
Constructor & Destructor Documentation
BALL::SmilesParser::SmilesParser |
( |
|
) |
|
BALL::SmilesParser::SmilesParser |
( |
const SmilesParser & |
parser |
) |
|
virtual BALL::SmilesParser::~SmilesParser |
( |
|
) |
[virtual] |
Member Function Documentation
void BALL::SmilesParser::addMissingHydrogens |
( |
|
) |
|
SPAtom* BALL::SmilesParser::createAtom |
( |
const String & |
symbol, |
|
|
bool |
in_bracket = false | |
|
) |
| | |
const System& BALL::SmilesParser::getSystem |
( |
|
) |
const |
Member Data Documentation