Instruction Manual

Designing Your Class to Use Isomorphic Persistence
Writing rwSaveGuts and rwRestoreGuts Functions
Isomorphic Persistence of a User-designed Class
Polymorphic Persistence
Operators
Designing your Class to Use Polymorphic Persistence
Polymorphic Persistence Example
A Few Friendly Warnings
Always Save an Object by Value before Saving the Identical Object by
Pointer
Don't Save Distinct Objects with the Same Address
Don't Use Sorted RWCollections to Store Heterogeneous RWCollectables
Chapter 15: Designing an RWCollectable Class
Why Design an RWCollectable Class?
An Example of RWCollectable Classes
How to Create an RWCollectable Object
Define a Default Constructor
Add RWDECLARE_COLLECTABLE() to your Class Declaration
Provide a Class Identifier for Your Class
Add Definitions for Virtual Functions
Object Destruction
How to Add Polymorphic Persistence
A Note on the RWFactory
Summary
Chapter 16: Internationalization
Localizing Alphabets with RWCString and RWWString
Localizing Messages
Challenges of Localizing Currencies, Numbers, Dates, and Times
RWLocale and RWZone
Dates
Time