32 #define PT_HYDROPHOBIC 6 39 std::vector<OBSmartsPattern*> _sp;
40 std::vector<std::string> smarts;
41 std::vector<std::string> typ;
53 read_rules(std::string(s));
64 std::vector<OBSmartsPattern*>::iterator i;
65 for (i = _sp.begin();i != _sp.end();++i)
76 void read_rules(
const std::string &infile);
77 void assign_rules(std::vector<std::string> &rules);
78 void assign_types(
OBMol &mol,std::vector<std::string> &atm_typ);
79 void assign_types(
OBMol &mol,std::vector<int> &atm_typ);
80 int type_to_int(
const std::string &type,
bool failOnUndefined=
false);
81 int Istype(
const std::string &type);
Molecule Class.
Definition: mol.h:118
Programmable Atom Typer.
Definition: patty.h:37
patty(char *s)
Definition: patty.h:50
void debug_off()
Definition: patty.h:72
~patty()
Definition: patty.h:62
patty()
Definition: patty.h:46
void debug_on()
Definition: patty.h:68
patty(const std::string &s)
Definition: patty.h:56
Global namespace for all Open Babel code.
Definition: alias.h:22