explicit_mapmaking
 All Classes Files Pages
Functions
io.hpp File Reference

hdf5 and binary io helpers More...

#include "matrix.hpp"
#include <vector>
#include <H5Cpp.h>
#include <string>
Include dependency graph for io.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename T >
void mapmaking::io::PrintMatrix (std::vector< T > matrix, int lda, bool row_major=false)
 
template<typename T >
void mapmaking::io::WriteBinary (std::vector< T > *vec, std::string path)
 
template<typename T >
void mapmaking::io::ReadBinary (std::vector< T > *vec, std::string path)
 
void mapmaking::io::H5ExceptionsPrintOff ()
 
void mapmaking::io::H5ExceptionsPrintOn ()
 
H5File mapmaking::io::OpenReadOnlyHDF5 (std::string file_name)
 
int mapmaking::io::GetDataSetLength (const std::string dataset_name, const H5File &file)
 
int mapmaking::io::GetDataSetLength (const std::string dataset_name, std::string file_name)
 
template<typename T >
void mapmaking::io::LoadDataSet (T *const data, std::string dataset_name, const H5File &file)
 
template<typename T >
void mapmaking::io::LoadDataSet (T *const data, std::string dataset_name, std::string file_name)
 
template<typename T >
std::vector< T > mapmaking::io::LoadDataSet (std::string dataset_name, const H5File &file)
 
template<typename T >
std::vector< T > mapmaking::io::LoadDataSet (std::string dataset_name, std::string file_name)
 
template<typename T >
mapmaking::io::LoadDataSetValue (std::string dataset_name, const H5File &file)
 
template<typename T >
mapmaking::io::LoadDataSetValue (std::string dataset_name, std::string file_name)
 
template<typename T >
void mapmaking::io::SaveDataSet (const T *const data, int data_length, std::string dataset_name, const H5File &file)
 
template<typename T >
void mapmaking::io::SaveDataSet (const T *const data, int data_length, std::string dataset_name, std::string file_name, unsigned int flags)
 
template<typename T >
void mapmaking::io::SaveDataSet (const std::vector< T > &data, std::string dataset_name, const H5File &file)
 
template<typename T >
void mapmaking::io::SaveDataSet (const std::vector< T > &data, std::string dataset_name, std::string file_name, unsigned int flags)
 
template<typename T >
void mapmaking::io::SaveDataSetValue (const T value, std::string dataset_name, const H5File &file)
 
DataType mapmaking::io::DetectDataType (const int data)
 
DataType mapmaking::io::DetectDataType (const float data)
 
DataType mapmaking::io::DetectDataType (const double data)
 

Detailed Description

hdf5 and binary io helpers

Author
Davide Poletti
Date
2015-10-02 Copyright (c) 2015 Davide Poletti dpole.nosp@m.tti@.nosp@m.apc.u.nosp@m.niv-.nosp@m.paris.nosp@m.7.fr