summaryrefslogtreecommitdiff
path: root/inc/GraphTools_SortedSCIterator.gxx
blob: fb5f4514c00ed61c8b4809b35bcabf1bc65d493b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
// Copyright: 	Matra-Datavision 1991
// File:	GraphTools_SortedSCIterator.cxx
// Created:	Wed Oct 23 16:28:16 1991
// Author:	Denis PASCAL
//		<dp>

#include <Standard_NoMoreObject.hxx>
#include <Standard_NoSuchObject.hxx>


//=======================================================================
//function : GraphTools_SortedSCIterator
//purpose  : 
//=======================================================================

GraphTools_SortedSCIterator::GraphTools_SortedSCIterator ()
{
}


//=======================================================================
//function : GraphTools_SortedSCIterator
//purpose  : 
//=======================================================================

GraphTools_SortedSCIterator::GraphTools_SortedSCIterator 
  (const GraphTools_ReducedGraph& RG)
{
  Initialize (RG);
}


//=======================================================================
//function : Initialize
//purpose  : 
//=======================================================================

void GraphTools_SortedSCIterator::Initialize
  (const GraphTools_ReducedGraph& RG)
{
  myIterator.Initialize(RG.mySort);
}



//=======================================================================
//function : More
//purpose  : 
//=======================================================================

Standard_Boolean GraphTools_SortedSCIterator::More() const
{
  return myIterator.More();
} 


//=======================================================================
//function : Next
//purpose  : 
//=======================================================================

void GraphTools_SortedSCIterator::Next()
{
  myIterator.Next();
}

//=======================================================================
//function : Value
//purpose  : 
//=======================================================================

Handle(GraphTools_SC) GraphTools_SortedSCIterator::Value () const
{
  return myIterator.Value();
}