All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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)
 ~SIM_DataFilterOr () override
 SIM_DataFilterOr (const SIM_DataFilterOr &src)
bool acceptData (const SIM_Data *data, const char *dataname) const override
- 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 

Definition at line 194 of file SIM_DataFilter.h.

SIM_DataFilterOr::~SIM_DataFilterOr ( )

Definition at line 199 of file SIM_DataFilter.h.

SIM_DataFilterOr::SIM_DataFilterOr ( const SIM_DataFilterOr src)

Definition at line 201 of file SIM_DataFilter.h.

Member Function Documentation

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

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: