1 -- Created on: 1993-09-30
2 -- Created by: Denis PASCAL
3 -- Copyright (c) 1993-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
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
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.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 class SC from GraphTools inherits TShared from MMgt
19 ---Purpose: This class is used to identify a Strong Component.
20 -- The user has not to used its methods.
22 uses SCList from GraphTools,
23 SequenceOfInteger from TColStd
25 raises OutOfRange from Standard,
26 NoSuchObject from Standard
30 Create returns mutable SC;
35 AddVertex (me : mutable; V : Integer from Standard);
38 NbVertices (me) returns Integer from Standard;
41 GetVertex (me; index: Integer from Standard)
43 returns Integer from Standard;
45 AddFrontSC (me : mutable; SC : SC from GraphTools);
48 GetFrontSC (me) returns SCList from GraphTools;
50 ---C++: return const &
52 AddBackSC (me : mutable; SC : SC from GraphTools);
55 GetBackSC (me) returns SCList from GraphTools;
57 ---C++: return const &
61 myBackSC : SCList from GraphTools;
62 myVertices : SequenceOfInteger from TColStd;
63 myFrontSC : SCList from GraphTools;