Commit ba05cd38 authored by Jérôme Galtier's avatar Jérôme Galtier
Browse files

Tie IteratorBase to a graph instead of an automaton.

* include/vaucanson/automata/implementation/iterators/iterator_base.hh:
(IteratorBase::aut_): Replace by graph_ with type graph_t.
(iterator_traits_::automaton_t): Replace by graph_t.
parent 9dca457f
2009-09-15 Jrme Galtier <jerome.galtier@lrde.epita.fr>
Tie IteratorBase to a graph instead of an automaton.
* include/vaucanson/automata/implementation/iterators/iterator_base.hh:
(IteratorBase::aut_): Replace by graph_ with type graph_t.
(iterator_traits_::automaton_t): Replace by graph_t.
2009-09-15 Jrme Galtier <jerome.galtier@lrde.epita.fr>
 
Change IteratorBase::done() to be const.
......
......@@ -28,7 +28,7 @@ namespace vcsn
template <typename S>
struct iterator_traits_
{
typedef undefined_type automaton_t;
typedef undefined_type graph_t;
typedef undefined_type value_type;
};
......@@ -43,7 +43,7 @@ namespace vcsn
typedef IteratorBase<S> self_t;
// Virtual typedefs
typedef typename iterator_traits_<S>::automaton_t automaton_t;
typedef typename iterator_traits_<S>::graph_t graph_t;
typedef typename iterator_traits_<S>::value_type value_type;
IteratorBase();
......@@ -55,7 +55,7 @@ namespace vcsn
protected:
const automaton_t& aut_;
const graph_t& graph_;
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment