2004-12-17 16:18:33 +05:00
|
|
|
-- File: GEOMAlgo_PassKey.cdl
|
|
|
|
-- Created:
|
|
|
|
-- Author: Peter KURNEV
|
|
|
|
-- <pkv@irinox>
|
|
|
|
---Copyright:
|
|
|
|
|
|
|
|
|
|
|
|
class PassKey from GEOMAlgo
|
|
|
|
|
|
|
|
---Purpose:
|
|
|
|
|
|
|
|
uses
|
|
|
|
Shape from TopoDS,
|
2005-03-23 12:27:20 +05:00
|
|
|
ListOfInteger from TColStd
|
2004-12-17 16:18:33 +05:00
|
|
|
|
|
|
|
--raises
|
|
|
|
|
|
|
|
is
|
|
|
|
Create
|
|
|
|
returns PassKey from GEOMAlgo;
|
2005-03-23 12:27:20 +05:00
|
|
|
|
2004-12-17 16:18:33 +05:00
|
|
|
Assign(me:out;
|
2005-03-23 12:27:20 +05:00
|
|
|
Other : PassKey from GEOMAlgo)
|
2004-12-17 16:18:33 +05:00
|
|
|
returns PassKey from GEOMAlgo;
|
|
|
|
---C++: alias operator =
|
|
|
|
---C++: return &
|
2005-03-23 12:27:20 +05:00
|
|
|
--
|
2004-12-17 16:18:33 +05:00
|
|
|
SetIds(me:out;
|
2005-03-23 12:27:20 +05:00
|
|
|
aI1 :Integer from Standard);
|
|
|
|
|
2004-12-17 16:18:33 +05:00
|
|
|
SetIds(me:out;
|
2005-03-23 12:27:20 +05:00
|
|
|
aI1 :Integer from Standard;
|
|
|
|
aI2 :Integer from Standard);
|
|
|
|
|
2004-12-17 16:18:33 +05:00
|
|
|
SetIds(me:out;
|
2005-03-23 12:27:20 +05:00
|
|
|
aI1 :Integer from Standard;
|
|
|
|
aI2 :Integer from Standard;
|
|
|
|
aI3 :Integer from Standard);
|
|
|
|
|
|
|
|
SetIds(me:out;
|
|
|
|
aI1 :Integer from Standard;
|
|
|
|
aI2 :Integer from Standard;
|
|
|
|
aI3 :Integer from Standard;
|
|
|
|
aI4 :Integer from Standard);
|
|
|
|
|
2004-12-17 16:18:33 +05:00
|
|
|
SetIds(me:out;
|
2005-03-23 12:27:20 +05:00
|
|
|
aLS :ListOfInteger from TColStd);
|
2004-12-17 16:18:33 +05:00
|
|
|
|
|
|
|
NbMax(me)
|
|
|
|
returns Integer from Standard;
|
|
|
|
|
|
|
|
Clear(me:out);
|
|
|
|
|
|
|
|
Compute(me:out);
|
|
|
|
|
|
|
|
IsEqual(me;
|
|
|
|
aOther:PassKey from GEOMAlgo)
|
|
|
|
returns Boolean from Standard;
|
|
|
|
|
|
|
|
Key(me)
|
|
|
|
returns Address from Standard;
|
|
|
|
|
|
|
|
HashCode(me;
|
|
|
|
Upper : Integer from Standard)
|
|
|
|
returns Integer from Standard;
|
|
|
|
|
2005-03-23 12:27:20 +05:00
|
|
|
Id(me;
|
|
|
|
aIndex: Integer from Standard)
|
|
|
|
returns Integer from Standard;
|
|
|
|
|
|
|
|
|
2004-12-17 16:18:33 +05:00
|
|
|
Dump(me);
|
|
|
|
|
|
|
|
fields
|
|
|
|
|
|
|
|
myNbIds: Integer from Standard is protected;
|
|
|
|
myNbMax: Integer from Standard is protected;
|
|
|
|
mySum : Integer from Standard is protected;
|
|
|
|
myIds : Integer from Standard [8] is protected;
|
|
|
|
|
|
|
|
end PassKey;
|