#include <unixstl/filesystem/readdir_sequence.hpp>
This class performs as a non-mutating iterator (aka const iterator) for the readdir_sequence class.
Members | |
typedef const_iterator | class_type |
The class type. | |
typedef readdir_sequence::value_type | value_type |
The value type. | |
typedef readdir_sequence::flags_type | flags_type |
The flags type. | |
Construction | |
const_iterator () | |
Default constructor. | |
const_iterator (class_type const &rhs) | |
Copy constructor. | |
~const_iterator () throw () | |
Release the search handle. | |
class_type const & | operator= (class_type const &rhs) |
Copy assignment operator. | |
Public Member Functions | |
Input Iterator Methods | |
value_type | operator* () const |
Returns the value representative. | |
class_type & | operator++ () |
Moves the iteration on to the next point in the sequence, or end() if the sequence is exhausted. | |
class_type | operator++ (int) |
Post-increment form of operator ++(). | |
bool | equal (class_type const &rhs) const |
Compares this for equality with rhs . |
typedef const_iterator class_type |
The class type.
The value type.
Reimplemented from iterator_base< unixstl_ns_qual_std(input_iterator_tag), readdir_sequence::value_type, us_ptrdiff_t, void, readdir_sequence::value_type >.
The flags type.
const_iterator | ( | ) |
Default constructor.
const_iterator | ( | class_type const & | rhs | ) |
Copy constructor.
~const_iterator | ( | ) | throw () |
Release the search handle.
class_type const& operator= | ( | class_type const & | rhs | ) |
Copy assignment operator.
value_type operator* | ( | ) | const |
Returns the value representative.
class_type& operator++ | ( | ) |
Moves the iteration on to the next point in the sequence, or end() if the sequence is exhausted.
class_type operator++ | ( | int | ) |
Post-increment form of operator ++().
bool equal | ( | class_type const & | rhs | ) | const |
Compares this
for equality with rhs
.
rhs | The instance against which to test |
true | if the iterators are equivalent | |
false | if the iterators are not equivalent |