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