Test for 0022778: Bug in BRepMesh
[occt.git] / src / MDataStd / MDataStd.cdl
CommitLineData
b311480e 1-- Created on: 1997-08-07
2-- Created by: VAUTHIER Jean-Claude
3-- Copyright (c) 1997-1999 Matra Datavision
4-- Copyright (c) 1999-2012 OPEN CASCADE SAS
5--
6-- The content of this file is subject to the Open CASCADE Technology Public
7-- License Version 6.5 (the "License"). You may not use the content of this file
8-- except in compliance with the License. Please obtain a copy of the License
9-- at http://www.opencascade.org and read it completely before using this file.
10--
11-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
13--
14-- The Original Code and all software distributed under the License is
15-- distributed on an "AS IS" basis, without warranty of any kind, and the
16-- Initial Developer hereby disclaims all such warranties, including without
17-- limitation, any warranties of merchantability, fitness for a particular
18-- purpose or non-infringement. Please see the License for the specific terms
19-- and conditions governing the rights and limitations under the License.
20
7fd59977 21-- modified Sergey Zaritchny
7fd59977 22
23
24
25package MDataStd
26
27 ---Purpose: Storage and Retrieval drivers for modelling
28 -- attributes. Transient attributes are defined in
29 -- package TDataStd and persistent one are defined in
30 -- package PDataStd
31
32uses TDF,
33 PDF,
34 MDF,
35 CDM,
36 TDataStd
37
38is
39
40 ---Purpose: Storage drivers for TDataStd attributes
41 -- =======================================
42
43
44 class DirectoryStorageDriver;
45
46 class UAttributeStorageDriver;
47
48 class NameStorageDriver;
49
50 class CommentStorageDriver;
51
52 class IntegerStorageDriver;
53
54 class IntegerArrayStorageDriver;
55
56 class RealStorageDriver;
57
58 class RealArrayStorageDriver;
59
60 class ExtStringArrayStorageDriver;
61
62 class VariableStorageDriver;
63
64 class ExpressionStorageDriver;
65
66 class RelationStorageDriver;
67
68 class NoteBookStorageDriver;
69
70 class TreeNodeStorageDriver;
71
72
73 --Extension
74 class TickStorageDriver;
75 class IntegerListStorageDriver;
76 class RealListStorageDriver;
77 class ExtStringListStorageDriver;
78 class BooleanListStorageDriver;
79 class ReferenceListStorageDriver;
80 class BooleanArrayStorageDriver;
81 class ReferenceArrayStorageDriver;
82 class ByteArrayStorageDriver;
83 class NamedDataStorageDriver;
84 class AsciiStringStorageDriver;
85 class IntPackedMapStorageDriver;
86
87 ---Purpose: Retrieval drivers for PDataStd attributes
88 -- =========================================
89
90 class DirectoryRetrievalDriver;
91
92 class UAttributeRetrievalDriver;
93
94 class NameRetrievalDriver;
95
96 class CommentRetrievalDriver;
97
98 class IntegerRetrievalDriver;
99
100 class IntegerArrayRetrievalDriver;
101
102 class IntegerArrayRetrievalDriver_1;
103
104 class RealRetrievalDriver;
105
106 class RealArrayRetrievalDriver;
107
108 class RealArrayRetrievalDriver_1;
109
110 class ExtStringArrayRetrievalDriver;
111
112 class ExtStringArrayRetrievalDriver_1;
113
114 class VariableRetrievalDriver;
115
116 class ExpressionRetrievalDriver;
117
118 class RelationRetrievalDriver;
119
120 class NoteBookRetrievalDriver;
121
122 class TreeNodeRetrievalDriver;
123
124
125 -- Extension
126 class TickRetrievalDriver;
127 class IntegerListRetrievalDriver;
128 class RealListRetrievalDriver;
129 class ExtStringListRetrievalDriver;
130 class BooleanListRetrievalDriver;
131 class ReferenceListRetrievalDriver;
132 class BooleanArrayRetrievalDriver;
133 class ReferenceArrayRetrievalDriver;
134 class ByteArrayRetrievalDriver;
135 class ByteArrayRetrievalDriver_1;
136 class NamedDataRetrievalDriver;
137 class AsciiStringRetrievalDriver;
138 class IntPackedMapRetrievalDriver;
139 class IntPackedMapRetrievalDriver_1;
140
141
142 AddStorageDrivers(aDriverSeq : ASDriverHSequence from MDF; theMessageDriver : MessageDriver from CDM);
143 ---Purpose: Adds the attribute storage drivers to <aDriverSeq>.
144
145
146 AddRetrievalDrivers(aDriverSeq : ARDriverHSequence from MDF; theMessageDriver : MessageDriver from CDM);
147 ---Purpose: Adds the attribute retrieval drivers to <aDriverSeq>.
148
149
150 ---Purpose: Translation of TDataStd enumerations to integer
151 -- ===============================================
152
153 RealDimensionToInteger (e : RealEnum from TDataStd)
154 returns Integer from Standard;
155
156 IntegerToRealDimension (i : Integer from Standard)
157 returns RealEnum from TDataStd;
158
159end MDataStd;