18 #ifndef __HUSD_CvexCode__
19 #define __HUSD_CvexCode__
39 {
return myIsCommand; }
56 { myReturnType =
type; }
58 {
return myReturnType; }
65 {
return myExportsPattern; }
70 ReturnType myReturnType;
ReturnType getReturnType() const
void setReturnType(ReturnType type)
const UT_StringHolder & getExportsPattern() const
Sets the export variables (useful for Vexpressions)
MX_GENSHADER_API const TypeDesc * STRING
MX_GENSHADER_API const TypeDesc * BOOLEAN
bool isCommand() const
Returns true if the source is a command, or false if it's a vexpression.
const UT_StringHolder & getSource() const
Returns the source string (either a command or vexpression).
void setExportsPattern(const UT_StringRef &pattern)
Sets the export variables (useful for Vexpressions)