IMP logo
IMP Reference Guide  develop.27926d84dc,2024/04/20
The Integrative Modeling Platform
IMP::domino::AssignmentContainer Class Referenceabstract

The base class for containers of assignments. More...

#include <IMP/domino/assignment_containers.h>

+ Inheritance diagram for IMP::domino::AssignmentContainer:

Detailed Description

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 44 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 ()
 

Member Function Documentation


The documentation for this class was generated from the following file: