HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_PythonPanelInterface.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_PythonPanelInterface_h__
10 #define __HOM_PythonPanelInterface_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_Errors.h"
15 #include "HOM_Module.h"
16 #include "HOM_PtrOrNull.h"
17 #include "HOM_EnumModules.h"
18 //#include <UT/UT_Options.h>
19 #include <string>
20 #include <vector>
21 
22 SWIGOUT(%rename(PythonPanelInterface) HOM_PythonPanelInterface;)
23 
25 {
26 public:
28  { HOM_CONSTRUCT_OBJECT(this) }
30  { HOM_CONSTRUCT_OBJECT(this) }
32  { HOM_DESTRUCT_OBJECT(this) }
33 
34  virtual bool operator==(HOM_PtrOrNull<HOM_PythonPanelInterface> interface) = 0;
35  virtual bool operator!=(HOM_PtrOrNull<HOM_PythonPanelInterface> interface) = 0;
36 
37  virtual int __hash__() = 0;
38  virtual std::string __repr__() = 0;
39 
40  SWIGOUT(%warnfilter(321) id;)
41  virtual int id() const = 0;
42 
43  virtual std::string name() const = 0;
44  virtual void setName(const char *name) = 0;
45 
46  virtual std::string label() const = 0;
47  virtual void setLabel(const char *label) = 0;
48 
49  virtual std::string icon() const = 0;
50  virtual void setIcon(const char *icon) = 0;
51 
52  virtual std::string script() const = 0;
53  virtual void setScript(const char *script) = 0;
54 
55  virtual std::string help() const = 0;
56  virtual void setHelp(const char *script) = 0;
57 
58  virtual std::string helpURL() const = 0;
59  virtual void setHelpURL(const char *script) = 0;
60 
61  virtual std::string filePath() const = 0;
62  virtual void setFilePath(const char *filePath) = 0;
63 };
64 
65 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1303
HOM_PythonPanelInterface(const HOM_PythonPanelInterface &)
GLuint GLsizei const GLchar * label
Definition: glcorearb.h:2545
virtual std::string icon() const =0
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
std::string help(const App *app, const Error &e)
Printout the full help string on error (if this fn is set, the old default for CLI11) ...
Definition: CLI11.h:8978
virtual void setIcon(const char *icon)=0
#define HOM_API
Definition: HOM_API.h:13
virtual std::string helpURL() const =0
virtual void setFilePath(const char *filePath)=0
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1302
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
Definition: Mat3.h:556
GLuint const GLchar * name
Definition: glcorearb.h:786
virtual void setHelp(const char *script)=0
virtual std::string script() const =0
virtual void setName(const char *name)=0
virtual void setHelpURL(const char *script)=0
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
virtual void setScript(const char *script)=0
virtual std::string filePath() const =0
virtual void setLabel(const char *label)=0
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.
Definition: Mat3.h:542
virtual int __hash__()=0