File: Storage.hxx

package info (click to toggle)
oce 0.18.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 301,548 kB
  • sloc: cpp: 1,190,609; ansic: 67,225; sh: 11,630; tcl: 7,954; cs: 5,221; python: 2,867; java: 1,522; makefile: 342; xml: 292; perl: 37
file content (126 lines) | stat: -rw-r--r-- 3,655 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _Storage_HeaderFile
#define _Storage_HeaderFile

#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>

class TCollection_AsciiString;
class Storage_BaseDriver;
class Storage_CallBack;
class Storage_DefaultCallBack;
class Storage_HeaderData;
class Storage_Data;
class Storage_TypeData;
class Storage_RootData;
class Storage_Root;
class Storage_Schema;
class Storage_SeqOfRoot;
class Storage_HSeqOfRoot;
class Storage_InternalData;
class Storage_stCONSTclCOM;
class Storage_TypedCallBack;
class Storage_PType;
class Storage_MapOfPers;
class Storage_MapOfCallBack;
class Storage_ArrayOfCallBack;
class Storage_HArrayOfCallBack;
class Storage_ArrayOfSchema;
class Storage_HArrayOfSchema;
class Storage_PArray;
class Storage_HPArray;
class Storage_SequenceNodeOfSeqOfRoot;
class Storage_IndexedDataMapNodeOfPType;
class Storage_DataMapNodeOfMapOfPers;
class Storage_DataMapIteratorOfMapOfPers;
class Storage_DataMapNodeOfMapOfCallBack;
class Storage_DataMapIteratorOfMapOfCallBack;


//! Storage package is used to write and read persistent objects.
//! These objects are read and written by a retrieval or storage
//! algorithm (Storage_Schema object) in a container (disk, memory,
//! network ...). Drivers (FSD_File objects) assign a physical
//! container for data to be stored or retrieved.
//! The standard procedure for an application in
//! reading a container is the following:
//! -   open the driver in reading mode,
//! -   call the Read function from the schema,
//! setting the driver as a parameter. This   function returns
//! an instance of the   Storage_Data class which contains the   data being read,
//! -   close the driver.
//! The standard procedure for an application in writing a container is the following:
//! -   open the driver in writing mode,
//! -   create an instance of the Storage_Data   class, then
//! add the persistent data to write   with the function AddRoot,
//! -   call the function Write from the schema,
//! setting the driver and the Storage_Data   instance as parameters,
//! -      close the driver.
class Storage 
{
public:

  DEFINE_STANDARD_ALLOC

  
  //! returns the version of Storage's read/write routines
  Standard_EXPORT static   TCollection_AsciiString Version() ;




protected:





private:




friend class Storage_BaseDriver;
friend class Storage_CallBack;
friend class Storage_DefaultCallBack;
friend class Storage_HeaderData;
friend class Storage_Data;
friend class Storage_TypeData;
friend class Storage_RootData;
friend class Storage_Root;
friend class Storage_Schema;
friend class Storage_SeqOfRoot;
friend class Storage_HSeqOfRoot;
friend class Storage_InternalData;
friend class Storage_stCONSTclCOM;
friend class Storage_TypedCallBack;
friend class Storage_PType;
friend class Storage_MapOfPers;
friend class Storage_MapOfCallBack;
friend class Storage_ArrayOfCallBack;
friend class Storage_HArrayOfCallBack;
friend class Storage_ArrayOfSchema;
friend class Storage_HArrayOfSchema;
friend class Storage_PArray;
friend class Storage_HPArray;
friend class Storage_SequenceNodeOfSeqOfRoot;
friend class Storage_IndexedDataMapNodeOfPType;
friend class Storage_DataMapNodeOfMapOfPers;
friend class Storage_DataMapIteratorOfMapOfPers;
friend class Storage_DataMapNodeOfMapOfCallBack;
friend class Storage_DataMapIteratorOfMapOfCallBack;

};







#endif // _Storage_HeaderFile