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

#include <SIM_DataFilter.h>

+ Inheritance diagram for SIM_DataFilterByName:

Public Member Functions

 SIM_DataFilterByName (const char *pattern)
 ~SIM_DataFilterByName () override
 SIM_DataFilterByName (const SIM_DataFilterByName &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 filters data based on its name. Any data that matches the pattern specified in the constructor is accepted. Pattern matching is case sensitive.

Definition at line 106 of file SIM_DataFilter.h.

Constructor & Destructor Documentation

SIM_DataFilterByName::SIM_DataFilterByName ( const char *  pattern)

Definition at line 109 of file SIM_DataFilter.h.

SIM_DataFilterByName::~SIM_DataFilterByName ( )

Definition at line 112 of file SIM_DataFilter.h.

SIM_DataFilterByName::SIM_DataFilterByName ( const SIM_DataFilterByName src)

Definition at line 114 of file SIM_DataFilter.h.

Member Function Documentation

bool SIM_DataFilterByName::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.

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