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

#include <SIM_DataFilter.h>

+ Inheritance diagram for SIM_DataFilterAnd:

Public Member Functions

 SIM_DataFilterAnd (const SIM_DataFilter &filter1, const SIM_DataFilter &filter2)
virtual ~SIM_DataFilterAnd ()
 SIM_DataFilterAnd (const SIM_DataFilterAnd &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 intersection of two other filters. If both accept the data, then this filter accepts the data.

Definition at line 223 of file SIM_DataFilter.h.

Constructor & Destructor Documentation

SIM_DataFilterAnd::SIM_DataFilterAnd ( const SIM_DataFilter filter1,
const SIM_DataFilter filter2 

Definition at line 226 of file SIM_DataFilter.h.

virtual SIM_DataFilterAnd::~SIM_DataFilterAnd ( )

Definition at line 231 of file SIM_DataFilter.h.

SIM_DataFilterAnd::SIM_DataFilterAnd ( const SIM_DataFilterAnd src)

Definition at line 233 of file SIM_DataFilter.h.

Member Function Documentation

virtual bool SIM_DataFilterAnd::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 239 of file SIM_DataFilter.h.

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