0024927: Getting rid of "Persistent" functionality -- Code
[occt.git] / src / PDataStd / PDataStd_BooleanList.cdl
1 -- Created on: 2007-05-29
2 -- Created by: Vlad Romashko
3 -- Copyright (c) 2007-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 BooleanList from PDataStd inherits Attribute from PDF
17
18 uses 
19
20     HArray1OfInteger from PColStd
21
22 is
23
24     Create 
25     returns BooleanList from PDataStd;
26
27     Init (me : mutable; 
28           lower, upper : Integer from Standard);
29
30     SetValue (me: mutable; 
31               index : Integer from Standard; 
32               value : Integer from Standard);
33
34     Value (me;  
35            index : Integer from Standard) 
36     returns Integer from Standard;
37
38     Lower (me) 
39     returns Integer from Standard;      
40
41     Upper (me) 
42     returns Integer from Standard;   
43
44 fields
45
46     myValue     :  HArray1OfInteger from PColStd;
47
48
49 end BooleanList;