Data Structures | Public Types | Public Member Functions | Private Attributes

DGtal::ImageContainerBySTLMap< Domain, ValueType > Class Template Reference

#include <ImageContainerBySTLMap.h>

Data Structures

class  SpanIterator

Public Types

typedef Domain::Point Point
typedef map< Point, ValueType >
::size_type 
TSizeType
typedef map< Point, ValueType >
::iterator 
Iterator
typedef map< Point, ValueType >
::const_iterator 
ConstIterator

Public Member Functions

 BOOST_CONCEPT_ASSERT ((CValueType< ValueType >))
 BOOST_CONCEPT_ASSERT ((CDomain< Domain >))
 ImageContainerBySTLMap (const Point &aPointA, const Point &aPointB)
 ~ImageContainerBySTLMap ()
ValueType operator() (const Point &aPoint) throw ( std::bad_alloc )
ValueType operator() (const Iterator &it) throw ( std::bad_alloc )
void setValue (const Point &aPoint, const ValueType &aValueType)
void setValue (SpanIterator &it, const ValueType &aValueType)
void setValue (Iterator &it, const ValueType &aValueType)
SpanIterator span_begin (const Point &aPoint, const std::size_t aDimension)
SpanIterator span_end (const Point &aPoint, const std::size_t aDimension)
void allocate (const std::size_t aSize)

Private Attributes

Point myLowerBound
Point myUpperBound

Detailed Description

template<typename Domain, typename ValueType>
class DGtal::ImageContainerBySTLMap< Domain, ValueType >

Description of class 'ImageContainerBySTLMap'

Aim:

Todo:
Documentation
See also:
test_Image.cpp

Member Typedef Documentation

template<typename Domain, typename ValueType>
typedef map<Point,ValueType>::const_iterator DGtal::ImageContainerBySTLMap< Domain, ValueType >::ConstIterator
template<typename Domain, typename ValueType>
typedef map<Point,ValueType>::iterator DGtal::ImageContainerBySTLMap< Domain, ValueType >::Iterator
template<typename Domain, typename ValueType>
typedef Domain::Point DGtal::ImageContainerBySTLMap< Domain, ValueType >::Point
template<typename Domain, typename ValueType>
typedef map<Point,ValueType>::size_type DGtal::ImageContainerBySTLMap< Domain, ValueType >::TSizeType

Constructor & Destructor Documentation

template<typename Domain, typename ValueType>
DGtal::ImageContainerBySTLMap< Domain, ValueType >::ImageContainerBySTLMap ( const Point aPointA,
const Point aPointB 
) [inline]
template<typename Domain, typename ValueType>
DGtal::ImageContainerBySTLMap< Domain, ValueType >::~ImageContainerBySTLMap (  )  [inline]

Member Function Documentation

template<typename Domain, typename ValueType>
void DGtal::ImageContainerBySTLMap< Domain, ValueType >::allocate ( const std::size_t  aSize  )  [inline]
template<typename Domain, typename ValueType>
DGtal::ImageContainerBySTLMap< Domain, ValueType >::BOOST_CONCEPT_ASSERT ( (CValueType< ValueType >)   ) 
template<typename Domain, typename ValueType>
DGtal::ImageContainerBySTLMap< Domain, ValueType >::BOOST_CONCEPT_ASSERT ( (CDomain< Domain >)   ) 
template<typename Domain, typename ValueType>
ValueType DGtal::ImageContainerBySTLMap< Domain, ValueType >::operator() ( const Iterator it  )  throw ( std::bad_alloc ) [inline]
template<typename Domain, typename ValueType>
ValueType DGtal::ImageContainerBySTLMap< Domain, ValueType >::operator() ( const Point aPoint  )  throw ( std::bad_alloc ) [inline]
template<typename Domain, typename ValueType>
void DGtal::ImageContainerBySTLMap< Domain, ValueType >::setValue ( SpanIterator it,
const ValueType &  aValueType 
) [inline]

References ASSERT.

template<typename Domain, typename ValueType>
void DGtal::ImageContainerBySTLMap< Domain, ValueType >::setValue ( const Point aPoint,
const ValueType &  aValueType 
) [inline]
template<typename Domain, typename ValueType>
void DGtal::ImageContainerBySTLMap< Domain, ValueType >::setValue ( Iterator it,
const ValueType &  aValueType 
) [inline]
template<typename Domain, typename ValueType>
SpanIterator DGtal::ImageContainerBySTLMap< Domain, ValueType >::span_begin ( const Point aPoint,
const std::size_t  aDimension 
) [inline]
template<typename Domain, typename ValueType>
SpanIterator DGtal::ImageContainerBySTLMap< Domain, ValueType >::span_end ( const Point aPoint,
const std::size_t  aDimension 
) [inline]

Field Documentation

template<typename Domain, typename ValueType>
Point DGtal::ImageContainerBySTLMap< Domain, ValueType >::myLowerBound [private]
template<typename Domain, typename ValueType>
Point DGtal::ImageContainerBySTLMap< Domain, ValueType >::myUpperBound [private]

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