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; };
133 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
Index getFormalCharge() const
bool isInBrackets() const
BALL_EXTERN_VARIABLE const double E
Euler's number - base of the natural logarithm.
void setAromatic(bool is_aromatic)
void setIsotope(Size isotope)
const ChiralDef & getChirality() const
std::vector< SPAtom * > connections_
static SmilesParser * current_parser_
void setInBrackets(bool in_brackets)
std::list< Position > ConnectionList
void setFormalCharge(Index charge)
void setChirality(const ChiralDef &chirality)
std::pair< ChiralClass, Position > ChiralDef
std::vector< SPAtom * > all_atoms_
SmilesParser * current_parser