Library | File

Class pfcParamValue

# include <pfcModelItem.h>

class pfcParamValue
 : public xobject
{
    xdeclare(pfcParamValue)
    ...
};
This is a COMPACT class.



Description

This class describes the value of the parameter.

This determines the type of parameter.
Manual References:
Dimensions and Parameters: The ParamValue Object, Dimensions and Parameters: Accessing a ParamValue Object, Dimensions and Parameters: Accessing the ParamValue Value, Dimensions and Parameters: Parameter Selection Options, Dimensions and Parameters: Parameter Selection Options, Family Tables: Accessing Cell Information, Overview of Creo Object TOOLKIT C++: Union Classes



Method Summary

xboolGetBoolValue ()
voidSetBoolValue (xbool value)
If the parameter type is PARAM_BOOLEAN, this is a Boolean value.
pfcParamValueTypeGetdiscr ()
Returns the union discriminant value.

xrealGetDoubleValue ()
voidSetDoubleValue (xreal value)
If the parameter type is PARAM_DOUBLE, this is a double value.
xintGetIntValue ()
voidSetIntValue (xint value)
If the parameter type is PARAM_INTEGER, this is an integer value.
xintGetNoteId ()
voidSetNoteId (xint value)
If the parameter type is PARAM_NOTE, this is a note identifier.
xstringGetStringValue ()
voidSetStringValue (xrstring value)
If the parameter type is PARAM_STRING, this is a string value.



Method Detail

pfcParamValueTypeGetdiscr ()

Returns the union discriminant value.




xstringGetStringValue ()
voidSetStringValue (xrstring value)

If the parameter type is PARAM_STRING, this is a string value.

Exceptions thrown (but not limited to):

pfcXBadGetParamValue - Parameter value is not string


Manual References:
Dimensions and Parameters: Accessing the ParamValue Value, Family Tables: Accessing Cell Information, Family Tables: Accessing Cell Information, Dimensions and Parameters: Accessing the ParamValue Value




xintGetIntValue ()
voidSetIntValue (xint value)

If the parameter type is PARAM_INTEGER, this is an integer value.

Exceptions thrown (but not limited to):

pfcXBadGetParamValue - Parameter value is not an integer


Manual References:
Dimensions and Parameters: Accessing the ParamValue Value, Family Tables: Accessing Cell Information, Family Tables: Accessing Cell Information, Dimensions and Parameters: Accessing the ParamValue Value




xboolGetBoolValue ()
voidSetBoolValue (xbool value)

If the parameter type is PARAM_BOOLEAN, this is a Boolean value.

Exceptions thrown (but not limited to):

pfcXBadGetParamValue - Parameter value is not boolean


Manual References:
Dimensions and Parameters: Accessing the ParamValue Value, Family Tables: Accessing Cell Information, Dimensions and Parameters: Accessing the ParamValue Value




xrealGetDoubleValue ()
voidSetDoubleValue (xreal value)

If the parameter type is PARAM_DOUBLE, this is a double value.

Exceptions thrown (but not limited to):

pfcXBadGetParamValue - Parameter value is not double


Manual References:
Dimensions and Parameters: Accessing the ParamValue Value, Family Tables: Accessing Cell Information, Family Tables: Accessing Cell Information, Dimensions and Parameters: Accessing the ParamValue Value




xintGetNoteId ()
voidSetNoteId (xint value)

If the parameter type is PARAM_NOTE, this is a note identifier.

Exceptions thrown (but not limited to):

pfcXBadGetParamValue - Parameter value is not a note identifier


Manual References:
Dimensions and Parameters: Accessing the ParamValue Value, Overview of Creo Object TOOLKIT C++: Union Classes, Overview of Creo Object TOOLKIT C++: Union Classes