HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_PathBasedPaneTab.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_PathBasedPaneTab_h__
10 #define __HOM_PathBasedPaneTab_h__
11 
12 #include "HOM_PaneTab.h"
13 class HOM_Node;
14 
15 SWIGOUT(%rename(PathBasedPaneTab) HOM_PathBasedPaneTab;)
16 
18 {
19 public:
21  { HOM_CONSTRUCT_OBJECT(this) }
23  : HOM_PaneTab(pane)
24  { HOM_CONSTRUCT_OBJECT(this) }
26  { HOM_DESTRUCT_OBJECT(this) }
27 
28  // Let swig know we're overriding __repr__ for this class so it doesn't
29  // provide its own __repr__.
30  SWIGOUT(virtual std::string __repr__() = 0;)
31 
32  // These methods deal with the pane's network, not the current node
33  // inside that network. The path gadget on the pane will display the
34  // network's path.
35  SWIGOUT(%newobject pwd;)
36  virtual HOM_Node *pwd() = 0;
37  virtual void setPwd(HOM_Node &node) = 0;
38  virtual void cd(const char *path) = 0;
39 
40  // These methods deal with the current node inside the pane. For example,
41  // the current node inside a network editor pane is the one that appears
42  // in an (unpinned) parameter pane.
43  virtual HOM_Node *currentNode() = 0;
44  virtual void setCurrentNode(HOM_Node &node, bool pick_node = true) = 0;
45 };
46 
47 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1291
GLsizei const GLchar *const * string
Definition: glcorearb.h:814
GLsizei const GLchar *const * path
Definition: glcorearb.h:3341
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:352
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1290
virtual HOM_Node * node(const char *node_path)=0
HOM_PathBasedPaneTab(const HOM_PathBasedPaneTab &pane)
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)