FlatFileSeq represents a sequence of numbered files storing raw data. This class facilitates access to and efficient management of these files.

Synopsis

Declared in <flatfile.h>

class FlatFileSeq;

Member Functions

Name

Description

FlatFileSeq [constructor]

Constructor

Allocate

Allocate additional space in a file after the given starting position. The amount allocated will be the minimum multiple of the sequence chunk size greater than add_size.

FileName

Get the name of the file at the given position.

Flush

Commit a file to disk, and optionally truncate off extra pre‐allocated bytes if final.

Open

Open a handle to the file at the given position.

Created with MrDocs