9 #ifndef __PDG_ATTRIBUTE_PATTERN_H__
10 #define __PDG_ATTRIBUTE_PATTERN_H__
108 MatchType default_match_type=eMatchPlain,
110 const char* delimiters=
" \t\n\r");
115 MatchType default_match_type=eMatchPlain,
122 MatchType default_match_type=eMatchPlain,
145 bool keep_plain)
const;
154 bool keep_plain)
const;
158 struct AttributeMatch
175 void addPattern(
bool exclude,
177 MatchType match_type,
179 bool matches(
const AttributeMatch& match,
182 bool matches(ComponentMatch& components,
183 const AttributeMatch& match,
192 MatchType myDefaultMatchType;
195 const char* myDelimiters;
198 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.
GLint GLint GLsizei GLint GLenum GLenum type
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?