IMP  2.0.1
The Integrative Modeling Platform
associations.h File Reference

Handle read/write of Model data from/to files. More...

#include <IMP/rmf/rmf_config.h>
#include "links.h"
#include <IMP/base/Object.h>
#include <IMP/base/Pointer.h>
#include <IMP/base/object_macros.h>
#include <IMP/base/log_macros.h>
#include <RMF/names.h>
+ Include dependency graph for associations.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  IMP
 All IMP::kernel code is brought into the IMP namespace.
 
namespace  IMP::rmf
 See IMP.rmf Overview for more information.
 

Typedefs

typedef base::Object * IMP::rmf::AssociationType
 
typedef base::Pointer< LoadLink > IMP::rmf::LoadLinkAssociationType
 
typedef base::Pointer< SaveLink > IMP::rmf::SaveLinkAssociationType
 

Functions

template<class T >
T * IMP::rmf::get_association (RMF::NodeConstHandle nh)
 
bool IMP::rmf::get_has_linker (RMF::FileConstHandle nh, unsigned int id)
 
LoadLinkAssociationType IMP::rmf::get_load_linker (RMF::FileConstHandle nh, unsigned int id)
 
SaveLinkAssociationType IMP::rmf::get_save_linker (RMF::FileConstHandle nh, unsigned int id)
 
void IMP::rmf::set_association (RMF::NodeConstHandle nh, base::Object *o, bool overwrite=false)
 
void IMP::rmf::set_linker (RMF::FileConstHandle nh, unsigned int id, SaveLinkAssociationType l)
 
void IMP::rmf::set_linker (RMF::FileConstHandle nh, unsigned int id, LoadLinkAssociationType l)
 

Associations

RMF supports tracking associations between an RMF file an native objects. In the IMP case these are IMP::base::Object and we provide some special methods aid in this process.

RMF::NodeConstHandle IMP::rmf::get_node_from_association (RMF::FileConstHandle nh, base::Object *oi)
 
RMF::NodeHandle IMP::rmf::get_node_from_association (RMF::FileHandle nh, base::Object *oi)
 
bool IMP::rmf::get_has_associated_node (RMF::FileConstHandle nh, base::Object *oi)
 

Detailed Description

Copyright 2007-2013 IMP Inventors. All rights reserved.

Definition in file associations.h.