Public Types | Public Member Functions | Private Types | Private Attributes

mln::fun::p2b::has< I > Struct Template Reference

#include <has.hh>

Inheritance diagram for mln::fun::p2b::has< I >:
Inheritance graph

List of all members.

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_

Detailed Description

template<typename I>
struct mln::fun::p2b::has< I >

Definition at line 52 of file fun/p2b/has.hh.


Member Typedef Documentation

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]

Definition at line 173 of file object.hh.

typedef void mln::Function_v2v< has< I > >::mutable_result [inherited]

Definition at line 127 of file function.hh.

template<typename I>
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.

template<typename I>
typedef Function_v2b< has<I> > mln::fun::p2b::has< I >::super_ [private]

Definition at line 79 of file fun/p2b/has.hh.


Constructor & Destructor Documentation

template<typename I >
mln::fun::p2b::has< I >::has (  )  [inline]

Constructor without argument.

Definition at line 95 of file fun/p2b/has.hh.

template<typename I >
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.

template<typename I >
mln::fun::p2b::has< I >::has ( const has< I > &  rhs  )  [inline]

Copy constructor.

Definition at line 109 of file fun/p2b/has.hh.


Member Function Documentation

template<typename I >
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.

template<typename I >
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_.


Member Data Documentation

template<typename I>
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=().