IMP logo
Macros
atom_macros.h File Reference

Various important macros for implementing decorators. More...

Go to the source code of this file.

Macros

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

Detailed Description

Various important macros for implementing decorators.

Copyright 2007-2012 IMP Inventors. All rights reserved.


Macro Definition Documentation

#define IMP_FORCE_FIELD_PARAMETERS (   Name)    IMP_OBJECT(Name)

Define the basic things you need for a ForceFieldParameters.

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
#define IMP_MOL2_SELECTOR (   Name,
  selected,
  show 
)

Define the basic things you need for a mol2 selector.

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.
#define IMP_PDB_SELECTOR (   Name,
  parent,
  selected,
  show 
)

Define the basic things you need for a pdb selector.

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

  • IMP::PDBSelector::get_is_selected() The selected argument should return true or false and use a string called pdb_line.
#define IMP_SIMULATOR (   Name)

Add the methods needed for a Simulator


Generated on Tue May 22 2012 23:33:17 for IMP by doxygen 1.8.1