Jive reference manual
List of all members | Public Member Functions | Static Public Attributes | Protected Member Functions
jem::hdf5::DataSet Class Reference

#include <jem/hdf5/DataSet.h>

Inheritance diagram for jem::hdf5::DataSet:
Inheritance graph

Public Member Functions

 DataSet (const Handle &oid)
 
idx_t itemCount () const
 
DataType getDataType () const
 
DataSpace getDataSpace () const
 
template<class T >
void getData (T &data) const
 
template<class T , int N>
void getData (const Array< T, N > &data) const
 
template<class T >
void getData (T &data, const DataSpace &dspace) const
 
template<class T , int N>
void getData (const Array< T, N > &data, const DataSpace &dspace) const
 
template<class T >
void setData (const T &data) const
 
template<class T >
void setData (const T &data, const DataSpace &dspace) const
 
void readData (void *buffer, const DataType &type) const
 
void readData (void *buffer, const DataType &type, const DataSpace &mspace, const DataSpace &dspace) const
 
void writeData (const void *buffer, const DataType &type) const
 
void writeData (const void *buffer, const DataType &type, const DataSpace &mspace, const DataSpace &dspace) const
 
void countError (const String &where, idx_t mcount) const
 
void countError (const String &where, idx_t mcount, idx_t dcount) const
 
- Public Member Functions inherited from jem::hdf5::H5Object
lint getID () const
 
String getName () const
 
String getContext () const
 
bool hasAttribute (const String &name) const
 
Attribute getAttribute (const String &name) const
 
template<class T >
void getAttribute (T &value, const String &name) const
 
template<class T , int N>
void getAttribute (const Array< T, N > &value, const String &name) const
 
Attribute findAttribute (const String &name) const
 
template<class T >
bool findAttribute (T &value, const String &name) const
 
template<class T , int N>
bool findAttribute (const Array< T, N > &value, const String &name) const
 
Attribute newAttribute (const String &name, const DataType &type) const
 
Attribute newAttribute (const String &name, const DataType &type, const DataSpace &space) const
 
template<class T >
void setAttribute (const String &name, const T &value) const
 
Array< StringlistAttributes () const
 
- Public Member Functions inherited from jem::Object
virtual ClassgetClass () const
 Returns the Class instance representing the runtime class of this object. More...
 
virtual String toString () const
 Returns a short textual description of this object. More...
 
virtual long hashValue () const
 Returns a hash value for this object. More...
 
virtual bool equals (const Ref< Object > &obj) const
 Tests whether two objects are equal. More...
 
Ref< Objectclone () const
 Returns a copy of this object. More...
 

Static Public Attributes

static const int COMPRESS
 

Protected Member Functions

virtual ~DataSet ()
 
- Protected Member Functions inherited from jem::hdf5::H5Object
 H5Object (const Handle &oid)
 
virtual ~H5Object ()
 
- Protected Member Functions inherited from jem::Collectable
 Collectable ()
 Creates an empty Collectable. More...
 
 ~Collectable ()
 Frees resources. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from jem::Object
static ClassgetType ()
 Returns the Class instance representing the Object class. More...
 
- Protected Attributes inherited from jem::hdf5::H5Object
Handle oid_
 

Constructor & Destructor Documentation

jem::hdf5::DataSet::DataSet ( const Handle &  oid)
explicit
virtual jem::hdf5::DataSet::~DataSet ( )
protectedvirtual

Member Function Documentation

idx_t jem::hdf5::DataSet::itemCount ( ) const
DataType jem::hdf5::DataSet::getDataType ( ) const
DataSpace jem::hdf5::DataSet::getDataSpace ( ) const
template<class T >
void jem::hdf5::DataSet::getData ( T &  data) const
template<class T , int N>
void jem::hdf5::DataSet::getData ( const Array< T, N > &  data) const
template<class T >
void jem::hdf5::DataSet::getData ( T &  data,
const DataSpace dspace 
) const
template<class T , int N>
void jem::hdf5::DataSet::getData ( const Array< T, N > &  data,
const DataSpace dspace 
) const
template<class T >
void jem::hdf5::DataSet::setData ( const T &  data) const
template<class T >
void jem::hdf5::DataSet::setData ( const T &  data,
const DataSpace dspace 
) const
void jem::hdf5::DataSet::readData ( void *  buffer,
const DataType type 
) const
void jem::hdf5::DataSet::readData ( void *  buffer,
const DataType type,
const DataSpace mspace,
const DataSpace dspace 
) const
void jem::hdf5::DataSet::writeData ( const void *  buffer,
const DataType type 
) const
void jem::hdf5::DataSet::writeData ( const void *  buffer,
const DataType type,
const DataSpace mspace,
const DataSpace dspace 
) const
void jem::hdf5::DataSet::countError ( const String where,
idx_t  mcount 
) const
void jem::hdf5::DataSet::countError ( const String where,
idx_t  mcount,
idx_t  dcount 
) const

Member Data Documentation

const int jem::hdf5::DataSet::COMPRESS
static