19 #ifndef OST_CONOP_RULE_BASED_HH
20 #define OST_CONOP_RULE_BASED_HH
27 namespace ost {
namespace conop {
40 lib_(
compound_lib), fix_element_(true), strict_hydrogens_(false),
50 strict_hydrogens_(sh), unk_res_treatment_(ur),
51 unk_atom_treatment_(ua)
57 return unk_res_treatment_;
61 return unk_atom_treatment_;
71 return strict_hydrogens_;
75 strict_hydrogens_ = flag;
78 unk_res_treatment_ =
action;
82 unk_atom_treatment_ =
action;
100 void _CheckLib()
const;
104 bool strict_hydrogens_;
ConopAction GetUnkResidueTreatment() const
virtual String ToString() const
RuleBasedProcessor(CompoundLibPtr compound_lib, bool fe, bool sh, ConopAction ur, ConopAction ua, bool bf, bool at, bool cn, bool aa, bool ch, ConopAction zo)
ConopAction GetUnkAtomTreatment() const
void ProcessUnkAtoms(DiagnosticsPtr diags, mol::ResidueHandle res, mol::AtomHandleList unks, mol::AtomHandleList &remaining) const
void SetFixElement(bool flag)
void ProcessUnkResidue(DiagnosticsPtr diags, mol::ResidueHandle res, mol::AtomHandleList &remaining) const
virtual ProcessorPtr Copy() const
void SetUnkAtomTreatment(ConopAction action)
RuleBasedProcessor(CompoundLibPtr compound_lib)
bool GetStrictHydrogens() const
bool GetFixElement() const
virtual void DoProcess(DiagnosticsPtr diags, mol::EntityHandle ent) const
void SetUnkResidueTreatment(ConopAction action)
void SetStrictHydrogens(bool flag)
#define DLLEXPORT_OST_CONOP
boost::shared_ptr< RuleBasedProcessor > RuleBasedProcessorPtr
boost::shared_ptr< Compound > CompoundPtr
boost::shared_ptr< Diagnostics > DiagnosticsPtr
boost::shared_ptr< CompoundLib > CompoundLibPtr
boost::shared_ptr< Processor > ProcessorPtr
mol::AtomHandleList DLLIMPORT GetUnknownAtoms(mol::ResidueHandle res, CompoundPtr compound)
returns all atoms not listed in the specifictaion of compound
std::vector< AtomHandle > AtomHandleList