HDK
 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)
 
virtual ~SIM_DataFilterByName ()
 
 SIM_DataFilterByName (const SIM_DataFilterByName &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 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)
inlineexplicit

Definition at line 109 of file SIM_DataFilter.h.

virtual SIM_DataFilterByName::~SIM_DataFilterByName ( )
inlinevirtual

Definition at line 112 of file SIM_DataFilter.h.

SIM_DataFilterByName::SIM_DataFilterByName ( const SIM_DataFilterByName src)
inline

Definition at line 114 of file SIM_DataFilter.h.

Member Function Documentation

virtual bool SIM_DataFilterByName::acceptData ( const SIM_Data data,
const char *  dataname 
) const
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.

Implements SIM_DataFilter.


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