28 template <
typename BASE_CLASS,
38 template <
typename GRAPH>
40 : BASE_CLASS( graph_data, parm_id )
46 {
return BASE_CLASS::graphData(); }
48 {
return BASE_CLASS::constGraphData(); }
53 {
return UN_ParmID( BASE_CLASS::dataID() ); }
58 return UN_ParmUtils::isValid(
62 explicit operator bool()
const
UN_ParmID parmID() const
Returns the unique ID of the parameter this handle refers to.
bool operator==(const UN_ConstParm &other) const
Comparison operators.
UN_ConstParm(const UN_Parm &parm)
Constructs a const handle from a mutable parm handle.
GLsizei const GLfloat * value
const UT_StringHolder & typeName() const
Returns the parameter's type that determines the value type.
GRAPH_DATA * graphData() const
Returns the owner of the underlying graph data structures.
bool operator==(const UN_Parm &other) const
Comparison operators.
GLboolean GLboolean GLboolean GLboolean a
void setValue(UT_OptionEntryPtr &&value) const
Sets the parameter value using move-assignment.
UN_Parm(UN_GraphData *graph_data, UN_ParmID parm_id)
Constructs a handle referencing the given parameter in the given graph.
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
GLboolean GLboolean GLboolean b
UT_OptionEntryPtr value() const
Returns the value of the parameter.
bool operator!=(const UN_ConstParm &other) const
Comparison operators.
void destroy() const
Deletes this parameter and removes from the node and the graph.
void setValue(const UT_OptionEntry &value) const
Sets the parameter value.
const UT_StringHolder & name() const
Returns the parameter name that identifies it on the node.
UN_ConstParm(const UN_GraphData *graph_data, UN_ParmID parm_id)
Constructs a handle referencing the given parameter in the given graph.
bool operator!=(const UN_Parm &other) const
Comparison operators.
bool operator!=(const UN_ConstHandle &other) const
bool operator==(const UN_ConstHandle &other) const
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.
UN_ParmBase()=default
Constructs a handle for an invalid parameter.
UT_UniquePtr< UT_OptionEntry > UT_OptionEntryPtr
bool isValid() const
Returns true if this parm is valid within the graph; false otherwise.
UN_ParmBase(GRAPH *graph_data, UN_ParmID parm_id)
Constructs a handle that references the given parm in the given graph.
const UN_GraphData * constGraphData() const
Returns the owner of the underlying graph data structures.