18 #ifndef VAUCANSON_AUTOMATA_IMPLEMENTATION_BMIG_VGRAPH_CONTAINER_HXX
19 # define VAUCANSON_AUTOMATA_IMPLEMENTATION_BMIG_VGRAPH_CONTAINER_HXX
21 # include <vaucanson/automata/implementation/bmig/vgraph_container.hh>
33 template<typename EdgesIterator, typename GraphData, typename HTransition>
40 VGraphContainerIterator<EdgesIterator, GraphData, HTransition>
43 ITERATOR::VGraphContainerIterator(
const GraphData& c,
64 return HTransition(it_);
69 ITERATOR::operator==(
const VGraphContainerIterator& v)
const
83 ITERATOR::operator++()
85 if (next_ != container_.end())
94 ITERATOR::operator++(
int)
97 if (next_ != container_.end())
101 return ITERATOR(container_, tmp);
109 VGraphContainer<EdgesIterator, GraphData, HTransition>
112 CONTAINER::VGraphContainer(
const GraphData& g)
118 typename CONTAINER::iterator
119 CONTAINER::begin()
const
121 return ITERATOR(graph_, graph_.begin());
125 typename CONTAINER::iterator
126 CONTAINER::end()
const
128 return ITERATOR(graph_, graph_.end());
133 CONTAINER::size()
const
135 return graph_.size();
144 #endif // !VAUCANSON_AUTOMATA_IMPLEMENTATION_BMIG_VGRAPH_CONTAINER_HXX