IMP
2.0.0
The Integrative Modeling Platform
|
The base class for decorators. More...
#include <IMP/kernel/kernel_config.h>
#include "base_types.h"
#include "Object.h"
#include "Pointer.h"
#include "Model.h"
#include "utility.h"
#include "Constraint.h"
#include "internal/utility.h"
#include <IMP/base/utility_macros.h>
#include <IMP/base/Vector.h>
#include <IMP/base/Value.h>
Go to the source code of this file.
Classes | |
class | IMP::kernel::Decorator |
Namespaces | |
namespace | IMP |
All IMP::kernel code is brought into the IMP namespace. | |
namespace | IMP::kernel |
See IMP.kernel Overview for more information. | |
Macros | |
#define | IMP_CHECK_DECORATOR(Name, function) |
Copyright 2007-2013 IMP Inventors. All rights reserved.
Definition in file kernel/Decorator.h.
#define IMP_CHECK_DECORATOR | ( | Name, | |
function | |||
) |
Register a function that can be used to check that the particle is valid with respect to the decorator. The function should take a Particle* as an argument and return a bool. It should throw an exception if something is wrong.
This macro should only be used in a .cpp file.
Definition at line 336 of file kernel/Decorator.h.