9 #ifndef __HOM_shelves_h__
10 #define __HOM_shelves_h__
37 virtual std::map<std::string, HOM_ElemPtr<HOM_ShelfSet> > shelfSets() = 0;
39 virtual std::map<std::string, HOM_ElemPtr<HOM_Shelf> > shelves() = 0;
41 virtual std::map<std::string, HOM_ElemPtr<HOM_Tool> >
tools() = 0;
44 virtual HOM_Tool *tool(
const char *tool_name) = 0;
46 virtual bool isToolDeleted(
const char *tool_name) = 0;
48 virtual void loadFile(
const char *file_path) = 0;
49 virtual void reloadShelfFiles() = 0;
53 virtual void beginChangeBlock() = 0;
54 virtual void endChangeBlock() = 0;
56 SWIGOUT(%newobject newShelfSet;)
58 virtual HOM_ShelfSet *newShelfSet(
const char *file_path = NULL,
59 const char *
name = NULL,
60 const char *
label = NULL) = 0;
64 virtual HOM_Shelf *newShelf(
const char *file_path = NULL,
65 const char *
name = NULL,
66 const char *
label = NULL) = 0;
70 virtual HOM_Tool *newTool(
const char *file_path = NULL,
71 const char *
name = NULL,
72 const char *
label = NULL,
73 const char *script = NULL,
75 const char *
icon = NULL,
76 const char *
help = NULL,
77 const char *help_url = NULL,
78 const std::vector<HOM_NodeTypeCategory *> &network_categories =
79 std::vector<HOM_NodeTypeCategory *>(),
80 const std::vector<HOM_NodeTypeCategory*> &viewer_categories =
81 std::vector<HOM_NodeTypeCategory *>(),
82 const std::vector<HOM_NodeTypeCategory*> &cop_viewer_categories
83 = std::vector<HOM_NodeTypeCategory *>(),
84 const char *network_op_type = NULL,
85 const char *viewer_op_type = NULL,
86 const std::vector<std::string> &locations =
87 std::vector<std::string>(),
88 const std::vector<std::string> &keywords =
89 std::vector<std::string>(),
92 SWIGOUT(%newobject _newAssetTool;)
95 const char *
label = NULL,
96 const char *
icon = NULL,
97 const char *
help = NULL,
98 const char *help_url = NULL) = 0;
102 virtual std::string defaultToolName(
const char *nodetype_category_name,
103 const char *nodetype_name) = 0;
GLuint GLsizei const GLchar * label
virtual std::string icon()=0
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) ...
virtual std::map< std::string, HOM_ElemPtr< HOM_Tool > > tools()=0
GLuint const GLchar * name
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)