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

#include <SIM_DataFilter.h>

+ Inheritance diagram for SIM_DataFilter:

Public Member Functions

 SIM_DataFilter ()
 
virtual ~SIM_DataFilter ()
 
 SIM_DataFilter (const SIM_DataFilter &)
 
virtual bool acceptData (const SIM_Data *data, const char *dataname) const =0
 

Detailed Description

This class is used to filter SIM_Data. This class or its subclasses are used in the SIM_Data::filterSubData(), SIM_Data::filterConstSubData(), SIM_Data::getFirstSubData(), SIM_Data::getFirstConstSubData(), SIM_Data::forEachSubData(), and SIM_Data::forEachConstSubData() functions.

Definition at line 24 of file SIM_DataFilter.h.

Constructor & Destructor Documentation

SIM_DataFilter::SIM_DataFilter ( )
inlineexplicit

Definition at line 27 of file SIM_DataFilter.h.

virtual SIM_DataFilter::~SIM_DataFilter ( )
inlinevirtual

Definition at line 29 of file SIM_DataFilter.h.

SIM_DataFilter::SIM_DataFilter ( const SIM_DataFilter )
inline

Definition at line 31 of file SIM_DataFilter.h.

Member Function Documentation

virtual bool SIM_DataFilter::acceptData ( const SIM_Data data,
const char *  dataname 
) const
pure virtual

Override this function to decide what data is accepted and what is rejected. The name parameter is the path of the data relative to the root of the search that is calling this filter.

Implemented in SIM_DataFilterRootData, SIM_DataFilterNot, SIM_DataFilterAnd, SIM_DataFilterOr, SIM_DataFilterNth, SIM_DataFilterByUniqueId, SIM_DataFilterByName, SIM_DataFilterByType, SIM_DataFilterNone, and SIM_DataFilterAll.


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