9 #ifndef IMPRMF_ASSOCIATIONS_H
10 #define IMPRMF_ASSOCIATIONS_H
12 #include <IMP/rmf/rmf_config.h>
18 #include <RMF/names.h>
20 IMPRMF_BEGIN_NAMESPACE
30 void set_association(RMF::NodeConstHandle nh,
34 inline T* get_association(RMF::NodeConstHandle nh) {
38 return dynamic_cast<T*
>(op);
48 IMPRMFEXPORT RMF::NodeConstHandle
49 get_node_from_association(RMF::FileConstHandle nh,
52 IMPRMFEXPORT RMF::NodeHandle get_node_from_association(RMF::FileHandle nh,
55 bool get_has_associated_node(RMF::FileConstHandle nh,
60 IMPRMFEXPORT
bool get_has_linker(RMF::FileConstHandle nh,
64 IMPRMFEXPORT
void set_linker(RMF::FileConstHandle nh,
66 SaveLinkAssociationType l);
68 IMPRMFEXPORT
void set_linker(RMF::FileConstHandle nh,
70 LoadLinkAssociationType l);
72 IMPRMFEXPORT SaveLinkAssociationType get_save_linker(RMF::FileConstHandle nh,
75 IMPRMFEXPORT LoadLinkAssociationType get_load_linker(RMF::FileConstHandle nh,