DGtal  0.9.3beta
Public Types | Static Public Member Functions
DGtal::H5DSpecializations< TImageFactory, DGtal::int32_t > Struct Template Reference

#include <DGtal/images/ImageFactoryFromHDF5.h>

Public Types

typedef TImageFactory ImageFactory
 
typedef ImageFactory::OutputImage::Value Value
 

Static Public Member Functions

static int H5DreadS (ImageFactory &anImageFactory, hid_t memspace, Value *data_out)
 
static int H5DwriteS (ImageFactory &anImageFactory, hid_t memspace, Value *data_in)
 

Detailed Description

template<typename TImageFactory>
struct DGtal::H5DSpecializations< TImageFactory, DGtal::int32_t >

Aim: implements HDF5 reading and writing for specialized type DGtal::int32_t.

Description of template class 'H5DSpecializations'

Definition at line 111 of file ImageFactoryFromHDF5.h.

Member Typedef Documentation

template<typename TImageFactory >
typedef TImageFactory DGtal::H5DSpecializations< TImageFactory, DGtal::int32_t >::ImageFactory

Definition at line 115 of file ImageFactoryFromHDF5.h.

template<typename TImageFactory >
typedef ImageFactory::OutputImage::Value DGtal::H5DSpecializations< TImageFactory, DGtal::int32_t >::Value

Definition at line 116 of file ImageFactoryFromHDF5.h.

Member Function Documentation

template<typename TImageFactory >
static int DGtal::H5DSpecializations< TImageFactory, DGtal::int32_t >::H5DreadS ( ImageFactory anImageFactory,
hid_t  memspace,
Value data_out 
)
inlinestatic

Definition at line 118 of file ImageFactoryFromHDF5.h.

119  {
120  return H5Dread(anImageFactory.dataset, H5T_NATIVE_INT32, memspace, anImageFactory.dataspace, H5P_DEFAULT, data_out);
121  }
template<typename TImageFactory >
static int DGtal::H5DSpecializations< TImageFactory, DGtal::int32_t >::H5DwriteS ( ImageFactory anImageFactory,
hid_t  memspace,
Value data_in 
)
inlinestatic

Definition at line 123 of file ImageFactoryFromHDF5.h.

124  {
125  return H5Dwrite(anImageFactory.dataset, H5T_NATIVE_INT32, memspace, anImageFactory.dataspace, H5P_DEFAULT, data_in);
126  }

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