IMP  2.2.1
The Integrative Modeling Platform
atom_macros.h File Reference

Various important macros for implementing decorators. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define IMP_ATOM_TYPE_INDEX   8974343
 
#define IMP_FORCE_FIELD_PARAMETERS(Name)   IMP_OBJECT_NO_WARNING(Name)
 Define the basic things you need for a ForceFieldParameters. More...
 
#define IMP_HIERARCHY_TYPE_INDEX   90784335
 
#define IMP_MOL2_SELECTOR(Name, selected, show)
 Define the basic things you need for a mol2 selector. More...
 
#define IMP_RESIDUE_TYPE_INDEX   90784334
 

Detailed Description

Copyright 2007-2014 IMP Inventors. All rights reserved.

Definition in file atom_macros.h.

Macro Definition Documentation

#define IMP_FORCE_FIELD_PARAMETERS (   Name)    IMP_OBJECT_NO_WARNING(Name)

In addition to the methods done by all the macros, it declares

  • IMP::Restraint::evaluate()
  • IMP::Restraint::incremental_evaluate() and it defines
  • IMP::Restraint::get_is_incremental() to return true

Definition at line 22 of file atom_macros.h.

#define IMP_MOL2_SELECTOR (   Name,
  selected,
  show 
)
Value:
bool get_is_selected(const std::string& mol2_line) const { selected; } \
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.

In addition to the methods defined/declared by IMP_OBJECT, it defines:

  • IMP::Mol2Selector::get_is_selected() The selected argument should return true or false and use a string called pdb_line.

Definition at line 31 of file atom_macros.h.