HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_pypanel.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_pypanel_h__
10 #define __HOM_pypanel_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_Errors.h"
15 #include "HOM_ElemPtr.h"
16 #include "HOM_EnumModules.h"
17 //#include <UT/UT_Experimental.h>
18 #include <map>
19 #include <vector>
20 #include <string>
21 
22 
24 
25 SWIGOUT(%rename(pypanel) HOM_pypanel;)
26 
28 {
29 public:
30  virtual ~HOM_pypanel(){}
31 
32  virtual std::string __repr__() = 0;
33 
34  virtual void installFile(const char *file_path) const = 0;
35 
36  virtual std::vector<HOM_ElemPtr<HOM_PythonPanelInterface> >
37  interfacesInFile(const char* file_path) = 0;
38 
39  virtual std::map<std::string, HOM_ElemPtr<HOM_PythonPanelInterface> >
40  interfaces() = 0;
41 
42  SWIGOUT(%newobject interfaceByName;)
43  virtual HOM_PythonPanelInterface* interfaceByName(const char* name) = 0;
44 
45  virtual void setMenuInterfaces(std::vector<std::string> names) const = 0;
46 
47  virtual std::vector<std::string> menuInterfaces() = 0;
48 };
49 
50 #endif
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:352
virtual ~HOM_pypanel()
Definition: HOM_pypanel.h:30
#define HOM_API
Definition: HOM_API.h:13
GLuint const GLchar * name
Definition: glcorearb.h:786
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)