HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HOM_UndosGroup.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  * Class used to create an undo block
8  */
9 
10 #ifndef __HOM_UndosGroup_h__
11 #define __HOM_UndosGroup_h__
12 
13 #include "HOM_API.h"
14 #include "HOM_Errors.h"
15 #include "HOM_Module.h"
16 
17 
18 SWIGOUT(%rename(UndosGroup) HOM_UndosGroup;)
19 
20 
22 {
23 public:
24 
26  { HOM_CONSTRUCT_OBJECT(this) }
28  { HOM_CONSTRUCT_OBJECT(this) }
29  virtual ~HOM_UndosGroup()
30  { HOM_DESTRUCT_OBJECT(this) }
31 
32  // Let swig know we're overriding __repr__ for this class so it doesn't
33  // provide its own __repr__.
34  virtual std::string __repr__() = 0;
35 
36  virtual std::string label() = 0;
37 
38  virtual HOM_UndosGroup *__enter__() = 0;
39 
40  SWIGOUT(%ignore opaqueExit;)
41  virtual void opaqueExit() = 0;
42 
43 #ifdef SWIG
44 %extend
45 {
46  // We can ignore the type, value, and traceback Python objects.
47  SWIGOUT(virtual void __exit__(
48  InterpreterObject type, InterpreterObject value,
49  InterpreterObject traceback)
50  { self->opaqueExit(); };)
51 }
52 #endif
53 
54 };
55 
56 #endif
virtual void opaqueExit()=0
HOM_UndosGroup(const HOM_UndosGroup &)
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:974
GLuint GLsizei const GLchar * label
Definition: glcorearb.h:2544
GLsizei const GLchar *const * string
Definition: glcorearb.h:813
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
virtual HOM_UndosGroup * __enter__()=0
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:973
virtual ~HOM_UndosGroup()
GLsizei const GLfloat * value
Definition: glcorearb.h:823
GLint GLint GLsizei GLint GLenum GLenum type
Definition: glcorearb.h:107
virtual std::string __repr__()=0