9 #ifndef IMPCORE_DATA_OBJECT_H
10 #define IMPCORE_DATA_OBJECT_H
12 #include <IMP/core/core_config.h>
15 IMPCORE_BEGIN_NAMESPACE
27 DataObject(
const Data &d, std::string name =
"DataObject %1%")
28 :
Object(name), data_(d) {}
29 const Data &get_data()
const {
return data_; }
30 Data &access_data() {
return data_; }
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Common base class for heavy weight IMP objects.
A shared base class to help in debugging and things.