DGtal  0.9.4beta
Public Types | Static Public Member Functions
DGtal::H5DSpecializations< TImageFactory, DGtal::uint8_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::uint8_t >

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

Description of template class 'H5DSpecializations'

Definition at line 85 of file ImageFactoryFromHDF5.h.

Member Typedef Documentation

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

Definition at line 89 of file ImageFactoryFromHDF5.h.

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

Definition at line 90 of file ImageFactoryFromHDF5.h.

Member Function Documentation

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

Definition at line 92 of file ImageFactoryFromHDF5.h.

93  {
94  return H5Dread(anImageFactory.dataset, H5T_NATIVE_UINT8, memspace, anImageFactory.dataspace, H5P_DEFAULT, data_out);
95  }
template<typename TImageFactory >
static int DGtal::H5DSpecializations< TImageFactory, DGtal::uint8_t >::H5DwriteS ( ImageFactory anImageFactory,
hid_t  memspace,
Value data_in 
)
inlinestatic

Definition at line 97 of file ImageFactoryFromHDF5.h.

98  {
99  return H5Dwrite(anImageFactory.dataset, H5T_NATIVE_UINT8, memspace, anImageFactory.dataspace, H5P_DEFAULT, data_in);
100  }

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