LinkType FeatureHDF5::linkType() const { if (group().hasAttr("link_type")) { string link_type; group().getAttr("link_type", link_type); return linkTypeFromString(link_type); } else { throw MissingAttr("data"); } }
LinkType FeatureFS::linkType() const { if (hasAttr("link_type")) { std::string link_type; getAttr("link_type", link_type); return linkTypeFromString(link_type); } else { throw MissingAttr("data"); } }