The CRfcTableParam Class 

Class Summary

The CRfcTableParam class is defined in CRfcTabl.h.

The CRfcTableParam class represents the table parameters for RFC functions. It inherits from the CRfcComplexParam class.

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

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

Construction

CRfcTableParam

Constructs a table parameter object

CRfcTableParam (Copy Constructor)

Copy constructor

Operations

AppendEmptyRow

Appends an empty row to the table

AppendInitializedRow

Appends a row with initialized fields to the table

Cell (by Row/Column Name)

Gets or sets individual cell values by row number and column name

Cell (by Row/Column Number)

Gets or sets individual cell values by row and column number

Cell (Constant Table, by Row/Column Name)

Gets or sets individual cell values by row number and column name from constant table parameter objects

Cell (Constant Table, by Row/Column Number)

Gets or sets individual cell values by row and column numbers from constant table parameter objects

Clear

Clears the contents of the table

ConstRow

Obtains pointer to a row’s memory (Read only)

ConvertTable

Does data conversion for all data in the table

CopyDataFrom

Copies the data contents from the source table to specified table object

CopyLineFrom

Copies data from the memory block indicated by pSource into a table line

CopyLineTo

Copies the contents of line nRow to the designated memory block

Create

Creates an internal table handle and stores it inside the CrfcTableParam object

CreateEmptyTableCopy

Copies specified table with the same structure but no data

Delete

Deletes data contents of table as well as internal table handle

Field (by Row/Column Number)

Gets or sets individual field values in current row by column number

Field (by Row/Column/Field Name)

Gets or sets individual field values in current row by column or field name

Field (Constant Table, by Index/Column Name

Gets field value from current row of constant table parameter by index or column name

Field (Constant Table, by Index/Column Number)

Gets field value from current row of constant table parameter by index or column number

GetAutoConversion

Gets the flag for automatic conversion for the table parameter object

GetHandle

Gets internal table handle

GetIsConverted

Gets the table’s conversion status

GetLength

Obtains the length of the table row in bytes

GetParamName

Gets the name of the table parameter

GetParentFunction

Retrieves the function object to which this table is assigned

GetRowCount

Gets the total number of rows contained in the table parameter object

InsertEmptyRow

Inserts an empty row into the table

InsertInitializedRow

Inserts an empty row before the specified index and moves the cursor to the new row

IsAutoCreated

Determines if the parameter is automatically created in the class library

MoveDataFrom

Moves the data contents from the source table to this table object

operator()

Iterator operator

Read

Reads data from the persistent stream

RemoveRow

Deletes a row from the table

Row

Obtains pointer to a row’s memory (Read/Write)

SetAutoConversion

Sets the flag for automatic conversion for the table parameter object

SetCurrentRow

Sets the current row cursor to the specified row

SetLength

Sets the total length of the table parameter row

SetParamName

Assigns the table parameter name

SetTypeHandle

Sets the RFC type handle

Write

Writes data to the persistent stream