LoadLinks get_load_linkers(RMF::FileConstHandle fh) { LoadLinks ret; typedef std::pair<std::string, int> P; IMP_FOREACH(P kl, known_load_linkers) { if (fh.get_has_associated_data(kl.second)) { ret.push_back(fh.get_associated_data<LoadLinkAssociationType>(kl.second)); } } IMP_LOG_VERBOSE("Found " << ret.size() << " load linkers" << std::endl); return ret; }
bool get_has_linker(RMF::FileConstHandle fh, unsigned int id) { return fh.get_has_associated_data(id); }