Base iterator class.
More...
#include <zip.hpp>
◆ operator!=()
bool libzip::archive::iterator::operator!= |
( |
const iterator & |
other | ) |
const |
|
inlinenoexcept |
Compare equality.
- Parameters
-
- Returns
- true if different
◆ operator*()
Dereference the iterator.
- Returns
- the stat information
◆ operator+()
iterator libzip::archive::iterator::operator+ |
( |
int |
inc | ) |
const |
|
inlinenoexcept |
Increment.
- Parameters
-
- Returns
- the new iterator
◆ operator++() [1/2]
iterator& libzip::archive::iterator::operator++ |
( |
| ) |
|
|
inlinenoexcept |
Post increment.
- Returns
- this
◆ operator++() [2/2]
iterator libzip::archive::iterator::operator++ |
( |
int |
| ) |
|
|
inlinenoexcept |
Pre increment.
- Returns
- this
◆ operator-()
iterator libzip::archive::iterator::operator- |
( |
int |
dec | ) |
const |
|
inlinenoexcept |
Decrement.
- Parameters
-
- Returns
- the new iterator
◆ operator--() [1/2]
iterator& libzip::archive::iterator::operator-- |
( |
| ) |
|
|
inlinenoexcept |
Post decrement.
- Returns
- this
◆ operator--() [2/2]
iterator libzip::archive::iterator::operator-- |
( |
int |
| ) |
|
|
inlinenoexcept |
Pre decrement.
- Returns
- this
◆ operator->()
stat_ptr libzip::archive::iterator::operator-> |
( |
| ) |
const |
|
inline |
Dereference the iterator.
- Returns
- the stat information as point
◆ operator==()
bool libzip::archive::iterator::operator== |
( |
const iterator & |
other | ) |
const |
|
inlinenoexcept |
Compare equality.
- Parameters
-
- Returns
- true if same
◆ operator[]()
libzip::stat libzip::archive::iterator::operator[] |
( |
int |
index | ) |
|
|
inline |
Access a stat information at the specified index.
- Precondition
- must not be default-constructed
- Parameters
-
- Returns
- stat information
- Exceptions
-
std::runtime_error | on errors |
The documentation for this class was generated from the following file: