IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
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 47 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 () const =0
virtual Assignments get_assignments (IntRange ir) 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.
Public Member Functions inherited from IMP::Object
CheckLevel get_check_level () const
 get_derived_object (self)
 Return this object cast to the most derived subclass.
LogLevel get_log_level () const
virtual VersionInfo get_version_info () const
 Get information about the module and version of the object.
void set_check_level (CheckLevel l)
void set_log_level (LogLevel l)
 Set the logging level used in this object.
const std::string & get_name () const
 Get the (not necessarily unique) name of this object.
void set_name (std::string name)
virtual std::string get_type_name () const
void set_was_used (bool tf) const
void show (std::ostream &out=std::cout) const
virtual void clear_caches ()

Additional Inherited Members

Protected Member Functions inherited from IMP::Object
 Object (std::string name)
 Construct an object with the given name.
virtual void do_destroy ()

Member Function Documentation

◆ get_particle_assignments()


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