IMP Reference Guide
2.5.0
The Integrative Modeling Platform
|
#include <IMP/domino/assignment_containers.h>
The base class for containers of assignments. Assignments are stored in these rather than as Assignments to help increase efficiency as well as provide flexibility as to how and where they are stored.
Definition at line 43 of file assignment_containers.h.
Public Member Functions | |
AssignmentContainer (std::string name="AssignmentContainer %1%") | |
virtual void | add_assignment (const Assignment &a)=0 |
virtual void | add_assignments (const Assignments &asgn)=0 |
virtual Assignment | get_assignment (unsigned int i) const =0 |
virtual Assignments | get_assignments (IntRange ir) const =0 |
virtual Assignments | get_assignments () const =0 |
virtual unsigned int | get_number_of_assignments () const =0 |
virtual Ints | get_particle_assignments (unsigned int i) const =0 |
Get all the assignments for the ith particle. More... | |
Public Member Functions inherited from IMP::Object | |
virtual void | clear_caches () |
CheckLevel | get_check_level () const |
LogLevel | get_log_level () const |
virtual VersionInfo | get_version_info () const |
Get information about the module and version of the object. More... | |
void | set_check_level (CheckLevel l) |
void | set_log_level (LogLevel l) |
Set the logging level used in this object. More... | |
void | set_was_used (bool tf) const |
void | show (std::ostream &out=std::cout) const |
const std::string & | get_name () const |
void | set_name (std::string name) |
virtual std::string | get_type_name () const |
Additional Inherited Members | |
Protected Member Functions inherited from IMP::Object | |
Object (std::string name) | |
Construct an object with the given name. More... | |
virtual void | do_destroy () |
|
pure virtual |
Get all the assignments for the ith particle.
Implemented in IMP::domino::CappedAssignmentContainer, IMP::domino::HeapAssignmentContainer, IMP::domino::RangeViewAssignmentContainer, IMP::domino::ReadAssignmentContainer, IMP::domino::WriteAssignmentContainer, IMP::domino::ReadHDF5AssignmentContainer, IMP::domino::WriteHDF5AssignmentContainer, IMP::domino::SampleAssignmentContainer, IMP::domino::ListAssignmentContainer, and IMP::domino::PackedAssignmentContainer.