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

#include <SIM_DataFilter.h>

+ Inheritance diagram for SIM_DataFilterByType:

Public Member Functions

 SIM_DataFilterByType (const char *datatype)
 
virtual ~SIM_DataFilterByType ()
 
 SIM_DataFilterByType (const SIM_DataFilterByType &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 type. Any data that can be cast to the data type specified in the constructor is accepted.

Examples:
SIM/SIM_SolverHair.C.

Definition at line 83 of file SIM_DataFilter.h.

Constructor & Destructor Documentation

SIM_DataFilterByType::SIM_DataFilterByType ( const char *  datatype)
inlineexplicit

Definition at line 86 of file SIM_DataFilter.h.

virtual SIM_DataFilterByType::~SIM_DataFilterByType ( )
inlinevirtual

Definition at line 89 of file SIM_DataFilter.h.

SIM_DataFilterByType::SIM_DataFilterByType ( const SIM_DataFilterByType src)
inline

Definition at line 91 of file SIM_DataFilter.h.

Member Function Documentation

virtual bool SIM_DataFilterByType::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: