2 #ifndef LVR2_IO_HDF5_VARIANTCHANNELIO_HPP 3 #define LVR2_IO_HDF5_VARIANTCHANNELIO_HPP 18 namespace hdf5features {
58 template<
typename Derived = ConstructType>
62 template<
typename ...Tp>
65 template<
typename ...Tp>
68 template<
typename VariantChannelT>
69 boost::optional<VariantChannelT> load(std::string groupName, std::string datasetName);
71 template<
typename VariantChannelT>
72 boost::optional<VariantChannelT> load(
HighFive::Group& group, std::string datasetName);
74 template<
typename VariantChannelT>
75 boost::optional<VariantChannelT> loadVariantChannel(std::string groupName, std::string datasetName);
79 template<
typename VariantChannelT>
84 template<
typename ...Tp>
86 std::string datasetName,
90 Derived* m_file_access =
static_cast<Derived*
>(
this);
99 template<
typename BaseIO>
106 using type =
typename deps::template add_features<hdf5features::VariantChannelIO>::type;
116 #include "VariantChannelIO.tcc" 118 #endif // LVR2_IO_HDF5_VARIANTCHANNELIO_HPP
Hdf5IO Feature for handling VariantChannel related IO.
Interface specification for low-level io. All read elements are stored in linear arrays.
Helper class how to construct a IO feature with its dependencies.
typename Hdf5Construct< hdf5features::ChannelIO, BaseIO >::type deps
Hdf5IO Feature for handling VariantChannel related IO.
typename Derived::template add_features< Feature >::type type
typename deps::template add_features< hdf5features::VariantChannelIO >::type type