HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_EditableDopGeometryGuard.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_EditableDopGeometryGuard_h__
10 #define __HOM_EditableDopGeometryGuard_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Module.h"
14 
15 class HOM_Geometry;
16 
17 SWIGOUT(%rename(EditableDopGeometryGuard) HOM_EditableDopGeometryGuard;)
18 
20 {
21 public:
23  { HOM_CONSTRUCT_OBJECT(this) }
25  { HOM_CONSTRUCT_OBJECT(this) }
27  { HOM_DESTRUCT_OBJECT(this) }
28 
29  virtual std::string __repr__() = 0;
30 
31  SWIGOUT(%newobject __enter__;)
32  virtual HOM_Geometry *__enter__() = 0;
33 
34  SWIGOUT(%ignore opaqueExit;)
35  virtual void opaqueExit() = 0;
36 
37 #ifdef SWIG
38 %extend
39 {
40  // We can ignore the type, value, and traceback Python objects.
41  SWIGOUT(virtual void __exit__(
42  InterpreterObject type, InterpreterObject value,
43  InterpreterObject traceback)
44  { self->opaqueExit(); };)
45 }
46 #endif
47 
48 };
49 
50 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1303
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
#define HOM_API
Definition: HOM_API.h:13
void ignore(T const &) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:6508
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1302
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
Definition: core.h:1131
HOM_EditableDopGeometryGuard(const HOM_EditableDopGeometryGuard &)
type
Definition: core.h:1059