#include <has.hh>

Public Types | |
| typedef Function_v2b< void > | category |
| typedef has< I > | exact_t |
| typedef void | mutable_result |
| typedef bool | result |
| Result associated type. | |
Public Member Functions | |
| has () | |
| Constructor without argument. | |
| has (const has< I > &rhs) | |
| Copy constructor. | |
| has (typename mln::metal::const_< I >::ret &ima) | |
Constructor from an image ima. | |
| 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< has< I > >::category [inherited] |
Reimplemented from mln::Function_v2v< has< I > >.
Definition at line 152 of file function.hh.
typedef has< I > mln::Object< has< I > >::exact_t [inherited] |
typedef void mln::Function_v2v< has< I > >::mutable_result [inherited] |
Definition at line 127 of file function.hh.
| typedef bool mln::fun::p2b::has< I >::result |
Result associated type.
Reimplemented from mln::Function_v2b< has< I > >.
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] |
Constructor without argument.
Definition at line 95 of file fun/p2b/has.hh.
| mln::fun::p2b::has< I >::has | ( | typename mln::metal::const_< I >::ret & | ima | ) | [inline] |
Constructor from an image ima.
Definition at line 102 of file fun/p2b/has.hh.
| mln::fun::p2b::has< I >::has | ( | const has< I > & | rhs | ) | [inline] |
Copy constructor.
Definition at line 109 of file fun/p2b/has.hh.
| bool mln::fun::p2b::has< I >::operator() | ( | const typename I::psite & | p | ) | const [inline] |
Apply the function on the psite p.
Definition at line 88 of file fun/p2b/has.hh.
| 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] |
Definition at line 78 of file fun/p2b/has.hh.
Referenced by mln::fun::p2b::has< I >::operator=().
1.7.1