DGtal  1.5.beta
DGtal::H5DSpecializations< TImageFactory, double > Struct Template Reference

Aim: implements HDF5 reading and writing for specialized type double. More...

#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, double >

Aim: implements HDF5 reading and writing for specialized type double.

Description of template class 'H5DSpecializations'

Definition at line 163 of file ImageFactoryFromHDF5.h.

Member Typedef Documentation

◆ ImageFactory

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

Definition at line 167 of file ImageFactoryFromHDF5.h.

◆ Value

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

Definition at line 168 of file ImageFactoryFromHDF5.h.

Member Function Documentation

◆ H5DreadS()

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

Definition at line 170 of file ImageFactoryFromHDF5.h.

171  {
172  return H5Dread(anImageFactory.dataset, H5T_NATIVE_DOUBLE, memspace, anImageFactory.dataspace, H5P_DEFAULT, data_out);
173  }

◆ H5DwriteS()

template<typename TImageFactory >
static int DGtal::H5DSpecializations< TImageFactory, double >::H5DwriteS ( ImageFactory anImageFactory,
hid_t  memspace,
Value data_in 
)
inlinestatic

Definition at line 175 of file ImageFactoryFromHDF5.h.

176  {
177  return H5Dwrite(anImageFactory.dataset, H5T_NATIVE_DOUBLE, memspace, anImageFactory.dataspace, H5P_DEFAULT, data_in);
178  }

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