10 #define __HOM_Tool_h__
35 virtual bool __lt__(
HOM_Tool &other) = 0;
40 virtual void setScript(
const char *script) = 0;
46 virtual void setIcon(
const char *icon) = 0;
49 virtual void setHelp(
const char *
help) = 0;
52 virtual void setHelpURL(
const char *help_url) = 0;
54 virtual std::vector<HOM_NodeTypeCategory *> toolMenuCategories(
57 const std::vector<HOM_NodeTypeCategory *> &categories) = 0;
60 virtual void setToolMenuOpType(
63 virtual std::vector<std::string> toolMenuLocations() = 0;
64 virtual void setToolLocations(
const std::vector<std::string> &locations) = 0;
66 virtual std::vector<std::string> keywords() = 0;
67 virtual void setKeywords(
const std::vector<std::string> &keywords) = 0;
71 virtual void setData(
const char *script = NULL,
73 const char *icon = NULL,
74 const char *
help = NULL,
75 const char *help_url = NULL,
76 const std::vector<HOM_NodeTypeCategory*> &network_categories =
77 std::vector<HOM_NodeTypeCategory *>(),
78 const std::vector<HOM_NodeTypeCategory*> &viewer_categories =
79 std::vector<HOM_NodeTypeCategory *>(),
80 const std::vector<HOM_NodeTypeCategory*> &cop_viewer_categories
81 = std::vector<HOM_NodeTypeCategory *>(),
82 const char * network_op_type = NULL,
83 const char * viewer_op_type = NULL,
84 const std::vector<std::string> &locations =
85 std::vector<std::string>(),
86 const std::vector<std::string> &keywords =
87 std::vector<std::string>()) = 0;
89 virtual void destroy() = 0;
#define HOM_DESTRUCT_OBJECT(pointer)
GLsizei const GLchar *const * string
string __repr__(VtArray< T > const &self)
std::string help(const App *app, const Error &e)
Printout the full help string on error (if this fn is set, the old default for CLI11) ...
#define HOM_CONSTRUCT_OBJECT(pointer)
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)