isce3  0.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Namespaces | Functions
Serialization.h File Reference

Serialization utilities using HDF5 API. More...

#include <iostream>
#include <sstream>
#include <isce3/core/DateTime.h>
#include <isce3/io/IH5.h>

Go to the source code of this file.

Namespaces

 isce3
 The isce namespace.
 
 isce3::io
 The isce3::io namespace.
 

Functions

template<typename H5obj >
bool isce3::io::exists (H5obj &h5obj, const std::string &name, const std::string start=".", const std::string type="BOTH")
 Check existence of a dataset or group. More...
 
template<typename H5obj , typename T >
void isce3::io::loadFromH5 (H5obj &h5obj, const std::string &datasetPath, T &v)
 Load scalar dataset from HDF5 file. More...
 
template<typename H5obj , typename T >
void isce3::io::loadFromH5 (H5obj &h5obj, const std::string &datasetPath, std::vector< T > &v)
 Load vector dataset from HDF5 file. More...
 
template<typename H5obj , typename T >
void isce3::io::loadFromH5 (H5obj &h5obj, const std::string &datasetPath, std::valarray< T > &v)
 Load valarray dataset from HDF5 file. More...
 
template<typename H5obj , typename T >
void isce3::io::loadFromH5 (H5obj &h5obj, const std::string &datasetPath, isce3::core::Matrix< T > &m)
 Load Matrix dataset from HDF5 file. More...
 
template<typename H5obj , typename T >
void isce3::io::saveToH5 (H5obj &h5obj, const std::string &datasetPath, const T &val, const std::string &units="")
 Write scalar dataset to HDF5 file. More...
 
template<typename H5obj , typename T >
void isce3::io::saveToH5 (H5obj &h5obj, const std::string &datasetPath, const std::vector< T > &v, const std::string &units="")
 Write vector dataset to HDF5 file. More...
 
template<typename H5obj , typename T >
void isce3::io::saveToH5 (H5obj &h5obj, const std::string &datasetPath, const std::valarray< T > &v, const std::string &units="")
 Write valarray dataset to HDF5 file. More...
 
template<typename H5obj , typename T , size_t S>
void isce3::io::saveToH5 (H5obj &h5obj, const std::string &datasetPath, const std::vector< T > &v, std::array< size_t, S > dims, const std::string &units="")
 Write vector dataset with dimensions to HDF5 file. More...
 
template<typename H5obj , typename T , size_t S>
void isce3::io::saveToH5 (H5obj &h5obj, const std::string &datasetPath, const std::valarray< T > &v, std::array< size_t, S > dims, const std::string &units="")
 Write valarray dataset with dimensions to HDF5 file. More...
 
template<typename H5obj , typename T >
void isce3::io::saveToH5 (H5obj &h5obj, const std::string &datasetPath, const isce3::core::Matrix< T > &mat, const std::string &units="")
 Write Matrix dataset to HDF5 file. More...
 
template<typename H5obj >
std::vector< int > isce3::io::getImageDims (H5obj &h5obj, const std::string &datasetPath)
 Get dimensions of complex imagery from HDF5 file. More...
 
template<typename H5obj >
isce3::core::DateTime isce3::io::getRefEpoch (H5obj &h5obj, const std::string &datasetPath)
 Parse time units in a dataset attribute to get a reference epoch. More...
 
template<typename H5obj >
void isce3::io::setRefEpoch (H5obj &h5obj, const std::string &datasetPath, const isce3::core::DateTime &refEpoch)
 Save reference epoch DateTime as an attribute. More...
 

Detailed Description

Serialization utilities using HDF5 API.


Generated for ISCE3.0 by doxygen 1.8.5.