beautypg.com

Chapter 8: using class rwfilemanager – HP Integrity NonStop J-Series User Manual

Page 87

background image

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

©Copyright 1996 Rogue Wave Software

Chapter 8: Using Class
RWFileManager

Construction

Member Functions

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.

This manual is related to the following products: