9 #ifndef IMPKERNEL_CONTAINER_BASE_H
10 #define IMPKERNEL_CONTAINER_BASE_H
12 #include <IMP/kernel/kernel_config.h>
21 IMPKERNEL_BEGIN_NAMESPACE
46 #if IMP_HAS_CHECKS >= IMP_INTERNAL
55 void set_is_changed(
bool tf);
60 #if !defined(IMP_DOXYGEN) && !defined(SWIG)
62 static bool update_version(
Container *c,
int &version) {
65 return old != version;
78 IMPKERNEL_DEPRECATED_FUNCTION_DECL(2.1)
79 bool get_is_changed()
const;
100 #if !defined(IMP_DOXYGEN)
102 void validate_readable()
const;
103 void validate_writable()
const;
104 void set_is_readable(
bool tf);
105 void set_is_writable(
bool tf);
110 IMPKERNEL_DEPRECATED_METHOD_DECL(2.1)
112 IMPKERNEL_DEPRECATED_METHOD_DEF(
114 "Use IMP::Container::get_all_possible_indexes()"
122 IMPKERNEL_END_NAMESPACE
Various general useful functions for IMP.
Class for adding derivatives from restraints to the model.
IMP::base::Vector< IMP::base::WeakPointer< kernel::ModelObject > > ModelObjectsTemp
int get_contents_version() const
ParticlesTemp get_particles(kernel::Model *m, const ParticleIndexes &ps)
#define IMP_REF_COUNTED_DESTRUCTOR(Name)
Ref counted objects should have private destructors.
ScoreStates maintian invariants in the Model.
IMP::kernel::Container Container
virtual bool get_is_decomposable() const
Abstract class for containers of particles.
Various general useful macros for IMP.
Various general useful macros for IMP.
A nullptr-initialized pointer to an Object.
IMP::kernel::Particle Particle
A shared base class to help in debugging and things.
Class for storing model, its restraints, constraints, and particles.
ModelObjectsTemp do_get_outputs() const
containers don't have outputs