FreePOOMA  2.4.1
Classes | Functions
HDF5.h File Reference

Traits classes for mapping POOMA types to HDF5 objects and wrappers for some HDF5 functions with POOMA style domain specifiers. More...

#include "PoomaConfiguration.h"
#include <hdf5.h>
#include <cstring>
#include "Pooma/Domains.h"
#include "Pooma/BrickArrays.h"
#include "Pooma/Tiny.h"
#include "IO/HDF5.cpp"
Include dependency graph for HDF5.h:

Classes

struct  HDF5TypeTraits< T >
 Traits class specialized for types that qualify as primitive. More...
struct  HDF5Object< T >
 Upon construction, object gets updated, upon destruction after write, object gets marked dirty. More...

Functions

template<int Dim>
hid_t H5Screate_simple (const Interval< Dim > &I)
 Overloads for H5Screate_simple for Pooma domain objects.
template<int Dim>
void H5Sget_simple_extent_domain (hid_t, Interval< Dim > &)
template<int Dim>
void H5Sget_select_hyperslab (hid_t, Interval< Dim > &)
 umm...
template<int Dim>
herr_t H5Sselect_hyperslab (hid_t space_id, H5S_seloper_t op, const Interval< Dim > &I)
 umm... SliceRange<>?
template<int Dim>
herr_t H5Sselect_hyperslab (hid_t space_id, H5S_seloper_t op, const Range< Dim > &R)
template<int TotalDim, int SliceDim>
herr_t H5Sselect_hyperslab (hid_t space_id, H5S_seloper_t op, const SliceInterval< TotalDim, SliceDim > &I)
template<int TotalDim, int SliceDim>
herr_t H5Sselect_hyperslab (hid_t space_id, H5S_seloper_t op, const SliceRange< TotalDim, SliceDim > &R)

Detailed Description

Traits classes for mapping POOMA types to HDF5 objects and wrappers for some HDF5 functions with POOMA style domain specifiers.


Function Documentation

template<int Dim>
hid_t H5Screate_simple ( const Interval< Dim > &  I)

Overloads for H5Screate_simple for Pooma domain objects.

HDF5 prototype is hid_t H5Screate_simple(int rank, const hsize_t *dims, const hsize_t *maxdims);

template<int Dim>
void H5Sget_simple_extent_domain ( hid_t  ,
Interval< Dim > &   
)
template<int Dim>
void H5Sget_select_hyperslab ( hid_t  ,
Interval< Dim > &   
)

umm...

template<int Dim>
herr_t H5Sselect_hyperslab ( hid_t  space_id,
H5S_seloper_t  op,
const Interval< Dim > &  I 
)

umm... SliceRange<>?

Overloads for H5Sselect_hyperslab for Pooma domain objects. Note that the domain of the dataspace is assumed to be zero-based. Also we can't support Grid<> style selections with HDF5 hyperslabs.

HDF5 prototype is herr_t H5Sselect_hyperslab(hid_t space_id, H5S_seloper_t op, const hssize_t *start, const hsize_t *stride, const hsize_t *count, const hsize_t *block);

References Domain< Dim, DomainTraits< Interval< Dim > > >::size().

Referenced by H5Sselect_hyperslab().

template<int Dim>
herr_t H5Sselect_hyperslab ( hid_t  space_id,
H5S_seloper_t  op,
const Range< Dim > &  R 
)
template<int TotalDim, int SliceDim>
herr_t H5Sselect_hyperslab ( hid_t  space_id,
H5S_seloper_t  op,
const SliceInterval< TotalDim, SliceDim > &  I 
)
template<int TotalDim, int SliceDim>
herr_t H5Sselect_hyperslab ( hid_t  space_id,
H5S_seloper_t  op,
const SliceRange< TotalDim, SliceDim > &  R 
)