HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GA_AttributeRefMap::FilterPattern Class Reference

#include <GA_AttributeRefMap.h>

+ Inheritance diagram for GA_AttributeRefMap::FilterPattern:

Public Member Functions

 FilterPattern (const char *pattern, bool matchPw=false)
 
 ~FilterPattern () override
 
bool match (const GA_Attribute *a) const override
 
- Public Member Functions inherited from GA_AttributeFilterImpl
 GA_AttributeFilterImpl ()
 
virtual ~GA_AttributeFilterImpl ()
 
virtual bool terminateAfterFirstMatch () const
 
- Public Member Functions inherited from UT_IntrusiveRefCounter< GA_AttributeFilterImpl >
SYS_FORCE_INLINE UT_IntrusiveRefCounter () noexcept
 Default constructor: Sets counter to 0. More...
 
SYS_FORCE_INLINE UT_IntrusiveRefCounter (const UT_IntrusiveRefCounter &) noexcept
 Copy constructor: Sets counter to 0. More...
 
UT_IntrusiveRefCounteroperator= (const UT_IntrusiveRefCounter &) noexcept
 Assignment operator: Does not modify counter. More...
 
SYS_FORCE_INLINE uint32 use_count () const noexcept
 Return current counter. More...
 
SYS_FORCE_INLINE bool conditionalAddRef () noexcept
 

Public Attributes

const char *const myPattern
 
const bool myMatchPw
 

Additional Inherited Members

- Protected Member Functions inherited from UT_IntrusiveRefCounter< GA_AttributeFilterImpl >
SYS_FORCE_INLINE ~UT_IntrusiveRefCounter ()
 Destructor: Only derived classes can destruct this. More...
 
- Static Protected Member Functions inherited from GA_AttributeFilterImpl
template<typename T >
static bool isType (const GA_Attribute *atr)
 

Detailed Description

A specialized filter that can match multiple attributes in a space-separated string, and will accept "Pw" in the pattern to refer to the "P" attribute, if there's no "Pw" attribute.

Definition at line 778 of file GA_AttributeRefMap.h.

Constructor & Destructor Documentation

GA_AttributeRefMap::FilterPattern::FilterPattern ( const char *  pattern,
bool  matchPw = false 
)
inline

Definition at line 782 of file GA_AttributeRefMap.h.

GA_AttributeRefMap::FilterPattern::~FilterPattern ( )
inlineoverride

Definition at line 787 of file GA_AttributeRefMap.h.

Member Function Documentation

bool GA_AttributeRefMap::FilterPattern::match ( const GA_Attribute a) const
inlineoverridevirtual

Implements GA_AttributeFilterImpl.

Definition at line 788 of file GA_AttributeRefMap.h.

Member Data Documentation

const bool GA_AttributeRefMap::FilterPattern::myMatchPw

Definition at line 803 of file GA_AttributeRefMap.h.

const char* const GA_AttributeRefMap::FilterPattern::myPattern

Definition at line 802 of file GA_AttributeRefMap.h.


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