Persistent Data Storage

# Overview

There are three schemas of persistence, which you can use to store and retrieve

OCAF data (documents):

- Standard persistence schema, compatible with previous OCAF applications

- XmlOcaf persistence, allowing the storage of all OCAF data in XML form

- BinOcaf persistence, allowing the storage of all OCAF data in binary format form

All schemes are independent of each other, but they guarantee that the standard OCAF attributes stored and retrieved by one schema will be storable and retrievable by the other. Therefore in any OCAF application you can use any persistence schema or even all three of them. The choice is made by the Format string of stored OCAF documents or automatically by the file header data -- on retrieval.

Standard package

Persistent data storage in OCAF using the Standard package is presented in the following chapters:

Basic Data Storage

Persistent Collections

Likewise, persistence storage of shapes is presented in the following chapters:

Persistent Geometry

Persistent Topology

Finally, information about opening and saving persistent data is presented in Standard Documents.

LDOM Package for XML

LDOM Package is presented in the following chapters:

Document Drivers

Attribute Drivers

XML Document Structure

XML Schema

LDOM Package