1 -- File: PDataStd_IntPackedMap_1.cdl
2 -- Created: Thu Mar 27 17:20:08 2008
3 -- Author: Sergey ZARITCHNY
4 -- <sergey.zaritchny@opencascade.com>
5 ---Copyright: Open CasCade SA 2008
7 class IntPackedMap_1 from PDataStd inherits Attribute from PDF
9 ---Purpose: Persistence
12 HArray1OfInteger from PColStd
16 Create returns mutable IntPackedMap_1 from PDataStd;
18 Init (me : mutable; theLow, theUp: Integer from Standard);
19 ---Purpose: Inits the internal container
20 -- if (upper - lower) == 0 and (upper | lower) == 0, the corresponding
21 -- array is empty (not requested)
24 ---Purpose: Returns true if the internal container is empty
25 returns Boolean from Standard;
28 ---Purpose: Returns an upper bound of the internal container
29 returns Integer from Standard;
32 ---Purpose: Returns a lower bound of the internal container
33 returns Integer from Standard;
35 GetValue (me; theIndex : Integer from Standard)
36 returns Integer from Standard;
38 SetValue (me : mutable; theIndex : Integer from Standard;
39 theValue : Integer from Standard);
41 SetDelta(me : mutable; delta : Boolean from Standard);
43 GetDelta(me) returns Boolean from Standard;
47 myIntValues : HArray1OfInteger from PColStd;
48 myDelta : Boolean from Standard;