12 #ifndef __OP_BundlePattern__
13 #define __OP_BundlePattern__
31 int argc()
const {
return myPatterns.entries(); }
32 const char *
argv(
int i)
const
34 return myPatterns(i).org_str;
40 bool hasPattern(
const char *str)
const;
42 bool match(
const OP_Node *node,
const char *relativepath,
43 bool assume_kids_included)
const;
47 bool matchNode(
const OP_Node *node,
48 const char *relativetopath,
49 bool result_if_no_match,
69 const char *myPatternToken;
85 PlainPatternMap myPlainPatterns;
86 PlainPatternMap myRelPatterns;
const char * argv(int i) const
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
bool isNullPattern() const
bool isAllPattern() const