mln::accu::logic::land_basic Struct Reference
[On values]

"Logical-and" accumulator. More...

#include <land_basic.hh>

Inherits base< bool, land_basic >.

List of all members.

Public Member Functions

bool can_stop () const
 Test if it is worth for this accumulator to take extra data.
bool is_valid () const
 Check whether this accu is able to return a result.
bool to_result () const
 Get the value of the accumulator.
void init ()
 Manipulators.


Detailed Description

"Logical-and" accumulator.

Conversely to accu::logic::land, this version does not have the 'untake' method but features the 'can_stop' method.


Member Function Documentation

bool mln::accu::logic::land_basic::can_stop (  )  const [inline]

Test if it is worth for this accumulator to take extra data.

If the result is already 'false' (because this accumulator has already taken a 'false' value), can_stop returns true.

void mln::accu::logic::land_basic::init (  )  [inline]

Manipulators.

bool mln::accu::logic::land_basic::is_valid (  )  const [inline]

Check whether this accu is able to return a result.

Always true here.

bool mln::accu::logic::land_basic::to_result (  )  const [inline]

Get the value of the accumulator.


Generated on Tue Jul 14 18:43:45 2009 for Milena (Olena) by  doxygen 1.5.9