HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_Gallery.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  * COMMENTS:
7  */
8 
9 #ifndef __HOM_Gallery_h__
10 #define __HOM_Gallery_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_Module.h"
15 #include "HOM_Errors.h"
16 #include "HOM_ElemPtr.h"
17 #include <vector>
18 
19 class HOM_NodeType;
20 class HOM_GalleryEntry;
21 
22 SWIGOUT(%rename(Gallery) HOM_Gallery;)
23 
25 {
26 public:
28  { HOM_CONSTRUCT_OBJECT(this) }
30  { HOM_CONSTRUCT_OBJECT(this) }
31  virtual ~HOM_Gallery()
32  { HOM_DESTRUCT_OBJECT(this) }
33 
34  virtual std::string __repr__() = 0;
35 
36  SWIGOUT(%kwargs galleryEntries;)
37  virtual std::vector<HOM_ElemPtr<HOM_GalleryEntry> > galleryEntries(
38  const char *name_pattern = NULL,
39  const char *label_pattern = NULL,
40  const char *keyword_pattern = NULL,
41  const char *category = NULL,
42  HOM_NodeType *node_type = NULL) = 0;
43 
44  SWIGOUT(%newobject createEntry;)
45  virtual HOM_GalleryEntry *createEntry(const char *entry_name,
46  HOM_Node *node = NULL) = 0;
47 
48  virtual void deleteEntry(const char *entry_name) = 0;
49 };
50 
51 #endif
52 
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1303
GLsizei const GLchar *const * string
Definition: glcorearb.h:814
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:349
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1302
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)