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

Detailed Description

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

List of all members.

Public Types

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

Public Member Functions

 operator Showable () const
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 HDF5DataSetIndexD< D > &ijk)
void set_value (const HDF5DataSetIndexD< D > &ijk, typename TypeTraits::Type value)
void show (std::ostream &out) const
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::HDF5ConstDataSetD< TypeTraits, D >
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
- 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

Additional Inherited Members

- Protected Member Functions inherited from RMF::HDF5MutableAttributes< HDF5ConstDataSetD< TypeTraits, D > >
 HDF5MutableAttributes (const A &h)
 HDF5MutableAttributes (const A &h, const B &i)
 HDF5MutableAttributes (const A &h, const B &i, const C &j)
- Protected Member Functions inherited from RMF::HDF5ConstDataSetD< TypeTraits, D >
 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>
void RMF::HDF5DataSetD< TypeTraits, D >::set_block ( const Index lb,
const Index size,
const typename TypeTraits::Types &  value 
)

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