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

#include <RMF/HDF5/ConstDataSetD.h>

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

Public Types

typedef DataSetIndexD< D > Index
 
typedef DataSetIndexD< D-1 > RowIndex
 

Public Member Functions

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 Member Functions

 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::ConstDataSetD< 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::HDF5IndexDataSet2D (or RMF.HDF5IndexDataSet2). See the HDF5 manual for more information.

Definition at line 42 of file ConstDataSetD.h.


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