Template Function lvr2::hdf5util::getAttribute

Function Documentation

template<typename T, typename HT>
boost::optional<T> lvr2::hdf5util::getAttribute(const HT &g, const std::string &attr_name)

Get a Group-Attributes value.

Template Parameters:
  • HT – HighFive::Group or HighFive::Dataset

  • T

Parameters:
  • g

  • attr_name

Returns:

boost::optional<T>