0024023: Revamp the OCCT Handle -- ambiguity
[occt.git] / src / BOPTools / BOPTools_Set.cdl
CommitLineData
4e57c75e 1-- Created by: Peter KURNEV
973c2be1 2-- Copyright (c) 1999-2014 OPEN CASCADE SAS
4e57c75e 3--
973c2be1 4-- This file is part of Open CASCADE Technology software library.
4e57c75e 5--
d5f74e42 6-- This library is free software; you can redistribute it and/or modify it under
7-- the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 8-- by the Free Software Foundation, with special exception defined in the file
9-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
10-- distribution for complete text of the license and disclaimer of any warranty.
4e57c75e 11--
973c2be1 12-- Alternatively, this file may be used under the terms of Open CASCADE
13-- commercial license or contractual agreement.
4e57c75e 14
15class Set from BOPTools
16
98730279 17 ---Purpose:
4e57c75e 18
19uses
20 ShapeEnum from TopAbs,
21 Shape from TopoDS,
22 ListOfShape from BOPCol,
23 BaseAllocator from BOPCol
24
25--raises
26
27is
28 Create
98730279 29 returns Set from BOPTools;
30 ---C++: alias "Standard_EXPORT virtual ~BOPTools_Set();"
31
32 Create (theAllocator: BaseAllocator from BOPCol)
33 returns Set from BOPTools;
4e57c75e 34
4e57c75e 35 Assign(me:out;
98730279 36 Other : Set from BOPTools)
37 returns Set from BOPTools;
4e57c75e 38 ---C++: alias operator =
39 ---C++: return &
4e57c75e 40
41 Clear(me:out)
98730279 42 is protected;
43
4e57c75e 44 Shape(me)
98730279 45 returns Shape from TopoDS;
4e57c75e 46 ---C++: return const &
98730279 47
4e57c75e 48 Add(me:out;
98730279 49 theS:Shape from TopoDS;
50 theType: ShapeEnum from TopAbs);
51
4e57c75e 52 NbShapes(me)
98730279 53 returns Integer from Standard;
54
4e57c75e 55 IsEqual(me;
98730279 56 aOther:Set from BOPTools)
57 returns Boolean from Standard;
58
4e57c75e 59 HashCode(me;
98730279 60 Upper : Integer from Standard)
61 returns Integer from Standard;
4e57c75e 62
63fields
64 myAllocator : BaseAllocator from BOPCol is protected;
65 myShapes : ListOfShape from BOPCol is protected;
66 myShape : Shape from TopoDS is protected;
67 myNbShapes : Integer from Standard is protected;
68 mySum : Integer from Standard is protected;
69 myUpper : Integer from Standard is protected;
70
71end Set;