DGtal  0.9.4beta
Public Types | Public Member Functions | Private Attributes
DGtal::concepts::CCellFunctor< T > Struct Template Reference

#include <DGtal/topology/CCellFunctor.h>

Collaboration diagram for DGtal::concepts::CCellFunctor< T >:
[legend]

Public Types

typedef T::Cell Cell
 
typedef T::Quantity Quantity
 

Public Member Functions

 BOOST_CONCEPT_ASSERT ((CUnaryFunctor< T, Cell, Quantity >))
 
 BOOST_CONCEPT_USAGE (CCellFunctor)
 
void check_const_constraints () const
 

Private Attributes

myT
 

Detailed Description

template<typename T>
struct DGtal::concepts::CCellFunctor< T >

Aim: Defines a functor on cells.

Description of concept 'CCellFunctor'

Associates values to cells.

Refinement of CUnaryFunctor

Associated types

Notation

Definitions

Valid expressions and semantics

Name Expression Type requirements Return type Precondition Semantics Post condition Complexity
Apply function x( c)q the quantity of the function x at cell c

Invariants

Notes

Definition at line 89 of file CCellFunctor.h.

Member Typedef Documentation

template<typename T >
typedef T::Cell DGtal::concepts::CCellFunctor< T >::Cell

Definition at line 93 of file CCellFunctor.h.

template<typename T >
typedef T::Quantity DGtal::concepts::CCellFunctor< T >::Quantity

Definition at line 94 of file CCellFunctor.h.

Member Function Documentation

template<typename T >
DGtal::concepts::CCellFunctor< T >::BOOST_CONCEPT_ASSERT ( (CUnaryFunctor< T, Cell, Quantity >)  )
template<typename T >
DGtal::concepts::CCellFunctor< T >::BOOST_CONCEPT_USAGE ( CCellFunctor< T >  )
inline

Definition at line 98 of file CCellFunctor.h.

References DGtal::concepts::CCellFunctor< T >::check_const_constraints().

99  {
101  }
void check_const_constraints() const
Definition: CCellFunctor.h:102
template<typename T >
void DGtal::concepts::CCellFunctor< T >::check_const_constraints ( ) const
inline

Definition at line 102 of file CCellFunctor.h.

Referenced by DGtal::concepts::CCellFunctor< T >::BOOST_CONCEPT_USAGE().

103  {
104  }

Field Documentation

template<typename T >
T DGtal::concepts::CCellFunctor< T >::myT
private

Definition at line 110 of file CCellFunctor.h.


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