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"); } }
std::string PropertyFS::name() const { std::string name; if (hasAttr("name")) { getAttr("name", name); return name; } else { throw MissingAttr("name"); } }
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"); } }
vector<double> RangeDimensionHDF5::ticks() const { vector<double> ticks; if (group.hasData("ticks")) { group.getData("ticks", ticks); return ticks; } else { throw MissingAttr("ticks"); } }
double SampledDimensionHDF5::samplingInterval() const { double sampling_interval; if (group.hasAttr("sampling_interval")) { group.getAttr("sampling_interval", sampling_interval); return sampling_interval; } else { throw MissingAttr("sampling_interval"); } }