9 #ifndef __HOM_ParmTemplate_h__
10 #define __HOM_ParmTemplate_h__
37 virtual int __hash__() = 0;
44 virtual void setName(
const char *
name) = 0;
47 virtual void setLabel(
const char *
label) = 0;
57 virtual void setNamingScheme(
HOM_EnumValue &naming_scheme) = 0;
59 virtual int numComponents() = 0;
60 virtual void setNumComponents(
int num_components) = 0;
63 virtual void setDisableWhen(
const char *disable_when) = 0;
65 virtual std::map<HOM_EnumValue *, std::string> conditionals() = 0;
67 const char *conditional) = 0;
69 virtual bool isHidden() = 0;
70 virtual void hide(
bool on) = 0;
72 virtual bool isLabelHidden() = 0;
73 virtual void hideLabel(
bool on) = 0;
75 virtual bool joinsWithNext() = 0;
76 virtual void setJoinWithNext(
bool on) = 0;
79 {
return joinsWithNext(); }
82 virtual void setHelp(
const char *
help) = 0;
85 virtual void setScriptCallback(
const char *script_callback) = 0;
88 virtual void setScriptCallbackLanguage(
91 virtual std::map<std::string, std::string> tags() = 0;
92 virtual void setTags(
const std::map<std::string, std::string> &tags) = 0;
96 const char *function_name=NULL,
const char *variable_name=NULL) = 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)
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
GLuint const GLchar * name
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
HOM_ParmTemplate(const HOM_ParmTemplate &parm_template)
virtual ~HOM_ParmTemplate()
HUSD_API const char * dataType()
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.