HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SIM_DataFilterOr Class Reference

#include <SIM_DataFilter.h>

+ Inheritance diagram for SIM_DataFilterOr:

Public Member Functions

 SIM_DataFilterOr (const SIM_DataFilter &filter1, const SIM_DataFilter &filter2)
 
virtual ~SIM_DataFilterOr ()
 
 SIM_DataFilterOr (const SIM_DataFilterOr &src)
 
virtual bool acceptData (const SIM_Data *data, const char *dataname) const
 
- Public Member Functions inherited from SIM_DataFilter
 SIM_DataFilter ()
 
virtual ~SIM_DataFilter ()
 
 SIM_DataFilter (const SIM_DataFilter &)
 

Detailed Description

This implementation returns the union of two other filters. If either one accepts the data, then this filter accepts the data.

Definition at line 191 of file SIM_DataFilter.h.

Constructor & Destructor Documentation

SIM_DataFilterOr::SIM_DataFilterOr ( const SIM_DataFilter filter1,
const SIM_DataFilter filter2 
)
inlineexplicit

Definition at line 194 of file SIM_DataFilter.h.

virtual SIM_DataFilterOr::~SIM_DataFilterOr ( )
inlinevirtual

Definition at line 199 of file SIM_DataFilter.h.

SIM_DataFilterOr::SIM_DataFilterOr ( const SIM_DataFilterOr src)
inline

Definition at line 201 of file SIM_DataFilter.h.

Member Function Documentation

virtual bool SIM_DataFilterOr::acceptData ( const SIM_Data data,
const char *  dataname 
) const
inlinevirtual

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.

Implements SIM_DataFilter.

Definition at line 207 of file SIM_DataFilter.h.


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