cartodata  5.0.5
carto::UnaryFromConstantBinaryFunctor2< T, BinaryFunction > Class Template Reference

Utility functor. More...

#include <cartodata/volume/volumeutil.h>

Collaboration diagram for carto::UnaryFromConstantBinaryFunctor2< T, BinaryFunction >:

Public Member Functions

 UnaryFromConstantBinaryFunctor2 (const T &x, BinaryFunction func)
 
operator() (const T &y) const
 

Public Attributes

value
 
BinaryFunction f
 

Detailed Description

template<typename T, class BinaryFunction>
class carto::UnaryFromConstantBinaryFunctor2< T, BinaryFunction >

Utility functor.

Same as the fist form except that the constant term is the first argument or the binary functor.

Definition at line 1126 of file volumeutil.h.

Constructor & Destructor Documentation

◆ UnaryFromConstantBinaryFunctor2()

template<typename T , class BinaryFunction >
carto::UnaryFromConstantBinaryFunctor2< T, BinaryFunction >::UnaryFromConstantBinaryFunctor2 ( const T &  x,
BinaryFunction  func 
)
inline

Definition at line 1129 of file volumeutil.h.

Member Function Documentation

◆ operator()()

template<typename T , class BinaryFunction >
T carto::UnaryFromConstantBinaryFunctor2< T, BinaryFunction >::operator() ( const T &  y) const
inline

Definition at line 1131 of file volumeutil.h.

Member Data Documentation

◆ f

template<typename T , class BinaryFunction >
BinaryFunction carto::UnaryFromConstantBinaryFunctor2< T, BinaryFunction >::f

Definition at line 1134 of file volumeutil.h.

◆ value

template<typename T , class BinaryFunction >
T carto::UnaryFromConstantBinaryFunctor2< T, BinaryFunction >::value

Definition at line 1133 of file volumeutil.h.


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