DGtal 2.1.0
Loading...
Searching...
No Matches
DGtal::concepts::CUnaryFunctor< X, A, R > Struct Template Reference

Aim: Defines a unary functor, which associates arguments to results. More...

#include <DGtal/base/CUnaryFunctor.h>

Inheritance diagram for DGtal::concepts::CUnaryFunctor< X, A, R >:
[legend]

Public Member Functions

 BOOST_CONCEPT_USAGE (CUnaryFunctor)
 

Private Attributes

x
 
A a
 
R r
 

Detailed Description

template<typename X, typename A, typename R>
struct DGtal::concepts::CUnaryFunctor< X, A, R >

Aim: Defines a unary functor, which associates arguments to results.

Description of concept 'CUnaryFunctor'

Refinement of

Associated types

Notation

Definitions

Valid expressions and semantics

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

Invariants

Models

Notes

Definition at line 89 of file CUnaryFunctor.h.

Member Function Documentation

◆ BOOST_CONCEPT_USAGE()

Field Documentation

◆ a

template<typename X , typename A , typename R >
A DGtal::concepts::CUnaryFunctor< X, A, R >::a
private

◆ r

template<typename X , typename A , typename R >
R DGtal::concepts::CUnaryFunctor< X, A, R >::r
private

◆ x

template<typename X , typename A , typename R >
X DGtal::concepts::CUnaryFunctor< X, A, R >::x
private

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