The CRfcStructParam Class 

Class Summary

The CRfcStructParam class is defined in CRfcStrc.h.

The CRfcStructParam class represents the structure parameters (import or export) that contain multiple fields. This class inherits from both the CRfcImpExpParam class and the CRfcComplexParam class.

You can choose to have the object’s constructor automatically establish all field information for the structure parameter. To do this, you must furnish further arguments to the constructor.

For automatic generation of field information for the structure parameter object, a valid connection object (with a valid RFC handle) must be passed to the constructor.

Construction

CRfcStructParam

Constructs a structure parameter object

CRfcStructParam (Copy Constructor)

Copy constructor

Operations

Clear

Resets each field of the parameter to an appropriate initial value

CopyContentsFrom

Copies contents from another CRfcStructParam object.

CopyContentsTo

Copies contents to another CRfcStructParam object.

GetParamName

Returns the name of the parameter

IsAutoCreated

Determines if a parameter is automatically created in the class library

IsSimpleParam

Verifies that the object is not a simple parameter

operator[ ] (Structure Fields By Index or Column)

Sets or gets the value of a field in a structure parameter by index or column number

operator[ ] (Structure Fields By Name)

Sets or gets the value of a field in a structure parameter by name

operator[ ] (Constant Structure Fields, by Index or Column)

Gets data value of field of a constant structure parameter by index or column number

operator[ ] (Constant Structure Fields, by Name)

Gets data value of field of a constant structure parameter by name

Read

Restores the metadata information about this CRfcStructParam object from given persistent data stream.

SetLength

Sets the total length of the structure parameter

Write

Writes the metadata information about this CRfcStructParam object to the given persistent data stream.