0025923: Remove small wires on face read from STEP
[occt.git] / src / PDataStd / PDataStd_IntPackedMap_1.cdl
CommitLineData
b311480e 1-- Created on: 2008-03-27
2-- Created by: Sergey ZARITCHNY
973c2be1 3-- Copyright (c) 2008-2014 OPEN CASCADE SAS
b311480e 4--
973c2be1 5-- This file is part of Open CASCADE Technology software library.
b311480e 6--
d5f74e42 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
973c2be1 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.
b311480e 12--
973c2be1 13-- Alternatively, this file may be used under the terms of Open CASCADE
14-- commercial license or contractual agreement.
7fd59977 15
16class IntPackedMap_1 from PDataStd inherits Attribute from PDF
17
18 ---Purpose: Persistence
19
20uses
21 HArray1OfInteger from PColStd
22
23
24is
6e33d3ce 25 Create returns IntPackedMap_1 from PDataStd;
7fd59977 26
27 Init (me : mutable; theLow, theUp: Integer from Standard);
28 ---Purpose: Inits the internal container
29 -- if (upper - lower) == 0 and (upper | lower) == 0, the corresponding
30 -- array is empty (not requested)
31
32 IsEmpty (me)
33 ---Purpose: Returns true if the internal container is empty
34 returns Boolean from Standard;
35
36 Upper (me)
37 ---Purpose: Returns an upper bound of the internal container
38 returns Integer from Standard;
39
40 Lower (me)
41 ---Purpose: Returns a lower bound of the internal container
42 returns Integer from Standard;
43
44 GetValue (me; theIndex : Integer from Standard)
45 returns Integer from Standard;
46
47 SetValue (me : mutable; theIndex : Integer from Standard;
48 theValue : Integer from Standard);
49
50 SetDelta(me : mutable; delta : Boolean from Standard);
51
52 GetDelta(me) returns Boolean from Standard;
53
54fields
55
56 myIntValues : HArray1OfInteger from PColStd;
57 myDelta : Boolean from Standard;
58
59end IntPackedMap_1;
60
61