Classes | Functions
o2scl_hdf Namespace Reference

The O2scl namespace for I/O with HDF.

Classes

class  cloud_file
 Read a file and download from a URL if necessary. More...
 
class  hdf_file
 Store data in an O2scl compatible HDF5 file. More...
 
struct  iterate_parms
 An internal structure to pass information to and from iterate_match_type() and iterate_match_name() More...
 

Functions

template<class vec_t >
void hdf_input (hdf_file &hf, o2scl::table< vec_t > &t, std::string name)
 Input a o2scl::table object from a hdf_file. More...
 
void hdf_output (hdf_file &hf, o2scl::table< std::vector< double > > &t, std::string name)
 
template<class vec_t >
void hdf_input_data (hdf_file &hf, o2scl::table< vec_t > &t)
 Internal function for inputting a o2scl::table object.
 
void hdf_output_data (hdf_file &hf, o2scl::table< std::vector< double > > &t)
 
void hdf_input (hdf_file &hf, o2scl::table3d &h, std::string name="")
 Input a o2scl::table3d object from a hdf_file.
 
void hdf_output (hdf_file &hf, o2scl::table3d &h, std::string name)
 Output a o2scl::table3d object to a hdf_file.
 
template<class vec_t >
void hdf_input (hdf_file &hf, o2scl::table_units< vec_t > &t, std::string name)
 Input a o2scl::table_units object from a hdf_file. More...
 
void hdf_output (hdf_file &hf, o2scl::table_units< std::vector< double > > &t, std::string name)
 
template<class vec_t >
void hdf_input_data (hdf_file &hf, o2scl::table_units< vec_t > &t)
 Internal function for inputting a o2scl::table_units object.
 
void hdf_output_data (hdf_file &hf, o2scl::table_units< std::vector< double > > &t)
 
template<class vec_t , class vec_size_t >
void hdf_input (hdf_file &hf, o2scl::tensor_grid< vec_t, vec_size_t > &t, std::string name)
 
template<class vec_t , class vec_size_t >
void hdf_output (hdf_file &hf, o2scl::tensor_grid< vec_t, vec_size_t > &t, std::string name)
 
void hdf_input (hdf_file &hf, o2scl::uniform_grid< double > &h, std::string name="")
 Input a o2scl::uniform_grid object from a hdf_file.
 
void hdf_output (hdf_file &hf, o2scl::uniform_grid< double > &h, std::string name)
 Output a o2scl::uniform_grid object to a hdf_file.
 
void hdf_output (hdf_file &hf, o2scl::table<> &t, std::string name)
 Output a o2scl::table object to a hdf_file.
 
void hdf_output_data (hdf_file &hf, o2scl::table<> &t)
 Internal function for outputting a o2scl::table object.
 
void hdf_output (hdf_file &hf, o2scl::table_units<> &t, std::string name)
 Output a o2scl::table_units object to a hdf_file.
 
void hdf_output_data (hdf_file &hf, o2scl::table_units<> &t)
 Internal function for outputting a o2scl::table_units object.
 
void hdf_output (hdf_file &hf, o2scl::hist &h, std::string name)
 Output a o2scl::hist object to a hdf_file.
 
void hdf_input (hdf_file &hf, o2scl::hist &h, std::string name="")
 Input a o2scl::hist object from a hdf_file.
 
void hdf_output (hdf_file &hf, o2scl::hist_2d &h, std::string name)
 Output a o2scl::hist_2d object to a hdf_file.
 
void hdf_input (hdf_file &hf, o2scl::hist_2d &h, std::string name="")
 Input a o2scl::hist_2d object from a hdf_file.
 
void hdf_output (hdf_file &hf, o2scl::expval_scalar &h, std::string name)
 Output a o2scl::expval_scalar object to a hdf_file.
 
void hdf_input (hdf_file &hf, o2scl::expval_scalar &h, std::string name="")
 Input a o2scl::expval_scalar object from a hdf_file.
 
void hdf_output (hdf_file &hf, o2scl::expval_vector &h, std::string name)
 Output a o2scl::expval_vector object to a hdf_file.
 
void hdf_input (hdf_file &hf, o2scl::expval_vector &h, std::string name="")
 Input a o2scl::expval_vector object from a hdf_file.
 
void hdf_output (hdf_file &hf, o2scl::expval_matrix &h, std::string name)
 Output a o2scl::expval_matrix object to a hdf_file.
 
void hdf_input (hdf_file &hf, o2scl::expval_matrix &h, std::string name="")
 Input a o2scl::expval_matrix object from a hdf_file.
 
void hdf_output (hdf_file &hf, std::vector< o2scl::contour_line > &cl, std::string name)
 Output a vector of o2scl::contour_line objects to a hdf_file.
 
void hdf_input (hdf_file &hf, std::vector< o2scl::contour_line > &cl, std::string name="")
 Input a vector of o2scl::contour_line objects from a hdf_file.
 
void hdf_output (hdf_file &hf, std::vector< o2scl::edge_crossings > &ec, std::string name)
 Output a vector of o2scl::edge_crossings objects to a hdf_file.
 
void hdf_input (hdf_file &hf, std::vector< o2scl::edge_crossings > &ec, std::string name="")
 Input a vector of o2scl::edge_crossings objects from a hdf_file.
 
void hdf_output (hdf_file &hf, o2scl::tensor_grid< std::vector< double >, std::vector< size_t > > &t, std::string name)
 Output a o2scl::tensor_grid object to a hdf_file.
 
void hdf_input (hdf_file &hf, o2scl::tensor_grid< std::vector< double >, std::vector< size_t > > &t, std::string name="")
 Input a o2scl::tensor_grid object from a hdf_file.
 
Helper functions
int iterate_match_type (hid_t loc, const char *name, const H5L_info_t *inf, void *op_data)
 Look at location loc in an HDF file for an O2scl object of a specified type. More...
 
int iterate_match_name (hid_t loc, const char *name, const H5L_info_t *inf, void *op_data)
 Look at location loc in an HDF file for an O2scl object with a specified name. More...
 

Function Documentation

◆ hdf_input() [1/2]

template<class vec_t >
void o2scl_hdf::hdf_input ( hdf_file hf,
o2scl::table_units< vec_t > &  t,
std::string  name 
)

Definition at line 181 of file hdf_io.h.

◆ hdf_input() [2/2]

template<class vec_t >
void o2scl_hdf::hdf_input ( hdf_file hf,
o2scl::table< vec_t > &  t,
std::string  name 
)

Definition at line 59 of file hdf_io.h.

◆ iterate_match_name()

int o2scl_hdf::iterate_match_name ( hid_t  loc,
const char *  name,
const H5L_info_t *  inf,
void *  op_data 
)

This is used by hdf_file::find_group_by_name() where op_data is a pointer to an object of type iterate_parms to look for O2scl objects with a specified name without knowing the type.

◆ iterate_match_type()

int o2scl_hdf::iterate_match_type ( hid_t  loc,
const char *  name,
const H5L_info_t *  inf,
void *  op_data 
)

This is used by hdf_file::find_group_by_type() where op_data is a pointer to an object of type iterate_parms to look for O2scl objects of a specified type without knowing the group name.

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).