11 #ifndef __OP_BundleList__
12 #define __OP_BundleList__
46 : myEventType( type ), myBundle( bundle ) {}
65 int entries()
const {
return myBundles.entries(); }
75 void getBundlesByPattern(
const char *
pattern,
100 int destroyBundle(
const char *
name);
101 int destroyBundle(
int index);
108 char * findUniqueBundleName(
const char *base = NULL);
109 int renameBundle(
const char *oldname,
const char *newname);
115 int getMemberships(
const OP_Node *node,
133 void bundleSetLock(
OP_Bundle *bundle,
bool lock );
183 void nodeDeleted(
OP_Node *node);
188 void nodeRenamed(
OP_Node *node);
193 void refilterOp(
OP_Node &node);
274 const char *
label = 0,
275 bool subnet_inclusion =
true,
281 void deReferenceBundle(
const UT_StringRef &prev_bundle);
320 int saveToHip(std::ostream &os);
332 int include_at_sign=1,
333 int put_in_default_message=1);
340 void notifyOpsOfGroupChange(
OP_Group *group);
348 void dumpFilters(std::ostream &os);
352 void notifyBundleChange(
const char *
name);
355 void notifyBundleDeletion(
OP_Bundle *bundle);
363 bool getSortedPatternTokenNodes(
365 const char *pattern_token,
412 void saveMemberships(
OP_Node *node );
415 void restoreMemberships(
OP_Node *node );
418 int64 getMemoryUsage()
const;
421 int getNumBundles()
const;
GLuint GLsizei const GLchar * label
OP_BundleListEventType myEventType
int internalEntries() const
Returns the number of internal bundles.
UT_NotifierImpl< OP_BundleListEvent & > & getEventNotifier()
GLuint const GLchar * name
OP_Bundle * getInternalBundle(int i)
Returns the i-th internal bundle.
int entries() const
Returns the number of non-internal bundles.
OP_BundleListEvent(OP_BundleListEventType type, OP_Bundle &bundle)
ImageBuf OIIO_API max(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)
**If you just want to fire and args
OP_Bundle * getBundle(int i)
Returns the i-th non-internal bundle.
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter