DGtal
0.9.3
|
#include <DGtal/base/BasicFunctors.h>
Public Types | |
typedef TCell | Cell |
typedef TQuantity | Quantity |
Public Member Functions | |
ConstValueCell (const Quantity &aQuantity=0) | |
Quantity | operator() (const Cell &) const |
Private Attributes | |
Quantity | myQuantity |
Aim: Define a simple functor that returns a constant quantity (0 by default).
Description of template class 'ConstValueCell'
TQuantity | type of the quantity |
TCell | type of the cell |
Definition at line 220 of file BasicFunctors.h.
typedef TCell DGtal::functors::ConstValueCell< TQuantity, TCell >::Cell |
Definition at line 223 of file BasicFunctors.h.
typedef TQuantity DGtal::functors::ConstValueCell< TQuantity, TCell >::Quantity |
Definition at line 224 of file BasicFunctors.h.
|
inline |
Constructor.
aQuantity | the constant quantity. |
Definition at line 230 of file BasicFunctors.h.
|
inline |
|
private |
value
Definition at line 248 of file BasicFunctors.h.