OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
model_check.hh
Go to the documentation of this file.
1 #ifndef OST_CONOP_MODEL_CHECK_HH
2 #define OST_CONOP_MODEL_CHECK_HH
3 
5 #include <ost/conop/diag.hh>
7 namespace ost { namespace conop {
8 
10 public:
12  DiagEngine& diags): lib_(lib), ent_(ent), diags_(diags),
13  checked_unk_res_(false)
14  {}
15  void CheckForUnknownAtoms();
16  void CheckForCompleteness(bool require_hydrogens=false);
17  void CheckForNonStandard();
18  mol::AtomHandleList GetHydrogens();
19  mol::AtomHandleList GetZeroOccupancy();
20 
21  const std::vector<Diag*>& GetDiags() const { return diags_.GetDiags(); }
22 private:
23  CompoundLibPtr lib_;
24  mol::EntityHandle ent_;
25  DiagEngine& diags_;
26  bool checked_unk_res_;
27 };
28 
29 }} /* ost::conop */
30 #endif