TuttleOFX  1
terry::generator::ConstantFunctor< P > Struct Template Reference

#include <constant.hpp>

Public Types

typedef boost::gil::point2
< double > 
point_t
typedef ConstantFunctor const_t
typedef P value_type
typedef value_type reference
typedef value_type const_reference
typedef point_t argument_type
typedef reference result_type

Public Member Functions

 BOOST_STATIC_CONSTANT (bool, is_mutable=false)
 ConstantFunctor ()
 ConstantFunctor (const value_type &color)
result_type operator() (const point_t &) const

Data Fields

value_type _color

Detailed Description

template<typename P>
struct terry::generator::ConstantFunctor< P >

Definition at line 14 of file constant.hpp.


Member Typedef Documentation

template<typename P >
typedef point_t terry::generator::ConstantFunctor< P >::argument_type

Definition at line 21 of file constant.hpp.

template<typename P >
typedef value_type terry::generator::ConstantFunctor< P >::const_reference

Definition at line 20 of file constant.hpp.

template<typename P >
typedef ConstantFunctor terry::generator::ConstantFunctor< P >::const_t

Definition at line 17 of file constant.hpp.

template<typename P >
typedef boost::gil::point2<double> terry::generator::ConstantFunctor< P >::point_t

Definition at line 16 of file constant.hpp.

template<typename P >
typedef value_type terry::generator::ConstantFunctor< P >::reference

Definition at line 19 of file constant.hpp.

template<typename P >
typedef reference terry::generator::ConstantFunctor< P >::result_type

Definition at line 22 of file constant.hpp.

template<typename P >
typedef P terry::generator::ConstantFunctor< P >::value_type

Definition at line 18 of file constant.hpp.


Constructor & Destructor Documentation

template<typename P >
terry::generator::ConstantFunctor< P >::ConstantFunctor ( ) [inline]

Definition at line 27 of file constant.hpp.

template<typename P >
terry::generator::ConstantFunctor< P >::ConstantFunctor ( const value_type color) [inline]

Definition at line 28 of file constant.hpp.


Member Function Documentation

template<typename P >
terry::generator::ConstantFunctor< P >::BOOST_STATIC_CONSTANT ( bool  ,
is_mutable  = false 
)
template<typename P >
result_type terry::generator::ConstantFunctor< P >::operator() ( const point_t ) const [inline]

Definition at line 33 of file constant.hpp.

References terry::generator::ConstantFunctor< P >::_color.


Field Documentation

Definition at line 25 of file constant.hpp.

Referenced by terry::generator::ConstantFunctor< P >::operator()().


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