My Project
Public Member Functions | Protected Attributes | List of all members
DoHandleTest< T > Class Template Reference

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
 

Detailed Description

template<typename T>
class alvar::DoHandleTest< T >

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.

Definition at line 187 of file EC.h.


The documentation for this class was generated from the following file: