$extrastylesheet
#include <apps/bench/and_not.hh>
Public Member Functions | |
and_not () | |
A1::result | first () const |
A1 | first_accu () const |
bool | is_valid () const |
A2::result | second () const |
A2 | second_accu () const |
bool | subj_ () |
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) |
void | init () |
void | take_as_init_ (const argument &t) |
void | take (const argument &t) |
void | take (const and_not< A1, A2, T > &other) |
void | untake (const argument &t) |
bool | to_result () const |
void | get_result (result_1 &r1, result_2 &r2) const |
Protected Attributes | |
A1 | a1_ |
A2 | a2_ |
Public Types | |
typedef T | argument |
typedef Accumulator< void > | category |
typedef and_not< A1, A2, T > | exact_t |
typedef bool | q_result |
typedef mln::metal::unqualif < bool >::ret | result |
typedef A1::result | result_1 |
typedef A2::result | result_2 |
Logical "and not" of accumulators.
The parameter T
is the type of values.
Definition at line 58 of file apps/bench/and_not.hh.
mln::accu::and_not< A1, A2, T >::and_not | ( | ) |
A1 ::result mln::accu::and_not< A1, A2, T >::first | ( | ) | const |
Return the result of the first accumulator.
A1 mln::accu::and_not< A1, A2, T >::first_accu | ( | ) | const |
Return the first accumulator.
void mln::accu::and_not< A1, A2, T >::get_result | ( | result_1 & | r1, |
result_2 & | r2 | ||
) | const |
void mln::accu::and_not< A1, A2, T >::init | ( | ) |
Manipulators.
bool mln::accu::and_not< A1, A2, T >::is_valid | ( | ) | const |
Check whether this accu is able to return a result.
Always true here.
A2 ::result mln::accu::and_not< A1, A2, T >::second | ( | ) | const |
Return the result of the second accumulator.
A2 mln::accu::and_not< A1, A2, T >::second_accu | ( | ) | const |
Return the second accumulator.
|
inherited |
void mln::accu::and_not< A1, A2, T >::take | ( | const argument & | t | ) |
void mln::accu::and_not< A1, A2, T >::take | ( | const and_not< A1, A2, T > & | other | ) |
|
inherited |
Take as initialization the value t
.
void mln::accu::and_not< A1, A2, T >::take_as_init_ | ( | const argument & | t | ) |
INTERNAL_API
Default implementation of "take as initialization".
Reimplemented from mln::Accumulator< and_not< A1, A2, T > >.
|
inherited |
Take n
times the value t
.
|
inherited |
INTERNAL_API
Default implementation of "take n times".
bool mln::accu::and_not< A1, A2, T >::to_result | ( | ) | const |
Get the value of the accumulator.
void mln::accu::and_not< A1, A2, T >::untake | ( | const argument & | t | ) |
|
protected |
Definition at line 101 of file apps/bench/and_not.hh.
|
protected |
Definition at line 102 of file apps/bench/and_not.hh.
typedef T mln::accu::and_not< A1, A2, T >::argument |
Definition at line 61 of file apps/bench/and_not.hh.
|
inherited |
Definition at line 64 of file accumulator.hh.
typedef A1 ::result mln::accu::and_not< A1, A2, T >::result_1 |
Definition at line 63 of file apps/bench/and_not.hh.
typedef A2 ::result mln::accu::and_not< A1, A2, T >::result_2 |
Definition at line 64 of file apps/bench/and_not.hh.