ReadLogPos
DESCRIPTION: Retrieve a subrecord at given logical position. |
CLASS: CRecArray
PROTOTYPE(S):CRecord* ReadLogPos(int Type, int ID, int LogPos); |
ARGUMENT(S):int Type | The record type. If the value is 0, all types will be counted. | int ID | The record id. If the value is 0, all ids will be counted. | int LogPos | The logical position to describe the required subrecord. |
RETURN VALUE: This function returns the pointer to the requested record. In case of error, this funtion returns null.
EXAMPLE:
COMMENT: This function used to retrieve a record from a record array using their logcal position. The logical position obtained by counting only the records that match the given type and id. The records which doesn't matched will be skipped. |
|