$extrastylesheet
#include <mln/accu/logic/lor.hh>
Public Member Functions | |
| lor () | |
| 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 lor &other) |
| void | untake (const argument &t) |
| void | untake (const lor &other) |
Protected Attributes | |
| unsigned | ntrue_ |
Public Types | |
| typedef bool | argument |
| typedef Accumulator< void > | category |
| typedef lor | exact_t |
| typedef bool | q_result |
| typedef mln::metal::unqualif < bool >::ret | result |
"Logical-or" accumulator.
Definition at line 95 of file accu/logic/lor.hh.
| mln::accu::logic::lor::lor | ( | ) |
| void mln::accu::logic::lor::init | ( | ) |
Manipulators.
| bool mln::accu::logic::lor::is_valid | ( | ) | const |
Check whether this accu is able to return a result.
Always true here.
|
inherited |
| void mln::accu::logic::lor::take | ( | const argument & | t | ) |
| void mln::accu::logic::lor::take | ( | const lor & | other | ) |
|
inherited |
Take as initialization the value t.
|
inherited |
INTERNAL_API
Default implementation of "take as initialization".
| void mln::accu::logic::lor::take_as_init_ | ( | const argument & | t | ) |
|
inherited |
Take n times the value t.
|
inherited |
INTERNAL_API
Default implementation of "take n times".
| bool mln::accu::logic::lor::to_result | ( | ) | const |
Get the value of the accumulator.
| void mln::accu::logic::lor::untake | ( | const argument & | t | ) |
| void mln::accu::logic::lor::untake | ( | const lor & | other | ) |
|
protected |
Definition at line 121 of file accu/logic/lor.hh.
| typedef bool mln::accu::logic::lor::argument |
Definition at line 97 of file accu/logic/lor.hh.
|
inherited |
Definition at line 64 of file accumulator.hh.
|
inherited |