BALL
1.4.79
|
#include <BALL/KERNEL/predicate.h>
Public Member Functions | |
virtual | ~KernelPredicate () |
KernelPredicates Kernel predicates | |
This chapter describes a set of unary predicates acting on Composite instances, that can be used to identify the class type of a composite at runtime.
-operator (const Composite&) -operator (const Composite&) const The two operators are functionally identical (two methods are needed, because the class is derived from TUnaryPredicate and we want to make sure both methods are overwritten). operator() returns true, if the given composite is a kind of the class corresponding to the respective predicate, false otherwise.
| |
virtual bool | operator() (const Composite &composite) const |
Constant virtual RTTI evaluation operator. More... | |
Public Member Functions inherited from BALL::UnaryPredicate< Composite > | |
virtual | ~UnaryPredicate () |
Definition at line 75 of file KERNEL/predicate.h.
|
inlinevirtual |
Definition at line 82 of file KERNEL/predicate.h.
|
inlinevirtual |
Constant virtual RTTI evaluation operator.
Reimplemented from BALL::UnaryPredicate< Composite >.
Definition at line 140 of file KERNEL/predicate.h.