Functions | |
template<typename T > | |
void | addArray (HighFive::Group &g, const std::string datasetName, std::vector< size_t > &dim, boost::shared_array< T > &data) |
template<typename T > | |
void | addArray (HighFive::Group &g, const std::string datasetName, const size_t &length, boost::shared_array< T > &data) |
template<typename _Scalar , int _Rows, int _Cols, int _Options, int _MaxRows, int _MaxCols> | |
void | addMatrix (HighFive::Group &group, std::string datasetName, const Eigen::Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols > &mat) |
template<typename T > | |
std::unique_ptr< HighFive::DataSet > | createDataset (HighFive::Group &g, std::string datasetName, const HighFive::DataSpace &dataSpace, const HighFive::DataSetCreateProps &properties) |
bool | exist (std::shared_ptr< HighFive::File > hdf5_file, const std::string &groupName) |
bool | exist (HighFive::Group &group, const std::string &groupName) |
template<typename T > | |
boost::shared_array< T > | getArray (const HighFive::Group &g, const std::string &datasetName, std::vector< size_t > &dim) |
template<typename T > | |
std::vector< size_t > | getDimensions (const HighFive::Group &g, const std::string &datasetName) |
HighFive::Group | getGroup (std::shared_ptr< HighFive::File > hdf5_file, const std::string &groupName, bool create=true) |
HighFive::Group | getGroup (HighFive::Group &g, const std::string &groupName, bool create=true) |
template<typename MatrixT > | |
boost::optional< MatrixT > | getMatrix (const HighFive::Group &g, const std::string &datasetName) |
std::shared_ptr< HighFive::File > | open (const std::string &filename) |
template<typename T > | |
void | setAttribute (HighFive::Group &g, const std::string &attr_name, T &data) |
std::vector< std::string > | splitGroupNames (const std::string &groupName) |
void | writeBaseStructure (std::shared_ptr< HighFive::File > hdf5_file) |
void lvr2::hdf5util::addArray | ( | HighFive::Group & | g, |
const std::string | datasetName, | ||
std::vector< size_t > & | dim, | ||
boost::shared_array< T > & | data | ||
) |
void lvr2::hdf5util::addArray | ( | HighFive::Group & | g, |
const std::string | datasetName, | ||
const size_t & | length, | ||
boost::shared_array< T > & | data | ||
) |
void lvr2::hdf5util::addMatrix | ( | HighFive::Group & | group, |
std::string | datasetName, | ||
const Eigen::Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols > & | mat | ||
) |
std::unique_ptr<HighFive::DataSet> lvr2::hdf5util::createDataset | ( | HighFive::Group & | g, |
std::string | datasetName, | ||
const HighFive::DataSpace & | dataSpace, | ||
const HighFive::DataSetCreateProps & | properties | ||
) |
bool lvr2::hdf5util::exist | ( | std::shared_ptr< HighFive::File > | hdf5_file, |
const std::string & | groupName | ||
) |
Definition at line 136 of file Hdf5Util.cpp.
bool lvr2::hdf5util::exist | ( | HighFive::Group & | group, |
const std::string & | groupName | ||
) |
Definition at line 170 of file Hdf5Util.cpp.
boost::shared_array<T> lvr2::hdf5util::getArray | ( | const HighFive::Group & | g, |
const std::string & | datasetName, | ||
std::vector< size_t > & | dim | ||
) |
std::vector<size_t> lvr2::hdf5util::getDimensions | ( | const HighFive::Group & | g, |
const std::string & | datasetName | ||
) |
HighFive::Group lvr2::hdf5util::getGroup | ( | std::shared_ptr< HighFive::File > | hdf5_file, |
const std::string & | groupName, | ||
bool | create = true |
||
) |
Definition at line 58 of file Hdf5Util.cpp.
HighFive::Group lvr2::hdf5util::getGroup | ( | HighFive::Group & | g, |
const std::string & | groupName, | ||
bool | create = true |
||
) |
Definition at line 98 of file Hdf5Util.cpp.
boost::optional<MatrixT> lvr2::hdf5util::getMatrix | ( | const HighFive::Group & | g, |
const std::string & | datasetName | ||
) |
std::shared_ptr< HighFive::File > lvr2::hdf5util::open | ( | const std::string & | filename | ) |
Definition at line 202 of file Hdf5Util.cpp.
void lvr2::hdf5util::setAttribute | ( | HighFive::Group & | g, |
const std::string & | attr_name, | ||
T & | data | ||
) |
std::vector< std::string > lvr2::hdf5util::splitGroupNames | ( | const std::string & | groupName | ) |
Definition at line 9 of file Hdf5Util.cpp.
void lvr2::hdf5util::writeBaseStructure | ( | std::shared_ptr< HighFive::File > | hdf5_file | ) |
Definition at line 36 of file Hdf5Util.cpp.