12#include <IMP/rmf/rmf_config.h>
13#include <RMF/NodeHandle.h>
14#include <RMF/FileHandle.h>
36class IMPRMFEXPORT LoadLink :
public Object {
40 virtual void do_load(RMF::FileConstHandle fh) = 0;
41 LoadLink(std::string name);
44 void load(RMF::FileConstHandle fh) {
60class IMPRMFEXPORT SaveLink :
public Object {
64 virtual void do_save(RMF::FileHandle hf) = 0;
65 SaveLink(std::string name);
68 void save(RMF::FileHandle fh) {
A shared base class to help in debugging and things.
A nullptr-initialized pointer to an IMP Object.
Object(std::string name)
Construct an object with the given name.
void set_was_used(bool tf) const
Logging and error reporting support.
#define IMP_OBJECT_LOG
Set the log level to the object's log level.
IMP::Vector< IMP::Pointer< SaveLink > > SaveLinks
IMP::Vector< IMP::Pointer< LoadLink > > LoadLinks
Helper macros for implementing IMP Objects.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing lists of object pointers.
#define IMP_REF_COUNTED_NONTRIVIAL_DESTRUCTOR(Name)