#include <has.hh>
Public Types | |
typedef Function_v2b< void > | category |
typedef E | exact_t |
typedef void | mutable_result |
typedef bool | result |
Result associated type. | |
Public Member Functions | |
has (const has< I > &rhs) | |
Copy constructor. | |
has (typename mln::metal::const_< I >::ret &ima) | |
Constructor from an image ima . | |
has () | |
Constructor without argument. | |
bool | operator() (const typename I::psite &p) const |
Apply the function on the psite p . | |
has< I > & | operator= (const has< I > &rhs) |
Assignment operator. | |
Private Types | |
typedef Function_v2b< has< I > > | super_ |
Private Attributes | |
mln::metal::const_< I >::ret | ima_ |
Definition at line 52 of file fun/p2b/has.hh.
typedef Function_v2b<void> mln::Function_v2b< E >::category [inherited] |
typedef E mln::Object< E >::exact_t [inherited] |
typedef void mln::Function_v2v< E >::mutable_result [inherited] |
typedef bool mln::fun::p2b::has< I >::result |
Result associated type.
Reimplemented from mln::Function_v2b< E >.
Definition at line 58 of file fun/p2b/has.hh.
typedef Function_v2b< has<I> > mln::fun::p2b::has< I >::super_ [private] |
Definition at line 79 of file fun/p2b/has.hh.
mln::fun::p2b::has< I >::has | ( | ) | [inline] |
mln::fun::p2b::has< I >::has | ( | typename mln::metal::const_< I >::ret & | ima | ) | [inline] |
mln::fun::p2b::has< I >::has | ( | const has< I > & | rhs | ) | [inline] |
bool mln::fun::p2b::has< I >::operator() | ( | const typename I::psite & | p | ) | const [inline] |
has< I > & mln::fun::p2b::has< I >::operator= | ( | const has< I > & | rhs | ) | [inline] |
Assignment operator.
Definition at line 119 of file fun/p2b/has.hh.
References mln::fun::p2b::has< I >::ima_.
mln::metal::const_< I >::ret mln::fun::p2b::has< I >::ima_ [private] |