Location of a record within a numbered flat file: a file index and byte offset.

Synopsis

Declared in <flatfile.h>

struct FlatFilePos;

Member Functions

Name

Description

FlatFilePos [constructor]

Constructors

IsNull

Returns true when the position is null (no file assigned).

ToString

Returns a human‐readable "file:offset" description of the position.

Data Members

Name

Description

nFile

Index of the flat file, or ‐1 when null.

nPos

Byte offset of the record within the file.

Friends

Name

Description

operator==

Compares two positions for equality of file index and offset.

Derived Classes

Name

Description

CDiskTxPos

On‐disk position of a transaction: a block file position plus an offset within the block.

Created with MrDocs