#include <ternary.hh>
Public Types | |
typedef T::result | result |
Public Member Functions | |
template<typename Pt> | |
result | operator() (const Pt &p) const |
ternary_ (const Function_v2b< P > &f_pred, const Function_v2v< T > &f_true, const Function_v2v< F > &f_false) | |
Protected Attributes | |
const F | f_false_ |
const P | f_pred_ |
const T | f_true_ |
Definition at line 47 of file ternary.hh.
typedef T ::result mln::fun::p2v::ternary_< P, T, F >::result |
Definition at line 50 of file ternary.hh.
mln::fun::p2v::ternary_< P, T, F >::ternary_ | ( | const Function_v2b< P > & | f_pred, | |
const Function_v2v< T > & | f_true, | |||
const Function_v2v< F > & | f_false | |||
) | [inline] |
Definition at line 77 of file ternary.hh.
T::result mln::fun::p2v::ternary_< P, T, F >::operator() | ( | const Pt & | p | ) | const [inline] |
Definition at line 90 of file ternary.hh.
const F mln::fun::p2v::ternary_< P, T, F >::f_false_ [protected] |
Definition at line 62 of file ternary.hh.
const P mln::fun::p2v::ternary_< P, T, F >::f_pred_ [protected] |
Definition at line 60 of file ternary.hh.
const T mln::fun::p2v::ternary_< P, T, F >::f_true_ [protected] |
Definition at line 61 of file ternary.hh.