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

#include <IMP/rmf/simple_links.h>

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

Detailed Description

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

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

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

Definition at line 32 of file simple_links.h.

Public Member Functions

Vector< Pointer< O > > create (RMF::NodeConstHandle rt)
Vector< Pointer< O > > create (RMF::NodeConstHandle rt, Model *m)
void link (RMF::NodeConstHandle rt, const Vector< Pointer< O > > &ps)
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

 SimpleLoadLink (std::string name)
void add_link (O *o, RMF::NodeConstHandle nh)
virtual void do_add_link (O *, RMF::NodeConstHandle)
virtual O * do_create (RMF::NodeConstHandle)
virtual O * do_create (RMF::NodeConstHandle, Model *)
void do_load (RMF::FileConstHandle fh) override
virtual void do_load_one (RMF::NodeConstHandle nh, O *o)=0
virtual bool get_is (RMF::NodeConstHandle nh) 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

◆ SimpleLoadLink()

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

Definition at line 56 of file simple_links.h.

Member Function Documentation

◆ add_link()

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

Definition at line 46 of file simple_links.h.

◆ create() [1/2]

template<class O>
Vector< Pointer< O > > IMP::rmf::SimpleLoadLink< O >::create ( RMF::NodeConstHandle rt)

Create all the entities under the passed root.

Definition at line 60 of file simple_links.h.

◆ create() [2/2]

template<class O>
Vector< Pointer< O > > IMP::rmf::SimpleLoadLink< O >::create ( RMF::NodeConstHandle rt,
Model * m )

Create all the entities under the passed root.

Definition at line 80 of file simple_links.h.

◆ do_add_link()

template<class O>
virtual void IMP::rmf::SimpleLoadLink< O >::do_add_link ( O * ,
RMF::NodeConstHandle  )
protectedvirtual

Definition at line 45 of file simple_links.h.

◆ do_create() [1/2]

template<class O>
virtual O * IMP::rmf::SimpleLoadLink< O >::do_create ( RMF::NodeConstHandle )
protectedvirtual

Definition at line 52 of file simple_links.h.

◆ do_create() [2/2]

template<class O>
virtual O * IMP::rmf::SimpleLoadLink< O >::do_create ( RMF::NodeConstHandle ,
Model *  )
protectedvirtual

Definition at line 53 of file simple_links.h.

◆ do_load()

template<class O>
void IMP::rmf::SimpleLoadLink< O >::do_load ( RMF::FileConstHandle fh)
overrideprotectedvirtual

Implements IMP::rmf::LoadLink.

Definition at line 38 of file simple_links.h.

◆ link()

template<class O>
void IMP::rmf::SimpleLoadLink< O >::link ( RMF::NodeConstHandle rt,
const Vector< Pointer< O > > & ps )

Definition at line 100 of file simple_links.h.


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