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 #include <UT/UT_NonCopyable.h>
16 
17 SWIGOUT(%rename(ViewerStateContext) HOM_ViewerStateContext;)
18 SWIGOUT(%feature("notabstract") HOM_ViewerStateContext;)
19 
21 {
22 public:
23 #ifdef SWIG
24 %extend
25 {
27  {
28  return HOM().newViewerStateContext(val);
29  }
30 }
31 #else
33  {
35  }
36 #endif
37 
39  {
40  HOM_DESTRUCT_OBJECT(this)
41  }
42 
43  // SWIG has problems with parsing deleted operator=()
44 #ifndef SWIG
46 #endif
47 
48  virtual std::string __repr__() = 0;
49 };
50 
51 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1291
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_ViewerStateContext * newViewerStateContext(int64 val)=0
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1290
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
long long int64
Definition: SYS_Types.h:116
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
GLuint GLfloat * val
Definition: glcorearb.h:1608
HOM_API HOM_Module & HOM()