#include <predicates.hpp>
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 |
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.
type_is | ( | ) |
type_is | ( | IDType | t | ) |
bool operator() | ( | T const & | t | ) |
bool operator() | ( | T const & | t, | |
IDType const & | id | |||
) |
IDType _t |