2 dictionary-iter.hh -- declare Dictionary_iter
4 source file of the Flower Library
6 (c) 1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #ifndef DICTIONARY_ITER_HH
11 #define DICTIONARY_ITER_HH
13 #include "dictionary.hh"
17 #include "dictionary.hh"
22 Dictionary<V> *dict_l_;
25 Dictionary_iter(Dictionary<V> const &dict)
28 dict_l_ =(Dictionary<V> *) & dict;
34 return i < dict_l_->fixed_p_->dict_arr_.size ();
39 while (ok () && dict_l_->fixed_p_->dict_arr_[i].free_b_)
52 return dict_l_->fixed_p_->dict_arr_[i].name_;
56 return dict_l_->fixed_p_->dict_arr_[i].value_;
60 #endif // DICTIONARY_ITER_HH