![]() |
My Project
|
This is a default functor for testing which items in the container should be handled by each method. More...
#include <EC.h>
Public Member Functions | |
DoHandleTest (int _type_id=-1, bool _needs_has_p2d=false, bool _needs_has_p3d=false) | |
virtual bool | operator() (const T &f) const |
Protected Attributes | |
int | type_id |
bool | needs_has_p2d |
bool | needs_has_p3d |
This is a default functor for testing which items in the container should be handled by each method.
By default this only tests that the only the type_id. If you specify type_id that is not -1 then the functor tests that the item's type_id matches. Naturally you can make whatever tests in your own functors.