Library | File

Class pfcArgValue

# include <pfcArgument.h>

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



Description

This interface represents an argument value, which may be one of several different types.
See Also:
pfcCreateASCIIStringArgValue(xrstring), pfcCreateBoolArgValue(xbool), pfcCreateDoubleArgValue(xreal), pfcCreateIntArgValue(xint), pfcCreateSelectionArgValue(pfcSelection_ptr), pfcCreateStringArgValue(xrstring), pfcCreateTransformArgValue(pfcTransform3D_ptr), pfcArgument::Create(xrstring, pfcArgValue_ptr)
Manual References:
Feature Element Tree: Feature Element Values



Method Summary

xstringGetASCIIStringValue ()
voidSetASCIIStringValue (xrstring value)
Used if the argument value contains a character string.
xboolGetBoolValue ()
voidSetBoolValue (xbool value)
Used if the argument value contains a boolean.
pfcArgValueTypeGetdiscr ()
Returns the union discriminant value.

xrealGetDoubleValue ()
voidSetDoubleValue (xreal value)
Used if the argument value contains a double.
xintGetIntValue ()
voidSetIntValue (xint value)
Used if the argument value contains an integer.
pfcSelection_ptrGetSelectionValue ()
voidSetSelectionValue (pfcSelection_ptr value)
Used if the argument value contains a Creo Parametric selection.
xstringGetStringValue ()
voidSetStringValue (xrstring value)
Used if the argument value contains a string.
pfcTransform3D_ptrGetTransformValue ()
voidSetTransformValue (pfcTransform3D_ptr value)
Used if the argument value contains a coordinate transformation.



Method Detail

pfcArgValueTypeGetdiscr ()

Returns the union discriminant value.




xintGetIntValue ()
voidSetIntValue (xint value)

Used if the argument value contains an integer.

Exceptions thrown (but not limited to):

pfcXBadGetArgValue - Argument value does not contain an integer


Manual References:
Task Based Application Libraries: Managing Application Arguments, Task Based Application Libraries: Managing Application Arguments




xrealGetDoubleValue ()
voidSetDoubleValue (xreal value)

Used if the argument value contains a double.

Exceptions thrown (but not limited to):

pfcXBadGetArgValue - Argument value does not contain a double


Manual References:
Task Based Application Libraries: Managing Application Arguments, Task Based Application Libraries: Managing Application Arguments




xboolGetBoolValue ()
voidSetBoolValue (xbool value)

Used if the argument value contains a boolean.

Exceptions thrown (but not limited to):

pfcXBadGetArgValue - Argument value does not contain a boolean


Manual References:
Task Based Application Libraries: Managing Application Arguments, Task Based Application Libraries: Managing Application Arguments




xstringGetASCIIStringValue ()
voidSetASCIIStringValue (xrstring value)

Used if the argument value contains a character string.

Exceptions thrown (but not limited to):

pfcXBadGetArgValue - Argument value does not contain a character string


Manual References:
Task Based Application Libraries: Managing Application Arguments, Task Based Application Libraries: Managing Application Arguments




xstringGetStringValue ()
voidSetStringValue (xrstring value)

Used if the argument value contains a string.

Exceptions thrown (but not limited to):

pfcXBadGetArgValue - Argument value does not contain a string


Manual References:
Task Based Application Libraries: Managing Application Arguments, Task Based Application Libraries: Managing Application Arguments




pfcSelection_ptrGetSelectionValue ()
voidSetSelectionValue (pfcSelection_ptr value)

Used if the argument value contains a Creo Parametric selection.

Exceptions thrown (but not limited to):

pfcXBadGetArgValue - Argument value does not contain a Creo Parametric selection


Manual References:
Task Based Application Libraries: Managing Application Arguments, Task Based Application Libraries: Managing Application Arguments




pfcTransform3D_ptrGetTransformValue ()
voidSetTransformValue (pfcTransform3D_ptr value)

Used if the argument value contains a coordinate transformation.

Exceptions thrown (but not limited to):

pfcXBadGetArgValue - Argument value does not contain a coordinate transformation


Manual References:
Task Based Application Libraries: Managing Application Arguments, Task Based Application Libraries: Managing Application Arguments