GetPhyPos
DESCRIPTION: Convert the logical postion for a record type into its physical position. |
CLASS: CFlitBase
PROTOTYPE(S):int GetPhyPos(int Type, int LogPos); |
ARGUMENT(S):int Type | The record type. | int LogPos | The logical position to be converted. |
RETURN VALUE: This function returns the equivalent physical position for the given logical position. In case of error or invalid parameter, this function returns -1.
EXAMPLE:
COMMENT: This function will convert a logical to physical position. The physical position is the position obtained by counting all the record. The logical position obtained by counting the record with the same type. |
|