Rogue Wave Banner

Click on the banner to return to the user guide home page.

©Copyright 1996 Rogue Wave Software

Chapter 8: Using Class RWFileManager

Class RWFileManager allocates, deallocates, and coalesces free space in a disk file. This is done internally by maintaining on disk a linked-list of free space blocks.

Two typedefs are used:

typedef long           RWoffset;
typedef unsigned long  RWspace;

The type RWoffset is used for the offset within the file to the start of a storage space; RWspace is the amount of storage space required. The actual typedef may vary depending on the system you are using.

Class RWFile is a public base class of class RWFileManager; therefore, the public member functions of class RWFile are available to class RWFileManager.


Previous file Table of Contents Next file