0024927: Getting rid of "Persistent" functionality -- Code
[occt.git] / src / MDataStd / MDataStd_ExtStringArrayStorageDriver.cdl
1 -- Created on: 2004-09-27
2 -- Created by: Pavel TELKOV
3 -- Copyright (c) 2004-2014 OPEN CASCADE SAS
4 --
5 -- This file is part of Open CASCADE Technology software library.
6 --
7 -- This library is free software; you can redistribute it and/or modify it under
8 -- the terms of the GNU Lesser General Public License version 2.1 as published
9 -- by the Free Software Foundation, with special exception defined in the file
10 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 -- distribution for complete text of the license and disclaimer of any warranty.
12 --
13 -- Alternatively, this file may be used under the terms of Open CASCADE
14 -- commercial license or contractual agreement.
15
16 class ExtStringArrayStorageDriver from MDataStd inherits ASDriver from MDF
17
18         ---Purpose: 
19
20 uses SRelocationTable from MDF,
21      Attribute        from TDF,
22      Attribute        from PDF, 
23      MessageDriver    from CDM
24 is
25
26     Create(theMessageDriver : MessageDriver from CDM)  -- Version 0
27     returns ExtStringArrayStorageDriver from MDataStd;
28
29
30     VersionNumber(me) returns Integer from Standard;
31         ---Purpose: Returns the version number from which the driver
32         --          is available: 0.
33
34     SourceType(me) returns Type from Standard;
35         ---Purpose: Returns the type: ExtStringArray from TDataStd.
36
37     NewEmpty (me) returns Attribute from PDF;
38
39
40     Paste(me;
41           Source     :         Attribute from TDF;
42           Target     : Attribute from PDF;
43           RelocTable : SRelocationTable from MDF);
44
45
46 end ExtStringArrayStorageDriver;