RMF
RMF::HDF5::DataSetD< TypeTraits, D > Class Template Reference

#include <RMF/HDF5/DataSetD.h>

+ Inheritance diagram for RMF::HDF5::DataSetD< TypeTraits, D >:

Public Types

typedef DataSetIndexD< D > Index
 
typedef DataSetIndexD< D-1 > RowIndex
 
- Public Types inherited from RMF::HDF5::ConstDataSetD< TypeTraits, D >
typedef DataSetIndexD< D > Index
 
typedef DataSetIndexD< D-1 > RowIndex
 

Public Member Functions

void set_block (const Index &lb, const Index &size, const typename TypeTraits::Types &value)
 Write a rectangular block starting at ln of size size.
 
void set_row (const RowIndex &ijkr, const typename TypeTraits::Types &value)
 
void set_size (const DataSetIndexD< D > &ijk)
 
void set_value (const DataSetIndexD< D > &ijk, typename TypeTraits::Type value)
 
- Public Member Functions inherited from RMF::HDF5::MutableAttributes< ConstDataSetD< TypeTraits, D > >
void set_attribute (std::string name, typename TypeTraits::Types value)
 
void set_int_attribute (std::string nm, const Ints &value)
 
void set_float_attribute (std::string nm, const Floats &value)
 
void set_index_attribute (std::string nm, const Ints &value)
 
void set_char_attribute (std::string nm, std::string value)
 
- Public Member Functions inherited from RMF::HDF5::ConstDataSetD< TypeTraits, D >
TypeTraits::Types get_block (const Index &lb, const Index &size) const
 Read a rectangular block starting at ln of size size.
 
TypeTraits::Types get_row (const RowIndex ijkr) const
 
DataSetIndexD< D > get_size () const
 
TypeTraits::Type get_value (const DataSetIndexD< D > &ijk) const
 
- Public Member Functions inherited from RMF::HDF5::ConstAttributes< Object >
CT copy_to (const CF &cf) const
 
bool get_has_attribute (std::string nm) const
 
TypeTraits::Types get_attribute (std::string name) const
 
Ints get_int_attribute (std::string nm) const
 
Floats get_float_attribute (std::string nm) const
 
Ints get_index_attribute (std::string nm) const
 
std::string get_char_attribute (std::string nm) const
 
- Public Member Functions inherited from RMF::HDF5::Object
File get_file () const
 Get an object for the file containing the object.
 
hid_t get_handle () const
 
std::string get_name () const
 

Protected Types

typedef
DataSetAccessPropertiesD
< TypeTraits, D > 
AccessProperties
 
typedef
DataSetCreationPropertiesD
< TypeTraits, D > 
CreationProperties
 
- Protected Types inherited from RMF::HDF5::ConstDataSetD< TypeTraits, D >
typedef
DataSetAccessPropertiesD
< TypeTraits, D > 
AccessProperties
 
typedef
DataSetCreationPropertiesD
< TypeTraits, D > 
CreationProperties
 

Protected Member Functions

 DataSetD (std::shared_ptr< SharedHandle > parent, std::string name, CreationProperties props)
 
 DataSetD (std::shared_ptr< SharedHandle > parent, std::string name, AccessProperties props)
 
- Protected Member Functions inherited from RMF::HDF5::MutableAttributes< ConstDataSetD< TypeTraits, D > >
 MutableAttributes (const A &h)
 
 MutableAttributes (const A &h, const B &i)
 
 MutableAttributes (const A &h, const B &i, const C &j)
 
 MutableAttributes (const A &h, const B &i, const C &j, const D &k)
 
- Protected Member Functions inherited from RMF::HDF5::ConstDataSetD< TypeTraits, D >
 ConstDataSetD (std::shared_ptr< SharedHandle > parent, std::string name, CreationProperties props)
 
 ConstDataSetD (std::shared_ptr< SharedHandle > parent, std::string name, AccessProperties props)
 
void check_index (const DataSetIndexD< D > &ijk) const
 
const Handleget_data_space () const
 
const Handleget_input_data_space () const
 
hsize_t * get_ones () const
 
const Handleget_row_data_space () const
 
void initialize_handles ()
 
- Protected Member Functions inherited from RMF::HDF5::ConstAttributes< Object >
 ConstAttributes (std::shared_ptr< SharedHandle > h)
 
- Protected Member Functions inherited from RMF::HDF5::Object
 Object (std::shared_ptr< SharedHandle > h)
 
std::shared_ptr< SharedHandleget_shared_handle () const
 
void open (std::shared_ptr< SharedHandle > h)
 

Detailed Description

template<class TypeTraits, unsigned int D>
class RMF::HDF5::DataSetD< TypeTraits, D >

Wrap an HDF5 data set. Typedefs and python types are provided for data sets in 1,2, and 3 dimensions with all the supported types. They are named as RMF::HDF5::IndexDataSet2D (or RMF.HDF5.IndexDataSet2). See the HDF5 manual for more information.

Definition at line 33 of file DataSetD.h.


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