Integration of OCCT 6.5.0 from SVN
[occt.git] / src / PDataStd / PDataStd_IntPackedMap_1.cdl
diff --git a/src/PDataStd/PDataStd_IntPackedMap_1.cdl b/src/PDataStd/PDataStd_IntPackedMap_1.cdl
new file mode 100755 (executable)
index 0000000..7737500
--- /dev/null
@@ -0,0 +1,52 @@
+-- File:       PDataStd_IntPackedMap_1.cdl
+-- Created:    Thu Mar 27 17:20:08 2008
+-- Author:     Sergey ZARITCHNY
+--             <sergey.zaritchny@opencascade.com>
+---Copyright:  Open CasCade SA 2008 
+
+class IntPackedMap_1 from PDataStd inherits Attribute from PDF
+
+       ---Purpose: Persistence
+
+uses
+    HArray1OfInteger  from  PColStd
+
+
+is
+    Create returns mutable  IntPackedMap_1 from  PDataStd;
+
+    Init (me : mutable; theLow,  theUp:  Integer  from Standard);
+    ---Purpose: Inits the internal container
+    --  if  (upper  -  lower)  ==  0  and (upper  |  lower) == 0, the corresponding  
+    --  array is empty (not requested)
+     
+    IsEmpty (me)
+    ---Purpose: Returns true if the internal container is empty
+    returns Boolean from Standard;  
+
+    Upper  (me)
+     ---Purpose: Returns an upper bound of the internal container
+    returns Integer from Standard;   
+
+    Lower  (me)
+     ---Purpose: Returns a lower bound of the internal container
+    returns Integer from Standard;   
+    
+    GetValue (me; theIndex : Integer from Standard)  
+    returns Integer from Standard;
+        
+    SetValue (me : mutable; theIndex : Integer from Standard;  
+                           theValue : Integer from Standard);
+     
+    SetDelta(me : mutable; delta : Boolean from Standard); 
+     
+    GetDelta(me) returns Boolean from Standard;
+    
+fields 
+
+    myIntValues      :  HArray1OfInteger from PColStd;       
+    myDelta  : Boolean from Standard;
+
+end IntPackedMap_1;
+
+