0024509: Suspect unused variable in TPrsStd_ConstraintTools.cxx
[occt.git] / src / GraphTools / GraphTools_SC.cdl
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
5 --
6 -- This file is part of Open CASCADE Technology software library.
7 --
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.
13 --
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
16
17 class SC from GraphTools inherits TShared from MMgt
18
19     ---Purpose: This  class is used  to  identify a  Strong Component.
20     --          The user has not to used its methods.
21
22 uses SCList            from GraphTools,
23      SequenceOfInteger from TColStd
24
25 raises OutOfRange   from Standard,
26        NoSuchObject from Standard
27     
28 is
29
30     Create returns mutable SC;
31         
32     Reset (me : mutable);
33     ---Level: Public
34
35     AddVertex (me : mutable; V : Integer from Standard); 
36     ---Level: Public
37
38     NbVertices (me) returns Integer from Standard;
39     ---Level: Public
40
41     GetVertex (me; index: Integer from Standard) 
42     ---Level: Public
43     returns Integer from Standard;
44         
45     AddFrontSC (me : mutable; SC : SC from GraphTools);
46     ---Level: Public
47  
48     GetFrontSC (me) returns SCList from GraphTools;
49     ---Level: Public
50     ---C++: return const &      
51         
52     AddBackSC (me : mutable; SC : SC from GraphTools);
53     ---Level: Public
54
55     GetBackSC (me) returns SCList from GraphTools;
56     ---Level: Public
57     ---C++: return const &      
58
59 fields
60         
61     myBackSC   : SCList            from GraphTools;
62     myVertices : SequenceOfInteger from TColStd;
63     myFrontSC  : SCList            from GraphTools;
64
65 end SC;
66
67