"Logical-or" accumulator. More...
#include <lor.hh>

Public Types | |
| typedef bool | argument | 
| typedef Accumulator< void > | category | 
| typedef lor | exact_t | 
| typedef bool | q_result | 
| typedef mln::metal::unqualif < bool >::ret  | result | 
Public Member Functions | |
| bool | is_valid () const | 
| Check whether this accu is able to return a result.   | |
| lor () | |
| bool | subj_ () | 
| void | take_as_init (const T &t) | 
Take as initialization the value t.   | |
| void | take_as_init_ (const T &t) | 
| Default implementation of "take as initialization".   | |
| void | take_n_times (unsigned n, const T &t) | 
Take n times the value t.   | |
| void | take_n_times_ (unsigned n, const T &t) | 
| Default implementation of "take n times".   | |
| bool | to_result () const | 
| Get the value of the accumulator.   | |
| void | init () | 
| Manipulators.   | |
| 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_ | 
"Logical-or" accumulator.
| typedef bool mln::accu::logic::lor::argument | 
typedef Accumulator<void> mln::Accumulator< lor  >::category [inherited] | 
        
Reimplemented from mln::Proxy< lor >.
typedef lor  mln::Object< lor  >::exact_t [inherited] | 
        
typedef bool  mln::accu::internal::base< bool , lor  >::q_result [inherited] | 
        
typedef mln::metal::unqualif< bool  >::ret mln::accu::internal::base< bool , lor  >::result [inherited] | 
        
| mln::accu::logic::lor::lor | ( | ) |  [inline] | 
        
References init().
| bool mln::accu::logic::lor::is_valid | ( | ) |  const [inline] | 
        
Check whether this accu is able to return a result.
Always true here.
| bool mln::accu::internal::base< bool , lor >::subj_ | ( | ) |  [inherited] | 
        
| void mln::Accumulator< lor >::take_as_init | ( | const T & | t | ) |  [inherited] | 
        
Take as initialization the value t. 
Dev note: this is a final method; override if needed by take_as_init_ (ending with '_').
| void mln::Accumulator< lor >::take_as_init_ | ( | const T & | t | ) |  [inherited] | 
        
Default implementation of "take as initialization".
| void mln::Accumulator< lor >::take_n_times | ( | unsigned | n, | |
| const T & | t | |||
| ) |  [inherited] | 
        
Take n times the value t. 
Dev note: this is a final method; override if needed by take_as_init_ (ending with '_').
| void mln::Accumulator< lor >::take_n_times_ | ( | unsigned | n, | |
| const T & | t | |||
| ) |  [inherited] | 
        
Default implementation of "take n times".
| bool mln::accu::logic::lor::to_result | ( | ) |  const [inline] | 
        
Get the value of the accumulator.
References ntrue_.
unsigned mln::accu::logic::lor::ntrue_ [protected] | 
        
Referenced by init(), take(), take_as_init_(), to_result(), and untake().
 1.7.1