HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HOM_GalleryEntry.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_GalleryEntry_h__
10 #define __HOM_GalleryEntry_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_Module.h"
15 #include "HOM_Errors.h"
16 
17 class HOM_Node;
18 
19 SWIGOUT(%rename(GalleryEntry) HOM_GalleryEntry;)
20 
22 {
23 public:
25  { HOM_CONSTRUCT_OBJECT(this) }
27  { HOM_CONSTRUCT_OBJECT(this) }
29  { HOM_DESTRUCT_OBJECT(this) }
30 
31  virtual std::string __repr__() = 0;
32 
33  virtual bool canApplyToNode(HOM_Node &node) = 0;
34  virtual void applyToNode(HOM_Node &node) = 0;
35 
36  virtual bool canCreateChildNode(HOM_Node &parent) = 0;
37  SWIGOUT(%newobject createChildNode;)
38  virtual HOM_Node *createChildNode(HOM_Node &parent) = 0;
39 
40  virtual void setEqual(HOM_GalleryEntry &entry) = 0;
41 
42  virtual std::string name() = 0;
43  virtual void setName(const char *name) = 0;
44 
45  virtual std::string label() = 0;
46  virtual void setLabel(const char *label) = 0;
47 
48  virtual std::string description() = 0;
49  virtual void setDescription(const char *description) = 0;
50 
51  virtual std::string helpURL() = 0;
52  virtual void setHelpURL(const char *helpurl) = 0;
53 
54  virtual std::string requiredHDAFile() = 0;
55  virtual void setRequiredHDAFile(const char *hda_file) = 0;
56 
57  virtual std::string icon() = 0;
58  virtual void setIcon(const char *icon) = 0;
59 
60  virtual bool allowIconRegeneration() = 0;
61  virtual void setAllowIconRegeneration(bool on) = 0;
62 
63  SWIGOUT(%newobject bestNodeType;)
64  virtual HOM_NodeType *bestNodeType() = 0;
65 
66  virtual std::vector<std::string> nodeTypeNames() = 0;
67  virtual void setNodeTypeNames(const std::vector<std::string> &nodetypes) = 0;
68 
69  virtual std::vector<std::string> categories() = 0;
70  virtual void setCategories(const std::vector<std::string> &categories) = 0;
71 
72  virtual std::vector<std::string> keywords() = 0;
73  virtual void setKeywords(const std::vector<std::string> &keywords) = 0;
74 
75  virtual HOM_NodeTypeCategory &nodeTypeCategory() = 0;
76  virtual void setNodeTypeCategory(HOM_NodeTypeCategory &category) = 0;
77 
78  virtual std::string script() = 0;
79  virtual void setScript(const char *script) = 0;
80  virtual void setScriptFromNode(HOM_Node *node) = 0;
81  virtual void setContentsFromNode(HOM_Node *node) = 0;
82 };
83 
84 #endif
85 
virtual std::string __repr__()=0
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:974
GLuint GLsizei const GLchar * label
Definition: glcorearb.h:2544
HOM_GalleryEntry(const HOM_GalleryEntry &)
GLsizei const GLchar *const * string
Definition: glcorearb.h:813
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
virtual HOM_Node * parent()=0
virtual void setName(const char *name, bool unique_name=false)=0
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:973
virtual HOM_Node * node(const char *node_path)=0
GLuint const GLchar * name
Definition: glcorearb.h:785
virtual ~HOM_GalleryEntry()
HOM_GalleryEntry()