Rogue Wave banner
Previous fileTop of documentContentsIndexNext file

14.1 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.

14.1.1 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 Section 6 and Section 7.

14.1.2 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 fileTop of documentContentsIndexNext file
©Copyright 1999, Rogue Wave Software, Inc.
Send mail to report errors or comment on the documentation.