OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
HDF5_writer< VECTOR_DIST > Class Reference

Detailed Description

Definition at line 16 of file HDF5_writer_vd.hpp.

Public Member Functions

template<typename vector_pos_type , typename vector_prp_type >
void save (const std::string &filename, const vector_pos_type &v_pos, const vector_prp_type &v_prp) const
 
template<typename T >
hid_t getType ()
 Return the equivalent HDF5 type for T.
 
template<typename value_type >
void addAttributeHDF5 (hid_t dataset_id, std::string name_, value_type att_)
 It add an attribute to an already opened file.
 
template<typename value_type >
void addAttributeHDF5 (std::string filename, std::string name_, value_type att_)
 It add an attribute to an already opened file.
 

Member Function Documentation

◆ addAttributeHDF5() [1/2]

template<typename value_type >
void HDF5_writer< VECTOR_DIST >::addAttributeHDF5 ( hid_t  dataset_id,
std::string  name_,
value_type  att_ 
)
inline

It add an attribute to an already opened file.

Parameters
dataset_iddataset_id
name_name of the attribute
att_attribute value

Definition at line 192 of file HDF5_writer_vd.hpp.

◆ addAttributeHDF5() [2/2]

template<typename value_type >
void HDF5_writer< VECTOR_DIST >::addAttributeHDF5 ( std::string  filename,
std::string  name_,
value_type  att_ 
)
inline

It add an attribute to an already opened file.

Parameters
dataset_iddataset_id
name_name of the attribute
att_attribute value

Definition at line 214 of file HDF5_writer_vd.hpp.

◆ getType()

template<typename T >
hid_t HDF5_writer< VECTOR_DIST >::getType ( )
inline

Return the equivalent HDF5 type for T.

Returns
The HDF5 type equivalent to T

Definition at line 169 of file HDF5_writer_vd.hpp.

◆ save()

template<typename vector_pos_type , typename vector_prp_type >
void HDF5_writer< VECTOR_DIST >::save ( const std::string &  filename,
const vector_pos_type &  v_pos,
const vector_prp_type &  v_prp 
) const
inline

Definition at line 21 of file HDF5_writer_vd.hpp.


The documentation for this class was generated from the following file: