0024509: Suspect unused variable in TPrsStd_ConstraintTools.cxx
[occt.git] / src / GraphTools / GraphTools_AdjSCIterator.gxx
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.
b311480e 16
7fd59977 17// <dp>
18
19#include <Standard_NoMoreObject.hxx>
20#include <Standard_NoSuchObject.hxx>
21
22
23//=======================================================================
24//function : GraphTools_AdjSCIterator
25//purpose :
26//=======================================================================
27GraphTools_AdjSCIterator::GraphTools_AdjSCIterator ()
28{
29}
30
31
32//=======================================================================
33//function : GraphTools_AdjSCIterator
34//purpose :
35//=======================================================================
36GraphTools_AdjSCIterator::GraphTools_AdjSCIterator
37 (const GraphTools_ReducedGraph& RG,
38 const Handle(GraphTools_SC)& SC)
39{
40 Initialize (RG,SC);
41}
42
43
44//=======================================================================
45//function : Initialize
46//purpose :
47//=======================================================================
48void GraphTools_AdjSCIterator::Initialize
49 (const GraphTools_ReducedGraph& RG,
50 const Handle(GraphTools_SC)& SC)
51{
52 myIterator.Initialize(SC->GetFrontSC());
53}
54
55
56//=======================================================================
57//function : More
58//purpose :
59//=======================================================================
60Standard_Boolean GraphTools_AdjSCIterator::More() const
61{
62 return myIterator.More();
63}
64
65
66//=======================================================================
67//function : Next
68//purpose :
69//=======================================================================
70void GraphTools_AdjSCIterator::Next()
71{
72 myIterator.Next();
73}
74
75
76//=======================================================================
77//function : Value
78//purpose :
79//=======================================================================
80Handle(GraphTools_SC) GraphTools_AdjSCIterator::Value () const
81{
82 return myIterator.Value();
83}
84
85
86
87
88
89
90
91