number_is Struct Template Reference

Number predicate. More...

#include <predicates.hpp>

List of all members.

Public Member Functions

 number_is ()
 number_is (NumType t)
template<typename T>
bool operator() (T const &t)
template<typename T>
bool operator() (T const &t, NumType const &n)

Public Attributes

NumType _number


Detailed Description

template<typename NumType = int>
struct BTK::ALGORITHMS::number_is< NumType >

Number predicate.

Returns true iff the target object has a particular number.


Constructor & Destructor Documentation

number_is (  ) 

number_is ( NumType  t  ) 


Member Function Documentation

bool operator() ( T const &  t  ) 

bool operator() ( T const &  t,
NumType const &  n 
)


Member Data Documentation

NumType _number


The documentation for this struct was generated from the following file:
Generated on Sun Jul 15 20:46:32 2007 for BTK Core by  doxygen 1.5.1