$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::accu::logic::land Struct Reference

#include <mln/accu/logic/land.hh>

Public Member Functions

 land ()
bool is_valid () const
bool subj_ ()
void take_as_init (const T &t)
void take_as_init_ (const T &t)
void take_n_times (unsigned n, const T &t)
void take_n_times_ (unsigned n, const T &t)
bool to_result () const
void init ()
void take_as_init_ (const argument &t)
void take (const argument &t)
void take (const land &other)
void untake (const argument &t)
void untake (const land &other)

Protected Attributes

unsigned nfalse_

Public Types

typedef bool argument
typedef Accumulator< void > category
typedef land exact_t
typedef bool q_result
typedef mln::metal::unqualif
< bool >::ret 
result

Detailed Description

"Logical-and" accumulator.

Definition at line 96 of file accu/logic/land.hh.

Constructor & Destructor Documentation

mln::accu::logic::land::land ( )

Member Function Documentation

void mln::accu::logic::land::init ( )

Manipulators.

bool mln::accu::logic::land::is_valid ( ) const

Check whether this accu is able to return a result.

Always true here.

bool mln::accu::internal::base< bool , land >::subj_ ( )
inherited
void mln::accu::logic::land::take ( const argument t)
void mln::accu::logic::land::take ( const land other)
void mln::Accumulator< land >::take_as_init ( const T t)
inherited

Take as initialization the value t.

void mln::Accumulator< land >::take_as_init_ ( const T t)
inherited

INTERNAL_API

Default implementation of "take as initialization".

void mln::accu::logic::land::take_as_init_ ( const argument t)
void mln::Accumulator< land >::take_n_times ( unsigned  n,
const T t 
)
inherited

Take n times the value t.

void mln::Accumulator< land >::take_n_times_ ( unsigned  n,
const T t 
)
inherited

INTERNAL_API

Default implementation of "take n times".

bool mln::accu::logic::land::to_result ( ) const

Get the value of the accumulator.

void mln::accu::logic::land::untake ( const argument t)
void mln::accu::logic::land::untake ( const land other)

Member Data Documentation

unsigned mln::accu::logic::land::nfalse_
protected

Definition at line 122 of file accu/logic/land.hh.

Member Typedef Documentation

Definition at line 98 of file accu/logic/land.hh.

typedef Accumulator<void> mln::Accumulator< land >::category
inherited

Definition at line 64 of file accumulator.hh.

typedef land mln::Object< land >::exact_t
inherited

Definition at line 105 of file object.hh.

typedef bool mln::accu::internal::base< bool , land >::q_result
inherited

Definition at line 58 of file base.hh.

typedef mln::metal::unqualif< bool >::ret mln::accu::internal::base< bool , land >::result
inherited

Definition at line 59 of file base.hh.