HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GA_RTIFilterObject Class Referenceabstract

Filter to test whether an offset is valid for a GA_RTIFiltered range. More...

#include <GA_RTIFiltered.h>

Public Member Functions

 GA_RTIFilterObject ()
 
virtual ~GA_RTIFilterObject ()
 
virtual bool filter (const GA_IndexMap &map, GA_Offset offset) const =0
 
virtual bool isEqual (const GA_RTIFilterObject *src) const =0
 
void incref ()
 
void decref ()
 

Detailed Description

Filter to test whether an offset is valid for a GA_RTIFiltered range.

This class defines a simple interface to test whether offsets are valid for a given range. The objects should be processed through the intrusive pointer typedef. For example

class MyFilter : public GA_RTIFilterObject { ... }
...
const GA_Range &source_range;
GA_RTIFiltered range(source_range, GA_RTIFilterHandle(new MyFilter));

Definition at line 37 of file GA_RTIFiltered.h.

Constructor & Destructor Documentation

GA_RTIFilterObject::GA_RTIFilterObject ( )
virtual GA_RTIFilterObject::~GA_RTIFilterObject ( )
virtual

Member Function Documentation

void GA_RTIFilterObject::decref ( )
inline

Definition at line 47 of file GA_RTIFiltered.h.

virtual bool GA_RTIFilterObject::filter ( const GA_IndexMap map,
GA_Offset  offset 
) const
pure virtual
void GA_RTIFilterObject::incref ( )
inline

Definition at line 46 of file GA_RTIFiltered.h.

virtual bool GA_RTIFilterObject::isEqual ( const GA_RTIFilterObject src) const
pure virtual

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