IMP Reference Guide
develop.63b38c487d,2024/12/21
The Integrative Modeling Platform
|
Helper class for creating an IMP object storing some data. More...
#include <IMP/core/DataObject.h>
Helper class for creating an IMP object storing some data.
This can be used to, eg, add the data to a particle as part of a cache.
This class is C++ only.
Definition at line 23 of file DataObject.h.
Public Member Functions | |
DataObject (const Data &d, std::string name="DataObject %1%") | |
Data & | access_data () |
const Data & | get_data () const |
IMP_OBJECT_METHODS (DataObject) | |
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 () |