79 : myEventType( type ), myBundle( bundle ) {}
93 const char *
getName()
const {
return myName; }
102 void rename(
const char *name);
110 void nodeDeleted(
OP_Node *node);
118 void nodeAddedDeleted();
124 void otherBundleChanged(
const char *bundle_name);
158 void setStringPattern(
const char *
pattern );
163 return myPattern ? myPattern->buffer()
171 return myBundlePattern;
178 myPatternDirty =
true;
185 return myPattern && !myInternal;
192 void setSubnetInclusionFlag(
bool onoff);
196 {
return myPatternSubnetInclusion; }
201 int addOp(
int unique_id);
211 int removeOp(
int unique_id);
215 void refilterOp(
OP_Node &node);
224 void setLocked(
bool onoff);
237 const OP_Node *getPatternNode()
const;
240 const OP_Node *getRelativeNode()
const;
246 void sortByPointer();
260 int contains(
int unique_id,
bool check_representative);
279 const UT_IntArray &undoGetMembers()
const {
return myNodes; }
292 void addInterest(
int add_id);
296 void removeInterest(
int remove_id);
304 void addParmInterest(
int node_id,
int parm_id);
309 void removeParmInterest(
int node_id,
int parm_id);
316 int setPicked(
int on_off);
329 void convertToSmartBundle(
UT_String* finalpattern);
334 void setOpsFlag(
char flagchar,
int onoff,
335 bool propagate_to_ancestors =
false);
340 void setOpsVisibility(
bool onoff );
344 void syncOpOTLs(
bool sync_flag,
345 bool propagate_to_ancestors =
false);
354 bool checkAsteriskPattern(
int unique_id)
const;
372 void constructSinglePattern(
UT_String* resultpattern,
395 void getPathsByLength(
410 void convertToNormalBundle();
414 bool isNodeValid(
OP_Node *node,
415 const OP_Node *relativeto )
const;
417 void removeDuplicates();
425 void bundleEvaluated() { myNotifiedFlag = 0; }
436 void refreshPattern() {
437 if (myPatternDirty && myPattern)
442 void refresh() { refreshPattern(); removeDuplicates(); }
446 { myPathSortDirty = myPtrSortDirty = 1; }
452 bool containsAsRepresentative(
int unique_id);
486 myPatternSubnetInclusion:1,
GLuint const GLchar * name
OIIO_API bool rename(string_view from, string_view to, std::string &err)
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.
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
void bumpRefCount(int dir)
GLuint GLuint GLsizei GLenum type
bool OIIO_API contains(string_view a, string_view b)
Does 'a' contain the string 'b' within it?
const OP_BundleFilter * getFilter()
Returns the current node filter.
int getPicked() const
Returns the current pick (selected) flag.
UT_NotifierImpl< OP_BundleEvent & > & getEventNotifier()
int getRefCount() const
Returns the current reference count.
int getSubnetInclusionFlag() const
Obtains the subnet inclusion flag.
OP_BundleEvent(OP_EventType type, OP_Bundle &bundle)
GLenum const void * paths