HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_GeometrySpreadsheet.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_GeometrySpreadsheet_h__
10 #define __HOM_GeometrySpreadsheet_h__
11 
12 #include "HOM_PathBasedPaneTab.h"
13 
14 SWIGOUT(%rename(GeometrySpreadsheet) HOM_GeometrySpreadsheet;)
15 
17 {
18 public:
20  { HOM_CONSTRUCT_OBJECT(this) }
21 
22  // Because the lowermost base classes initialize the virtual bases
23  // before any non-virtual bases, the correct thing to do here is
24  // explicitly call the constructor for HOM_PaneTab.
26  : HOM_PaneTab(pane), HOM_PathBasedPaneTab(pane)
27  { HOM_CONSTRUCT_OBJECT(this) }
28 
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  SWIGOUT(virtual std::string __repr__() = 0;)
35 
36  virtual int numRows() = 0;
37  virtual int numColumns() = 0;
38 
39  virtual std::string cellText(int row, int col) = 0;
40 };
41 
42 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1238
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:353
#define HOM_API
Definition: HOM_API.h:13
HOM_GeometrySpreadsheet(const HOM_GeometrySpreadsheet &pane)
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1237
GLsizei const GLchar *const * string
Definition: glcorearb.h:813
GLenum GLenum void * row
Definition: glew.h:4995