IMP logo
Public Types | Public Member Functions | Protected Member Functions
RMF::HDF5ConstDataSetD< TypeTraits, D > Class Template Reference

Detailed Description

template<class TypeTraits, unsigned int D>
class RMF::HDF5ConstDataSetD< 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.

+ Inheritance diagram for RMF::HDF5ConstDataSetD< TypeTraits, D >:

List of all members.

Public Types

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

Public Member Functions

TypeTraits::Types get_block (const Index &lb, const Index &size) const
 Write a rectangular block starting at ln of size size.
TypeTraits::Types get_row (const RowIndex ijkr) const
HDF5DataSetIndexD< D > get_size () const
TypeTraits::Type get_value (const HDF5DataSetIndexD< D > &ijk) const
 operator Showable () const
void show (std::ostream &out) const
- Public Member Functions inherited from RMF::HDF5ConstAttributes< HDF5Object >
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::HDF5Object
HDF5File get_file () const
 Get an object for the file containing the object.
hid_t get_handle () const
std::string get_name () const

Protected Member Functions

 HDF5ConstDataSetD (HDF5SharedHandle *parent, std::string name, Compression comp=NO_COMPRESSION)
 HDF5ConstDataSetD (HDF5SharedHandle *parent, std::string name, bool)
void check_index (const HDF5DataSetIndexD< D > &ijk) const
const HDF5Handleget_data_space () const
const HDF5Handleget_input_data_space () const
hsize_t * get_ones () const
const HDF5Handleget_row_data_space () const
void initialize_handles ()
- Protected Member Functions inherited from RMF::HDF5ConstAttributes< HDF5Object >
 HDF5ConstAttributes (HDF5SharedHandle *h)
- Protected Member Functions inherited from RMF::HDF5Object
 HDF5Object (HDF5SharedHandle *h)
HDF5SharedHandleget_shared_handle () const
void open (HDF5SharedHandle *h)

Member Function Documentation

template<class TypeTraits, unsigned int D>
TypeTraits::Types RMF::HDF5ConstDataSetD< TypeTraits, D >::get_block ( const Index lb,
const Index size 
) const

Write a rectangular block starting at ln of size size.


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

Generated on Tue May 22 2012 23:33:38 for IMP by doxygen 1.8.1