78 : myEventType( type ), myBundle( bundle ) {}
101 void rename(
const char *name);
109 void nodeDeleted(
OP_Node *node);
117 void nodeAddedDeleted();
123 void otherBundleChanged(
const char *bundle_name);
157 void setStringPattern(
const char *
pattern );
162 return myPattern ? myPattern->buffer()
170 return myBundlePattern;
177 myPatternDirty =
true;
184 return myPattern && !myInternal;
191 void setSubnetInclusionFlag(
bool onoff);
195 {
return myPatternSubnetInclusion; }
199 void setIgnoreCase(
bool onoff);
203 {
return myIgnoreCase; }
208 int addOp(
int unique_id);
218 int removeOp(
int unique_id);
222 void refilterOp(
OP_Node &node);
231 void setLocked(
bool onoff);
244 const OP_Node *getPatternNode()
const;
247 const OP_Node *getRelativeNode()
const;
253 void sortByPointer();
267 int contains(
int unique_id,
bool check_representative);
299 void addInterest(
int add_id);
303 void removeInterest(
int remove_id);
311 void addParmInterest(
int node_id,
int parm_id);
316 void removeParmInterest(
int node_id,
int parm_id);
320 static void notifyOpsOfGroupChange(
OP_Group *group);
323 int setPicked(
int on_off);
336 void convertToSmartBundle(
UT_String* finalpattern);
341 void setOpsFlag(
char flagchar,
int onoff,
342 bool propagate_to_ancestors =
false);
347 void setOpsVisibility(
bool onoff );
351 void syncOpOTLs(
bool sync_flag,
352 bool propagate_to_ancestors =
false);
361 bool checkAsteriskPattern(
int unique_id)
const;
379 void constructSinglePattern(
UT_String* resultpattern,
402 void getPathsByLength(
417 void convertToNormalBundle();
421 bool isNodeValid(
OP_Node *node,
422 const OP_Node *relativeto )
const;
424 void removeDuplicates();
432 void bundleEvaluated() { myNotifiedFlag = 0; }
443 void refreshPattern() {
444 if (myPatternDirty && myPattern)
449 void refresh() { refreshPattern(); removeDuplicates(); }
453 { myPathSortDirty = myPtrSortDirty = 1; }
459 bool containsAsRepresentative(
int unique_id);
493 myPatternSubnetInclusion:1,
bool getIgnoreCase() const
Obtains the ignore case flag.
void setBundlePatternDirty()
Mark the bundle pattern as dirty.
const OP_BundlePattern * getBundlePattern() const
const char * getStringPattern() const
Returns the pattern originally set on the bundle.
GLint GLint GLsizei GLint GLenum GLenum type
void bumpRefCount(int dir)
const UT_StringHolder & getName() const
Obtains the unique name of the bungle.
GLuint const GLchar * name
const OP_BundleFilter * getFilter()
Returns the current node filter.
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
int getPicked() const
Returns the current pick (selected) flag.
UT_NotifierImpl< OP_BundleEvent & > & getEventNotifier()
int getRefCount() const
Returns the current reference count.
bool OIIO_UTIL_API contains(string_view a, string_view b)
Does 'a' contain the string 'b' within it?
int getSubnetInclusionFlag() const
Obtains the subnet inclusion flag.
OP_BundleEvent(OP_EventType type, OP_Bundle &bundle)
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter