9 #ifndef __HOM_DataParmTemplate_h__
10 #define __HOM_DataParmTemplate_h__
31 const char *disable_when = NULL,
32 bool is_hidden =
false,
33 bool is_label_hidden =
false,
34 bool join_with_next =
false,
35 const char *
help = NULL,
36 const char *script_callback = NULL,
38 HOM_scriptLanguage::Hscript,
39 const std::map<std::string, std::string> &tags =
41 const std::map<HOM_EnumValue *, std::string> &conditionals =
43 const std::vector<std::string> &default_expression =
44 std::vector<std::string>(),
45 const std::vector<HOM_EnumValue *> &default_expression_language =
46 std::vector<HOM_EnumValue *>())
49 name, label, num_components, look, naming_scheme, data_parm_type,
50 disable_when, is_hidden, is_label_hidden, join_with_next,
help,
51 script_callback, script_callback_language, tags, conditionals,
52 default_expression, default_expression_language);
74 virtual std::vector<std::string> defaultExpression() = 0;
75 virtual void setDefaultExpression(
76 const std::vector<std::string> &default_expression) = 0;
77 virtual std::vector<HOM_EnumValue *> defaultExpressionLanguage() = 0;
78 virtual void setDefaultExpressionLanguage(
79 const std::vector<HOM_EnumValue *> &default_expression_language) = 0;
#define HOM_DESTRUCT_OBJECT(pointer)
GLuint GLsizei const GLchar * label
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)
GLuint const GLchar * name
~HOM_DataParmTemplate() override
std::map< HOM_EnumValue *, std::string > HOM_StdMapEnumString
HOM_DataParmTemplate(const HOM_DataParmTemplate &parm_template)
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
virtual HOM_DataParmTemplate * newDataParmTemplate(const char *name, const char *label, int num_components, HOM_EnumValue &look, HOM_EnumValue &naming_scheme, HOM_EnumValue &data_parm_type, const char *disable_when, bool is_hidden, bool is_label_hidden, bool join_with_next, const char *help, const char *script_callback, HOM_EnumValue &script_callback_language, const std::map< std::string, std::string > &tags, const std::map< HOM_EnumValue *, std::string > &conditionals, const std::vector< std::string > &default_expression, const std::vector< HOM_EnumValue * > &default_expression_language)=0
HOM_API HOM_Module & HOM()
std::map< std::string, std::string > HOM_StdMapStringString