|
IMP Reference Guide
develop.169ea894ba,2025/11/01
The Integrative Modeling Platform
|
Helper class for creating an IMP object storing some data. More...
#include <IMP/core/DataObject.h>
Inheritance diagram for IMP::core::DataObject< Data >: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 |
| def | get_derived_object |
| Return this object cast to the most derived subclass. More... | |
| 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 () |