24 #ifndef PXR_BASE_TF_PATTERN_MATCHER_H
25 #define PXR_BASE_TF_PATTERN_MATCHER_H
64 bool caseSensitive =
false,
65 bool isGlob =
false );
76 return _caseSensitive;
122 void _Compile()
const;
127 mutable bool _recompile;
134 #endif // PXR_BASE_TF_PATTERN_MATCHER_H
TF_API TfPatternMatcher & operator=(TfPatternMatcher &&)=default
TF_API TfPatternMatcher()
Construct an empty (invalid) TfPatternMatcher.
TF_API std::string GetInvalidReason() const
If IsValid() returns true, this will return the reason why (if any).
TF_API void SetPattern(const std::string &pattern)
Set the pattern that this matcher will use to match against.
TF_API const std::string & GetPattern() const
Returns the matcher's pattern string.
bool IsCaseSensitive() const
TF_API void SetIsCaseSensitive(bool sensitive)
Set this matcher to match case-sensitively or not.
GLsizei const GLchar *const * string
TF_API ~TfPatternMatcher()
Destructor.
bool IsGlobPattern() const
TF_API bool Match(const std::string &query, std::string *errorMsg=NULL) const
TF_API void SetIsGlobPattern(bool isGlob)
TF_API bool IsValid() const
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE