Store the assignments in an HDF5DataSet. Make sure to delete this container before trying to read from the same data set (unless you pass the data set explicitly, in which case it may be OK).
The format on disk should not, yet, be considered stable.
Examples: interactive with containers
Inheritance diagram for IMP::domino::WriteHDF5AssignmentContainer:Public Member Functions | |
| WriteHDF5AssignmentContainer (RMF::HDF5Group parent, const Subset &s, const ParticlesTemp &all_particles, std::string name) | |
| WriteHDF5AssignmentContainer (RMF::HDF5IndexDataSet2D dataset, const Subset &s, const ParticlesTemp &all_particles, std::string name) | |
| void | set_cache_size (unsigned int words) |
Public Member Functions inherited from IMP::domino::AssignmentContainer | |
| AssignmentContainer (std::string name="AssignmentsContainer %1%") | |
| virtual void | add_assignment (const Assignment &a)=0 |
| virtual void | add_assignments (const Assignments &as)=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. | |
Public Member Functions inherited from IMP::base::Object | |
| std::size_t | __hash__ () const |
| virtual std::string | get_type_name () const =0 |
| Return a string identifying the type of the object. | |
| virtual IMP::base::VersionInfo | get_version_info () const =0 |
| 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. | |
| 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) |
Static Public Member Functions | |
|
static WriteHDF5AssignmentContainer * | get_from (IMP::base::Object *o) |