HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_ViewerStateContext.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_ViewerStateContext_h
10 #define HOM_ViewerStateContext_h
11 
12 #include "HOM_API.h"
13 #include "HOM_Module.h"
14 #include "HOM_GadgetContext.h"
15 
16 SWIGOUT(%rename(ViewerStateContext) HOM_ViewerStateContext;)
17 SWIGOUT(%feature("notabstract") HOM_ViewerStateContext;)
18 
20 {
21 public:
22 #ifdef SWIG
23 %extend
24 {
26  {
27  return HOM().newViewerStateContext(val);
28  }
29 }
30 #else
32  {
34  }
35 #endif
36 
38  {
39  HOM_DESTRUCT_OBJECT(this)
40  }
41 
42  virtual std::string __repr__() = 0;
43 };
44 
45 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1210
GLuint const GLfloat * val
Definition: glew.h:2794
OIIO_API bool rename(string_view from, string_view to, std::string &err)
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:349
virtual HOM_ViewerStateContext * newViewerStateContext(int64 val)=0
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1209
long long int64
Definition: SYS_Types.h:116
GLsizei const GLchar *const * string
Definition: glew.h:1844
HOM_API HOM_Module & HOM()