0024624: Lost word in license statement in source files
[occt.git] / src / IFGraph / IFGraph_AllShared.cdl
CommitLineData
b311480e 1-- Created on: 1992-09-30
2-- Created by: Christian CAILLET
3-- Copyright (c) 1992-1999 Matra Datavision
973c2be1 4-- Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5--
973c2be1 6-- This file is part of Open CASCADE Technology software library.
b311480e 7--
d5f74e42 8-- This library is free software; you can redistribute it and/or modify it under
9-- the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 10-- by the Free Software Foundation, with special exception defined in the file
11-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12-- distribution for complete text of the license and disclaimer of any warranty.
b311480e 13--
973c2be1 14-- Alternatively, this file may be used under the terms of Open CASCADE
15-- commercial license or contractual agreement.
7fd59977 16
17class AllShared from IFGraph inherits GraphContent
18
19 ---Purpose : this class determines all Entities shared by some specific
20 -- ones, at any level (those which will be lead in a Transfer
21 -- for instance)
22
23uses Transient, EntityIterator, Graph
24
25is
26
27 Create (agraph : Graph) returns AllShared;
28 ---Purpose : creates an AllShared from a graph, empty ready to be filled
29
30 Create (agraph : Graph; ent : any Transient)
31 returns AllShared;
32 ---Purpose : creates an AllShared which memrizes Entities shared by a given
33 -- one, at any level, including itself
34
35 GetFromEntity (me : in out; ent : any Transient);
36 ---Purpose : adds an entity and its shared ones to the list (allows to
37 -- cumulate all Entities shared by some ones)
38
39 GetFromIter (me : in out; iter : EntityIterator);
40 ---Purpose : Adds Entities from an EntityIterator and all their shared
41 -- ones at any level
42
43 ResetData (me : in out);
44 ---Purpose : Allows to restart on a new data set
45
46 -- -- Results -- --
47 -- More-Next-Value give all entities noted as shared,
48 -- including the entities given for construction or to GetFromEntity
49
50 Evaluate (me : in out) is redefined;
51 ---Purpose : does the specific evaluation (shared entities atall levels)
52
53fields
54
55 thegraph : Graph;
56
57end AllShared;