IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
IMP::rmf::SimpleSaveLink< O > Class Template Referenceabstract

#include <IMP/rmf/simple_links.h>

Inheritance diagram for IMP::rmf::SimpleSaveLink< O >:

Detailed Description

template<class O>
class IMP::rmf::SimpleSaveLink< O >

Manage a link between an IMP object and an RMF node.

Warning: SimpleSaveLink has not been stabilized and is likely to change without notice.

Definition at line 132 of file simple_links.h.

Public Member Functions

void add (RMF::NodeHandle parent, const Vector< Pointer< O > > &os)
Public Member Functions inherited from IMP::Object
CheckLevel get_check_level () const
 get_derived_object (self)
 Return this object cast to the most derived subclass.
LogLevel get_log_level () const
virtual VersionInfo get_version_info () const
 Get information about the module and version of the object.
void set_check_level (CheckLevel l)
void set_log_level (LogLevel l)
 Set the logging level used in this object.
const std::string & get_name () const
 Get the (not necessarily unique) name of this object.
void set_name (std::string name)
virtual std::string get_type_name () const
void set_was_used (bool tf) const
void show (std::ostream &out=std::cout) const
virtual void clear_caches ()

Protected Member Functions

 SimpleSaveLink (std::string name)
void add_link (O *o, RMF::NodeConstHandle nh)
virtual void do_add (O *o, RMF::NodeHandle c)
void do_save (RMF::FileHandle fh) override
virtual void do_save_one (O *o, RMF::NodeHandle nh)=0
virtual RMF::NodeType get_type (O *o) const =0
Protected Member Functions inherited from IMP::Object
 Object (std::string name)
 Construct an object with the given name.
virtual void do_destroy ()

Constructor & Destructor Documentation

◆ SimpleSaveLink()

template<class O>
IMP::rmf::SimpleSaveLink< O >::SimpleSaveLink ( std::string name)
protected

Definition at line 154 of file simple_links.h.

Member Function Documentation

◆ add()

template<class O>
void IMP::rmf::SimpleSaveLink< O >::add ( RMF::NodeHandle parent,
const Vector< Pointer< O > > & os )

Definition at line 157 of file simple_links.h.

◆ add_link()

template<class O>
void IMP::rmf::SimpleSaveLink< O >::add_link ( O * o,
RMF::NodeConstHandle nh )
protected

Definition at line 149 of file simple_links.h.

◆ do_add()

template<class O>
virtual void IMP::rmf::SimpleSaveLink< O >::do_add ( O * o,
RMF::NodeHandle c )
protectedvirtual

Definition at line 147 of file simple_links.h.

◆ do_save()

template<class O>
void IMP::rmf::SimpleSaveLink< O >::do_save ( RMF::FileHandle fh)
overrideprotectedvirtual

Implements IMP::rmf::SaveLink.

Definition at line 138 of file simple_links.h.


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