summaryrefslogtreecommitdiff
path: root/inc/TCollection_StackIterator.gxx
blob: ea38199f81e99be3bce7bed6d2386ce4896d0bb6 (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
// File:	TCollection_StackIterator.gxx
// Created:	26, Oct 1994
// Author:	Mireille MERCIEN
//	     

//
// The methods of Iterator needing the Node class
// are defined in TCollection_Stack.gxx
// 


//=======================================================================
//function : TCollection_StackIterator
//purpose  : 
//=======================================================================

TCollection_StackIterator::TCollection_StackIterator() : current(NULL)

{}

//=======================================================================
//function : TCollection_StackIterator
//purpose  : 
//=======================================================================

TCollection_StackIterator::TCollection_StackIterator(const TCollection_Stack& L) :
       current(L.myTop)
{}

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

void TCollection_StackIterator::Initialize(const TCollection_Stack& L)
{
  current = L.myTop;
}