STK++ 0.9.13
|
Visitor checking if at least, one element of an array is different from zero. More...
#include <STK_Visitors.h>
Public Types | |
typedef bool | Type |
typedef bool const & | TypeConst |
Public Member Functions | |
AnyVisitor () | |
void | operator() (Type_ const &value, int i, int j) |
void | operator() (Type_ const &value, int i) |
TypeConst | result () const |
Public Attributes | |
bool | res_ |
Visitor checking if at least, one element of an array is different from zero.
For example:
bool f = (A == 2).any()
Definition at line 339 of file STK_Visitors.h.
typedef bool STK::hidden::AnyVisitor< Type_ >::Type |
Definition at line 342 of file STK_Visitors.h.
typedef bool const& STK::hidden::AnyVisitor< Type_ >::TypeConst |
Definition at line 343 of file STK_Visitors.h.
|
inline |
Definition at line 344 of file STK_Visitors.h.
|
inline |
Definition at line 346 of file STK_Visitors.h.
References STK::hidden::AnyVisitor< Type_ >::res_.
|
inline |
Definition at line 345 of file STK_Visitors.h.
References STK::hidden::AnyVisitor< Type_ >::res_.
|
inline |
bool STK::hidden::AnyVisitor< Type_ >::res_ |
Definition at line 341 of file STK_Visitors.h.
Referenced by STK::hidden::AnyVisitor< Type_ >::operator()(), STK::hidden::AnyVisitor< Type_ >::operator()(), and STK::hidden::AnyVisitor< Type_ >::result().