Rogue Wave Banner

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

©Copyright 1996 Rogue Wave Software

Levels of Persistence

An object has one of four levels of persistence:

The Class Reference indicates the level of persistence for each class. This section provides information about each level of persistence through descriptions, examples, and procedures for designing your own persistent classes.

A Note About Terminology

Tools.h++ provides input and output classes that let you save and restore objects. These classes are:

To keep our explanations simple, we'll refer to all of these input and output classes as streams. For a discussion of the trade-offs in using RWvostream and RWvistream versus RWFile, see Chapter 6 and Chapter 7.

About the Examples in this Section

For your convenience, all examples listed in this section are provided on disk in the directory rw/toolexam/manual. Each of the examples in this chapter has the name persist*.cpp.


Previous file Table of Contents Next file