Go to the documentation of this file.
5 #ifndef BALL_STRUCTURE_SMILES_PARSER_H
6 #define BALL_STRUCTURE_SMILES_PARSER_H
12 #ifndef BALL_KERNEL_ATOM_H
16 #ifndef BALL_KERNEL_BOND_H
20 #ifndef BALL_KERNEL_SYSTEM_H
87 Size getDefaultValence()
const;
88 Size countRealValences()
const;
100 void setAromatic(
bool is_aromatic) { is_aromatic_ = is_aromatic; };
134 void parse(
const String& s);
138 const System& getSystem()
const;
144 SPAtom* createAtom(
const String& symbol,
bool in_bracket =
false);
154 void addMissingHydrogens();
176 #endif // BALL_STRUCTURE_SMILES_PARSER_H
void setAromatic(bool is_aromatic)
bool isInBrackets() const
SmilesParser * current_parser
void setFormalCharge(Index charge)
const ChiralDef & getChirality() const
std::vector< SPAtom * > connections_
void setInBrackets(bool in_brackets)
void setChirality(const ChiralDef &chirality)
std::list< Position > ConnectionList
const BALL_EXTERN_VARIABLE double E
Euler's number - base of the natural logarithm.
std::pair< ChiralClass, Position > ChiralDef
std::vector< SPAtom * > all_atoms_
static SmilesParser * current_parser_
void setIsotope(Size isotope)
Index getFormalCharge() const