DGtal 2.0.0
|
Aim: Defines a unary functor, which associates arguments to results. More...
#include <DGtal/base/CUnaryFunctor.h>
Public Member Functions | |
BOOST_CONCEPT_USAGE (CUnaryFunctor) |
Private Attributes | |
X | x |
A | a |
R | r |
Aim: Defines a unary functor, which associates arguments to results.
Description of concept 'CUnaryFunctor'
Name | Expression | Type requirements | Return type | Precondition | Semantics | Post condition | Complexity |
---|---|---|---|---|---|---|---|
Apply function | r = x(a) | R | returns the value of the function x on argument a |
Definition at line 89 of file CUnaryFunctor.h.
|
inline |
Definition at line 95 of file CUnaryFunctor.h.
References a, r, DGtal::concepts::ConceptUtils::sameType(), and x.
Definition at line 103 of file CUnaryFunctor.h.
Referenced by BOOST_CONCEPT_USAGE().
Definition at line 104 of file CUnaryFunctor.h.
Referenced by BOOST_CONCEPT_USAGE().
|
private |
Definition at line 102 of file CUnaryFunctor.h.
Referenced by BOOST_CONCEPT_USAGE().