IMP logo
IMP Reference Guide  2.10.0
The Integrative Modeling Platform
IMP::core::DataObject< Data > Class Template Reference

#include <IMP/core/DataObject.h>

+ Inheritance diagram for IMP::core::DataObject< Data >:

Detailed Description

template<class Data>
class IMP::core::DataObject< Data >

This is a 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 ()
 

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