A picture memorizing the stored in a container (for example, in a file). A StdStorage_Data object represents either:  
 More...
#include <StdStorage_Data.hxx>
A picture memorizing the stored in a container (for example, in a file). A StdStorage_Data object represents either: 
- persistent data to be written into a container, or
 
- persistent data which are read from a container. A StdStorage_Data object is used in both the storage and retrieval operations:
 
- Storage mechanism: create an empty StdStorage_Data object, then add successively persistent objects (roots) to be stored using the StdStorage_RootData's function AddRoot. When the set of data is complete, write it to a container using the function Write in your StdStorage algorithm.
 
- Retrieval mechanism: a StdStorage_Data object is returned by the Read function from your StdStorage algorithm. Use the StdStorage_RootData's functions NumberOfRoots and Roots to find the roots which were stored in the read container. The roots of a StdStorage_Data object may share references on objects. The shared internal references of a StdStorage_Data object are maintained by the storage/retrieval mechanism. Note: References shared by objects which are contained in two distinct StdStorage_Data objects are not maintained by the storage/retrieval mechanism: external references are not supported by Storage_Schema algorithm 
 
 
◆ StdStorage_Data()
      
        
          | StdStorage_Data::StdStorage_Data  | 
          ( | 
           | ) | 
           | 
        
      
 
Creates an empty set of data. You explicitly create a StdStorage_Data object when preparing the set of objects to be stored together in a container (for example, in a file). Then use the function StdStorage_RootData's AddRoot to add persistent objects to the set of data. A StdStorage_Data object is also returned by the Read function of a StdStorage algorithm. Use the StdStorage_RootData's functions NumberOfRoots and Roots to find the roots which were stored in the read container. 
 
 
◆ Clear()
      
        
          | void StdStorage_Data::Clear  | 
          ( | 
           | ) | 
           | 
        
      
 
Makes the container empty. 
 
 
◆ HeaderData()
Returns the header data section. 
 
 
◆ RootData()
Returns the root data section. 
 
 
◆ TypeData()
Returns the type data section. 
 
 
The documentation for this class was generated from the following file: