Library | File

Class pfcArgument

# include <pfcArgument.h>

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



Description

This interface represents a function or method argument, consisting of a name and a value.
See Also:
pfcCreateASCIIStringArgValue(xrstring), pfcCreateBoolArgValue(xbool), pfcCreateDoubleArgValue(xreal), pfcCreateIntArgValue(xint), pfcCreateSelectionArgValue(pfcSelection_ptr), pfcCreateStringArgValue(xrstring), pfcCreateTransformArgValue(pfcTransform3D_ptr)



Method Summary

static pfcArgument_ptrCreate (xrstring inLabel, pfcArgValue_ptr inValue)
Creates a new argument object, for use in passing value to other Creo Parametric auxiliary applications like Creo Parametric TOOLKIT DLL's.
xstringGetLabel ()
voidSetLabel (xrstring value)
The argument name.
pfcArgValue_ptrGetValue ()
voidSetValue (pfcArgValue_ptr value)
The argument value.



Method Detail

xstringGetLabel ()
voidSetLabel (xrstring value)

The argument name.
Manual References:
Task Based Application Libraries: Modifying Arguments, Task Based Application Libraries: Modifying Arguments, Task Based Application Libraries: Modifying Arguments




pfcArgValue_ptrGetValue ()
voidSetValue (pfcArgValue_ptr value)

The argument value.
Manual References:
Task Based Application Libraries: Modifying Arguments, Task Based Application Libraries: Modifying Arguments, Task Based Application Libraries: Modifying Arguments




static pfcArgument_ptrCreate (xrstring inLabel, pfcArgValue_ptr inValue)

Creates a new argument object, for use in passing value to other Creo Parametric auxiliary applications like Creo Parametric TOOLKIT DLL's.
See Also:
pfcDll::ExecuteFunction(xrstring, pfcArguments_ptr)
Manual References:
Task Based Application Libraries: Modifying Arguments, Task Based Application Libraries: Modifying Arguments
Parameters:
inLabel
The argument label string.
inValue
The argument value.
Returns:
The created argument object.