|
ADS
Algorithms and Data Structures
|
a constant view of the strings in their order, decoded one after the other, forward; *it is the string decoded in the iterator More...
#include <ADS/string/FrontCoding.h>
Public types | |
| using | reference = const std::string & |
| the string decoded | |
| using | value_type = std::string |
| a string | |
| using | difference_type = std::ptrdiff_t |
| a distance of iterators | |
| using | iterator_concept = std::forward_iterator_tag |
| a forward iterator for the concepts | |
| using | iterator_category = std::input_iterator_tag |
| an input iterator for the algorithms of C++17, since *it is a reference into the iterator | |
Public member functions | |
| const_iterator (void)=default | |
| an iterator on no dictionary | |
| const_iterator (const FrontCodedDictionary *d, std::size_t i) | |
| the iterator on the string \( i \) of *d, decoded from the string 0 | |
| reference | operator* (void) const |
| the string decoded | |
| const_iterator & | operator++ (void) |
| the next string, decoded from this one | |
| const_iterator | operator++ (int) |
| the next string, this one returned | |
| bool | operator== (const const_iterator &o) const |
| whether the two iterators are at the same place | |
a constant view of the strings in their order, decoded one after the other, forward; *it is the string decoded in the iterator
| using ADS::FrontCodedDictionary::const_iterator::difference_type = std::ptrdiff_t |
a distance of iterators
| using ADS::FrontCodedDictionary::const_iterator::iterator_category = std::input_iterator_tag |
an input iterator for the algorithms of C++17, since *it is a reference into the iterator
| using ADS::FrontCodedDictionary::const_iterator::iterator_concept = std::forward_iterator_tag |
a forward iterator for the concepts
| using ADS::FrontCodedDictionary::const_iterator::reference = const std::string & |
the string decoded
| using ADS::FrontCodedDictionary::const_iterator::value_type = std::string |
a string
|
default |
an iterator on no dictionary
|
inline |
the iterator on the string \( i \) of *d, decoded from the string 0
|
inline |
the string decoded
|
inline |
the next string, this one returned
|
inline |
the next string, decoded from this one
|
inline |
whether the two iterators are at the same place