9 #ifndef __PDG_ATTRIBUTE_PATTERN_H__
10 #define __PDG_ATTRIBUTE_PATTERN_H__
107 MatchType default_match_type=eMatchPlain,
113 MatchType default_match_type=eMatchPlain,
120 MatchType default_match_type=eMatchPlain,
143 bool keep_plain)
const;
152 bool keep_plain)
const;
156 struct AttributeMatch
173 void addPattern(
bool exclude,
175 MatchType match_type,
177 bool matches(
const AttributeMatch& match,
180 bool matches(ComponentMatch& components,
181 const AttributeMatch& match,
190 MatchType myDefaultMatchType;
193 bool myHasExclusions;
The pattern is a string name with both a prefix and suffix.
The pattern is a * followed by a string name.
Undefined or uninitialized attribute type.
The pattern is a string name, followed by a *.
void reset(const UT_StringHolder &pattern)
Resets the pattern.
PDG_AttributeType
Enumeration of possible attribute types.
GLuint const GLchar * name
MatchType
For compound matching, e.g. foobar or bin*:float.
bool OIIO_UTIL_API contains(string_view a, string_view b)
Does 'a' contain the string 'b' within it?