DGtal::ImageContainerConcept< TPoint, TValue, TContainer > Struct Template Reference

Implements the concept 'ImageContainer' using boost concept. More...

#include <ImageContainerConcept.h>

List of all members.

Public Types

typedef TContainer::Iterator Iterator

Public Member Functions

 BOOST_CONCEPT_ASSERT ((boost::BidirectionalIterator< Iterator >))
 BOOST_CONCEPT_USAGE (ImageContainerConcept)

Private Member Functions

template<typename T >
void same_type (T const &, T const &)

Private Attributes

TContainer i
Iterator it
TValue v
TPoint a
TPoint b

Detailed Description

template<class TPoint, typename TValue, class TContainer>
struct DGtal::ImageContainerConcept< TPoint, TValue, TContainer >

Implements the concept 'ImageContainer' using boost concept.

Description of struct 'ImageContainerConcept'

Usage: to check if the concept is consistent with the template arguments TPoint (Point class), TValue, and TContainer, we have to use the following snippet:

 ...
  BOOST_CONCEPT_ASSERT((DGtal::ImageContainerConcept<TPoint,TValue,TContainer>));
 ...
See also:
Image.h

Member Typedef Documentation

template<class TPoint , typename TValue , class TContainer >
typedef TContainer::Iterator DGtal::ImageContainerConcept< TPoint, TValue, TContainer >::Iterator

Member Function Documentation

template<class TPoint , typename TValue , class TContainer >
DGtal::ImageContainerConcept< TPoint, TValue, TContainer >::BOOST_CONCEPT_ASSERT ( (boost::BidirectionalIterator< Iterator >)   ) 
template<class TPoint , typename TValue , class TContainer >
DGtal::ImageContainerConcept< TPoint, TValue, TContainer >::BOOST_CONCEPT_USAGE ( ImageContainerConcept< TPoint, TValue, TContainer >   )  [inline]
template<class TPoint , typename TValue , class TContainer >
template<typename T >
void DGtal::ImageContainerConcept< TPoint, TValue, TContainer >::same_type ( T const &  ,
T const &   
) [inline, private]

Member Data Documentation

template<class TPoint , typename TValue , class TContainer >
TPoint DGtal::ImageContainerConcept< TPoint, TValue, TContainer >::a [private]
template<class TPoint , typename TValue , class TContainer >
TPoint DGtal::ImageContainerConcept< TPoint, TValue, TContainer >::b [private]
template<class TPoint , typename TValue , class TContainer >
TContainer DGtal::ImageContainerConcept< TPoint, TValue, TContainer >::i [private]
template<class TPoint , typename TValue , class TContainer >
Iterator DGtal::ImageContainerConcept< TPoint, TValue, TContainer >::it [private]
template<class TPoint , typename TValue , class TContainer >
TValue DGtal::ImageContainerConcept< TPoint, TValue, TContainer >::v [private]

The documentation for this struct was generated from the following file:
Generated on Fri Jun 18 14:39:28 2010 for DGtal by  doxygen 1.6.3