HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HOM_DataTree.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_DataTree_h__
10 #define __HOM_DataTree_h__
11 
12 #include "HOM_PaneTab.h"
13 
14 SWIGOUT(%rename(DataTree) HOM_DataTree;)
15 
16 class HOM_API HOM_DataTree : virtual public HOM_PaneTab
17 {
18 public:
20  { HOM_CONSTRUCT_OBJECT(this) }
21  // Because the lowermost base classes initialize the virtual bases
22  // before any non-virtual bases, the correct thing to do here is
23  // explicitly call the constructor for HOM_PaneTab.
25  : HOM_PaneTab(pane)
26  { HOM_CONSTRUCT_OBJECT(this) }
27 
28  virtual ~HOM_DataTree()
29  { HOM_DESTRUCT_OBJECT(this) }
30 
31  // Let swig know we're overriding __repr__ for this class so it doesn't
32  // provide its own __repr__.
33  SWIGOUT(virtual std::string __repr__() = 0;)
34 
35  virtual std::vector<std::string> treeTypes() = 0;
36  virtual std::string treeType() = 0;
37  virtual bool setTreeType(const std::string &tree_type) = 0;
38 
39  virtual std::string currentPath() = 0;
40  virtual void clearCurrentPath() = 0;
41  virtual void setCurrentPath(const std::string &path,
42  bool multi_select = false,
43  int index = -1) = 0;
44  virtual void setCurrentPaths(const std::vector<std::string> &paths,
45  bool expanded) = 0;
46  virtual void setTreeExpanded(bool expanded) = 0;
47  virtual void setCurrentNodeExpanded(bool expanded) = 0;
48 };
49 
50 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:983
GLsizei const GLchar *const * string
Definition: glcorearb.h:813
GLsizei const GLchar *const * path
Definition: glcorearb.h:3340
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
virtual std::string __repr__()=0
virtual ~HOM_DataTree()
Definition: HOM_DataTree.h:28
#define HOM_API
Definition: HOM_API.h:13
HOM_DataTree(const HOM_DataTree &pane)
Definition: HOM_DataTree.h:24
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:982
GLuint index
Definition: glcorearb.h:785