LRDE Tiger Compiler
1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
iterator.hh
Go to the documentation of this file.
1
6
#ifndef TREE_ITERATOR_HH
7
# define TREE_ITERATOR_HH
8
9
# include <list>
10
11
# include <
tree/tree.hh
>
12
13
namespace
tree
14
{
15
16
class
Iterator
17
{
18
public
:
19
20
Iterator
(
const
rTree& entry);
21
22
void
first
();
23
24
bool
is_ok
()
const
;
25
26
rTree
tree_get
()
const
;
// 'const' means 'iterator cannot move'
27
28
void
next
();
29
30
private
:
31
32
rTree
entry_
;
33
std::list<rTree>
list_
;
34
};
35
36
}
37
38
# include <
tree/iterator.hxx
>
39
40
#endif // !TREE_ITERATOR_HH
tree
iterator.hh
Generated on Wed Mar 5 2014 15:47:37 for LRDE Tiger Compiler by
1.8.1.2