HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GSTY_BundleMap.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: GSTY_BundleMap.h ( GSTY Library, C++)
7  *
8  * COMMENTS:
9  */
10 
11 #ifndef __GSTY_BundleMap__
12 #define __GSTY_BundleMap__
13 
14 #include "GSTY_API.h"
15 #include <UT/UT_StringMap.h>
16 #include <UT/UT_StringSet.h>
17 
18 class OP_Node;
19 
21 {
22 public:
24  virtual ~GSTY_BundleMap();
25 
26  /// Adds an array of names to the supplied bundle name.
27  void add(const UT_StringHolder &bundle_name,
28  const char * const *names,
29  int num_names);
30  /// This function is not implemented at this level. If you want to make
31  /// use of real OP_Bundles, use the SOP_BundleMap subclass instead of
32  /// a GSTY_BundleMap.
33  virtual void add(OP_Node *node);
34 
35  /// Removes a bundle from the map.
36  void remove(const UT_StringHolder &bundle);
37 
38  /// Checks if the specified bundle contains the specified name.
39  bool hasName(const UT_StringRef &bundle_name,
40  const UT_StringRef &name) const;
41 
42 protected:
44 };
45 
46 #endif
47 
#define GSTY_API
Definition: GSTY_API.h:10
GLuint const GLchar * name
Definition: glcorearb.h:786
UT_StringMap< UT_StringSet > myBundles
ImageBuf OIIO_API add(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)