31#if defined(HDF5Writer_RECURSES)
32#error Recursive header files inclusion detected in HDF5Writer.h
35#define HDF5Writer_RECURSES
37#if !defined HDF5Writer_h
45#include <boost/static_assert.hpp>
46#include <boost/type_traits.hpp>
47#include "DGtal/base/Common.h"
48#include "DGtal/base/CUnaryFunctor.h"
49#include "DGtal/base/BasicFunctors.h"
67 template <
typename TImage,
typename TFunctor = functors::Identity>
72 typedef typename TImage::Value
Value;
87 static bool exportHDF5_3D(
const std::string & filename,
const Image &aImage,
const std::string & aDataset,
94#include "DGtal/io/writers/HDF5Writer.ih"
101#undef HDF5Writer_RECURSES
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: Export an Image with the HDF5 format.
BOOST_CONCEPT_ASSERT((concepts::CUnaryFunctor< TFunctor, Value, unsigned char >))
BOOST_STATIC_ASSERT(TImage::Domain::dimension==3)
static bool exportHDF5_3D(const std::string &filename, const Image &aImage, const std::string &aDataset, const Functor &aFunctor=Functor())
Aim: Defines a unary functor, which associates arguments to results.