78 : myEventType( type ), myBundle( bundle ) {}
92 const char *
getName()
const {
return myName; }
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; }
200 int addOp(
int unique_id);
210 int removeOp(
int unique_id);
214 void refilterOp(
OP_Node &node);
223 void setLocked(
bool onoff);
236 const OP_Node *getPatternNode()
const;
239 const OP_Node *getRelativeNode()
const;
245 void sortByPointer();
259 int contains(
int unique_id,
bool check_representative);
291 void addInterest(
int add_id);
295 void removeInterest(
int remove_id);
303 void addParmInterest(
int node_id,
int parm_id);
308 void removeParmInterest(
int node_id,
int parm_id);
312 static void notifyOpsOfGroupChange(
OP_Group *group);
315 int setPicked(
int on_off);
328 void convertToSmartBundle(
UT_String* finalpattern);
333 void setOpsFlag(
char flagchar,
int onoff,
334 bool propagate_to_ancestors =
false);
339 void setOpsVisibility(
bool onoff );
343 void syncOpOTLs(
bool sync_flag,
344 bool propagate_to_ancestors =
false);
353 bool checkAsteriskPattern(
int unique_id)
const;
371 void constructSinglePattern(
UT_String* resultpattern,
394 void getPathsByLength(
409 void convertToNormalBundle();
413 bool isNodeValid(
OP_Node *node,
414 const OP_Node *relativeto )
const;
416 void removeDuplicates();
424 void bundleEvaluated() { myNotifiedFlag = 0; }
435 void refreshPattern() {
436 if (myPatternDirty && myPattern)
441 void refresh() { refreshPattern(); removeDuplicates(); }
445 { myPathSortDirty = myPtrSortDirty = 1; }
451 bool containsAsRepresentative(
int unique_id);
485 myPatternSubnetInclusion:1,
const char * getName() const
Obtains the unique name of the bungle.
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.
void bumpRefCount(int dir)
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