0024927: Getting rid of "Persistent" functionality -- Code
[occt.git] / src / PDataStd / PDataStd_ByteArray_1.cdl
1 -- Created on: 2008-03-26
2 -- Created by: Sergey ZARITCHNY
3 -- Copyright (c) 2008-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 ByteArray_1 from PDataStd inherits Attribute from PDF
17
18         ---Purpose: Persistence
19 uses 
20
21     HArray1OfInteger from PColStd
22
23 is
24
25     Create 
26     returns ByteArray_1 from PDataStd;
27
28     Set (me : mutable;
29          values : HArray1OfInteger from PColStd);
30          
31     Get (me)
32     ---C++: return const &
33     returns HArray1OfInteger from PColStd; 
34      
35     SetDelta(me : mutable; delta : Boolean from Standard); 
36      
37     GetDelta(me) returns Boolean from Standard;
38
39 fields
40
41     myValues : HArray1OfInteger from PColStd;
42     myDelta  : Boolean from Standard;
43
44 end ByteArray_1;