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)
 
virtual ~FilterPattern ()
 
virtual bool match (const GA_Attribute *a) const
 
- 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 ()
 Default constructor: Sets counter to 0. More...
 
SYS_FORCE_INLINE UT_IntrusiveRefCounter (const UT_IntrusiveRefCounter &)
 Copy constructor: Sets counter to 0. More...
 
UT_IntrusiveRefCounteroperator= (const UT_IntrusiveRefCounter &)
 Assignment operator: Does not modify counter. More...
 
SYS_FORCE_INLINE uint32 use_count () const
 Return current counter. More...
 

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 608 of file GA_AttributeRefMap.h.

Constructor & Destructor Documentation

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

Definition at line 612 of file GA_AttributeRefMap.h.

virtual GA_AttributeRefMap::FilterPattern::~FilterPattern ( )
inlinevirtual

Definition at line 617 of file GA_AttributeRefMap.h.

Member Function Documentation

virtual bool GA_AttributeRefMap::FilterPattern::match ( const GA_Attribute a) const
inlinevirtual

Implements GA_AttributeFilterImpl.

Definition at line 618 of file GA_AttributeRefMap.h.

Member Data Documentation

const bool GA_AttributeRefMap::FilterPattern::myMatchPw

Definition at line 633 of file GA_AttributeRefMap.h.

const char* const GA_AttributeRefMap::FilterPattern::myPattern

Definition at line 632 of file GA_AttributeRefMap.h.


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