FlatFilePos

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

Synopsis

Declared in <flatfile.h>

struct FlatFilePos;

Member Functions

NameDescription
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

NameDescription
nFile Index of the flat file, or -1 when null.
nPos Byte offset of the record within the file.

Friends

NameDescription
operator==Compares two positions for equality of file index and offset.

Derived Classes

NameDescription
CDiskTxPos On-disk position of a transaction: a block file position plus an offset within the block.