1 -- Created on: 2008-03-27
2 -- Created by: Sergey ZARITCHNY
3 -- Copyright (c) 2008-2014 OPEN CASCADE SAS
5 -- This file is part of Open CASCADE Technology software library.
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.
13 -- Alternatively, this file may be used under the terms of Open CASCADE
14 -- commercial license or contractual agreement.
16 class IntPackedMap_1 from PDataStd inherits Attribute from PDF
18 ---Purpose: Persistence
21 HArray1OfInteger from PColStd
25 Create returns IntPackedMap_1 from PDataStd;
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)
33 ---Purpose: Returns true if the internal container is empty
34 returns Boolean from Standard;
37 ---Purpose: Returns an upper bound of the internal container
38 returns Integer from Standard;
41 ---Purpose: Returns a lower bound of the internal container
42 returns Integer from Standard;
44 GetValue (me; theIndex : Integer from Standard)
45 returns Integer from Standard;
47 SetValue (me : mutable; theIndex : Integer from Standard;
48 theValue : Integer from Standard);
50 SetDelta(me : mutable; delta : Boolean from Standard);
52 GetDelta(me) returns Boolean from Standard;
56 myIntValues : HArray1OfInteger from PColStd;
57 myDelta : Boolean from Standard;