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

Utility functor. More...

#include <cartodata/volume/volumeutil.h>

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 1538 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 1541 of file volumeutil.h.

Member Function Documentation

◆ operator()()

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

Member Data Documentation

◆ f

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

◆ value

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

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