API  4.2
For C++ developers
OpenSim::ComponentFilterAbsolutePathNameContainsString Class Reference

A component is considered a match if its absolute path name contains the given string. More...

+ Inheritance diagram for OpenSim::ComponentFilterAbsolutePathNameContainsString:

Public Member Functions

 ComponentFilterAbsolutePathNameContainsString (const std::string &substring)
 
bool isMatch (const Component &comp) const override
 This is the meat of the ComponentFilter, returns false if the passed in component should be skipped over. More...
 
ComponentFilterAbsolutePathNameContainsStringclone () const override
 clone() method needed to make a copy of the filter. More...
 
- Public Member Functions inherited from OpenSim::ComponentFilter
virtual ~ComponentFilter ()
 Destructor of ComponentFilter, does nothing. More...
 

Additional Inherited Members

- Protected Member Functions inherited from OpenSim::ComponentFilter
 ComponentFilter ()
 Default constructor of ComponentFilter, does nothing. More...
 

Detailed Description

A component is considered a match if its absolute path name contains the given string.

Constructor & Destructor Documentation

◆ ComponentFilterAbsolutePathNameContainsString()

OpenSim::ComponentFilterAbsolutePathNameContainsString::ComponentFilterAbsolutePathNameContainsString ( const std::string &  substring)
inline

Member Function Documentation

◆ clone()

ComponentFilterAbsolutePathNameContainsString* OpenSim::ComponentFilterAbsolutePathNameContainsString::clone ( ) const
inlineoverridevirtual

clone() method needed to make a copy of the filter.

Implements OpenSim::ComponentFilter.

◆ isMatch()

bool OpenSim::ComponentFilterAbsolutePathNameContainsString::isMatch ( const Component comp) const
overridevirtual

This is the meat of the ComponentFilter, returns false if the passed in component should be skipped over.

Implements OpenSim::ComponentFilter.


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