19 #ifndef OST_CONOP_PROCESSOR_HH
20 #define OST_CONOP_PROCESSOR_HH
26 namespace ost {
namespace conop {
58 bool strict_hydrogens)
const;
60 bool fix_element)
const;
70 assign_torsions_(at), connect_(cn), connect_aa_(aa),
71 zero_occ_treatment_(zo) {}
73 assign_torsions_(true), connect_(true), connect_aa_(true),
83 assign_torsions_ = flag;
86 return assign_torsions_;
96 return check_bond_feasibility_;
101 check_bond_feasibility_ = flag;
106 return zero_occ_treatment_;
110 zero_occ_treatment_ =
action;
112 virtual String ToString()
const = 0;
114 String OptionsToString()
const;
116 bool check_bond_feasibility_;
117 bool assign_torsions_;
150 bool strict_hydrogens=
false);
void SetCheckBondFeasibility(bool flag)
void SetConnectAminoAcids(bool c)
virtual bool BeginProcessing(DiagnosticsPtr diags, mol::EntityHandle ent) const
#define DLLEXPORT_OST_CONOP
boost::shared_ptr< Processor > ProcessorPtr
bool GetAssignTorsions() const
bool GetCheckBondFeasibility() const
boost::shared_ptr< Diagnostics > DiagnosticsPtr
void SetAssignTorsions(bool flag)
std::vector< ResidueHandle > ResidueHandleList
void DLLIMPORT AssignBackboneTorsions(mol::ChainHandle chain)
assigns phi/psi/omega to all residues marked peptide-linking of the chain
virtual bool EndProcessing(DiagnosticsPtr diags, mol::EntityHandle ent) const
Processor(bool bf, bool at, bool cn, bool aa, ConopAction zo)
String DLLIMPORT StringFromConopAction(ConopAction action)
void SetZeroOccTreatment(ConopAction action)
mol::AtomHandleList DLLIMPORT GetUnknownAtomsOfResidue(mol::ResidueHandle residue, CompoundPtr compound, bool strict_hydrogens=false)
boost::shared_ptr< Compound > CompoundPtr
void SetConnect(bool connect)
ConopAction GetZeroOccTreatment() const
bool GetConnectAminoAcids() const
ConopAction DLLIMPORT ConopActionFromString(const String &name)
bool DLLIMPORT IsBondFeasible(const mol::AtomHandle &, const mol::AtomHandle &)
std::vector< AtomHandle > AtomHandleList
mol::ChemClass DLLIMPORT GuessChemClass(mol::ResidueHandle res)
guess chemclass based on atoms of residue
String DLLIMPORT GuessAtomElement(const String &atom_name, bool hetatm, int atom_count)
guess element of atom based on name and hetatm flag