type_is Struct Template Reference

Type predicate. More...

#include <predicates.hpp>

List of all members.

Public Member Functions

 type_is ()
 type_is (IDType t)
template<typename T>
bool operator() (T const &t)
template<typename T>
bool operator() (T const &t, IDType const &id)

Public Attributes

IDType _t


Detailed Description

template<typename IDType>
struct BTK::ALGORITHMS::type_is< IDType >

Type predicate.

Returns true iff the target object has a particular type. Because type IDs can be any class, structure or value type in the BTK, this predicate is a template, parameterized on the type ID type of the target object.


Constructor & Destructor Documentation

type_is (  ) 

type_is ( IDType  t  ) 


Member Function Documentation

bool operator() ( T const &  t  ) 

bool operator() ( T const &  t,
IDType const &  id 
)


Member Data Documentation

IDType _t


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