0024509: Suspect unused variable in TPrsStd_ConstraintTools.cxx
[occt.git] / src / GraphTools / GraphTools_SortedStrgCmptsIterator.cdl
CommitLineData
b311480e 1-- Created on: 1991-10-23
2-- Created by: Denis PASCAL
3-- Copyright (c) 1991-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
17generic class SortedStrgCmptsIterator from GraphTools
18 (Graph as any;
19 Vertex as any;
20 GIterator as any;
21 SSCIterator as any)
22
23--generic class SortedStrgCmptsIterator from GraphTools
24-- (Graph as any;
25-- Vertex as any;
26-- GIterator as GraphIterator (Graph,Vertex))
27-- SSCIterator as SortedStrgCmptsFromIterator
28
29 ---Purposes: This generic class implements the
30 -- SortedStrgCptsFromIterator with all vertices of <G>
31 -- reached by the Tool GIterator.
32
33raises NoMoreObject from Standard,
34 NoSuchObject from Standard
35
36is
37
38
39 Create
40 returns SortedStrgCmptsIterator from GraphTools;
41 ---Purpose: Create an empty algorithm.
42
43 Create (G : Graph)
44 ---Purpose: Create the algorithm setting each vertex of <G>
45 -- reached by GIterator tool, as initial conditions.
46 -- Use Perform method before visting the result of
47 -- the algorithm.
48 returns SortedStrgCmptsIterator from GraphTools;
49
50 FromGraph (me : in out; G : Graph);
51 ---Purpose: Add each vertex of <G> reached by GIterator tool
52 -- as initial conditions. Use Perform method
53 -- before visiting the result of the algorithm.
54 ---Level: Public
55
56 FromVertex (me : in out; V : Vertex);
57 ---Purpose: Add <V> as initial condition. This method is
58 -- cumulative. Use Perform method before visting the
59 -- result of the algorithm.
60 ---Level: Public
61
62 Reset (me : in out);
63 ---Purpose: Reset the algorithm. It may be reused with new
64 -- initial conditions.
65 ---Level: Public
66
67 Perform (me : in out; G : Graph);
68 ---Purpose: Peform the algorithm in <G> from initial setted
69 -- conditions.
70 ---Level: Public
71
72 More(me) returns Boolean from Standard;
73 ---Purpose: returns True if there are others strong
74 -- components.
75 ---Level: Public
76
77 Next(me : in out)
78 ---Purpose: Set the iterator to the next strong component.
79 ---Level: Public
80 raises NoMoreObject from Standard;
81
82 NbVertices (me) returns Integer from Standard
83 ---Purpose: Returns number of vertices of the current Strong
84 -- Components.
85 ---Level: Public
86 raises NoSuchObject from Standard;
87
88 Value(me; I : Integer from Standard)
89 returns any Vertex
90 ---Purpose: returns the vertex of index <I> of the current
91 -- Strong Component.
92 ---C++: return const &
93 ---Level: Public
94 raises NoSuchObject from Standard;
95
96fields
97
98 myIterator : SSCIterator;
99
100end SortedStrgCmptsIterator;
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117