Storage_Data.hxx File Reference

#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_Storage_Data.hxx>
#include <Handle_Storage_HeaderData.hxx>
#include <Handle_Storage_RootData.hxx>
#include <Handle_Storage_TypeData.hxx>
#include <Handle_Storage_InternalData.hxx>
#include <Storage_Error.hxx>
#include <TCollection_AsciiString.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Integer.hxx>
#include <Handle_Standard_Persistent.hxx>
#include <Handle_Storage_HSeqOfRoot.hxx>
#include <Handle_Storage_Root.hxx>
#include <Standard_Boolean.hxx>
#include <Handle_TColStd_HSequenceOfAsciiString.hxx>

Data Structures

class  Storage_Data
 A picture memorizing the data stored in a
container (for example, in a file).
A Storage_Data object represents either:

  • persistent data to be written into a container,
    or
  • persistent data which are read from a container.
    A Storage_Data object is used in both the
    storage and retrieval operations:
  • Storage mechanism: create an empty
    Storage_Data object, then add successively
    persistent objects (roots) to be stored using
    the function AddRoot. When the set of data is
    complete, write it to a container using the
    function Write in your Storage_Schema
    storage/retrieval algorithm.
  • Retrieval mechanism: a Storage_Data
    object is returned by the Read function from
    your Storage_Schema storage/retrieval
    algorithm. Use the functions NumberOfRoots
    and Roots to find the roots which were stored
    in the read container.
    The roots of a Storage_Data object may share
    references on objects. The shared internal
    references of a Storage_Data object are
    maintained by the storage/retrieval mechanism.
    Note: References shared by objects which are
    contained in two distinct Storage_Data objects
    are not maintained by the storage/retrieval
    mechanism: external references are not
    supported by Storage_Schema algorithm
More...
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Thu Mar 3 10:41:11 2011 for Open CASCADE Technology by  doxygen 1.6.3