Base iterator class.
More...
#include <zip.hpp>
◆ operator!=() [1/2]
bool libzip::archive::iterator::operator!= |
( |
const iterator & |
other | ) |
const |
|
inlinenoexcept |
Compare equality.
- Parameters
-
- Returns
- true if different
◆ operator!=() [2/2]
bool libzip::archive::iterator::operator!= |
( |
const iterator & |
other | ) |
const |
|
inlinenoexcept |
Compare equality.
- Parameters
-
- Returns
- true if different
◆ operator*() [1/2]
Dereference the iterator.
- Returns
- the stat information
◆ operator*() [2/2]
Dereference the iterator.
- Returns
- the stat information
◆ operator+() [1/2]
iterator libzip::archive::iterator::operator+ |
( |
int |
inc | ) |
const |
|
inlinenoexcept |
Increment.
- Parameters
-
- Returns
- the new iterator
◆ operator+() [2/2]
iterator libzip::archive::iterator::operator+ |
( |
int |
inc | ) |
const |
|
inlinenoexcept |
Increment.
- Parameters
-
- Returns
- the new iterator
◆ operator++() [1/4]
iterator& libzip::archive::iterator::operator++ |
( |
| ) |
|
|
inlinenoexcept |
Post increment.
- Returns
- this
◆ operator++() [2/4]
iterator& libzip::archive::iterator::operator++ |
( |
| ) |
|
|
inlinenoexcept |
Post increment.
- Returns
- this
◆ operator++() [3/4]
iterator libzip::archive::iterator::operator++ |
( |
int |
| ) |
|
|
inlinenoexcept |
Pre increment.
- Returns
- this
◆ operator++() [4/4]
iterator libzip::archive::iterator::operator++ |
( |
int |
| ) |
|
|
inlinenoexcept |
Pre increment.
- Returns
- this
◆ operator-() [1/2]
iterator libzip::archive::iterator::operator- |
( |
int |
dec | ) |
const |
|
inlinenoexcept |
Decrement.
- Parameters
-
- Returns
- the new iterator
◆ operator-() [2/2]
iterator libzip::archive::iterator::operator- |
( |
int |
dec | ) |
const |
|
inlinenoexcept |
Decrement.
- Parameters
-
- Returns
- the new iterator
◆ operator--() [1/4]
iterator& libzip::archive::iterator::operator-- |
( |
| ) |
|
|
inlinenoexcept |
Post decrement.
- Returns
- this
◆ operator--() [2/4]
iterator& libzip::archive::iterator::operator-- |
( |
| ) |
|
|
inlinenoexcept |
Post decrement.
- Returns
- this
◆ operator--() [3/4]
iterator libzip::archive::iterator::operator-- |
( |
int |
| ) |
|
|
inlinenoexcept |
Pre decrement.
- Returns
- this
◆ operator--() [4/4]
iterator libzip::archive::iterator::operator-- |
( |
int |
| ) |
|
|
inlinenoexcept |
Pre decrement.
- Returns
- this
◆ operator->() [1/2]
stat_ptr libzip::archive::iterator::operator-> |
( |
| ) |
const |
|
inline |
Dereference the iterator.
- Returns
- the stat information as point
◆ operator->() [2/2]
stat_ptr libzip::archive::iterator::operator-> |
( |
| ) |
const |
|
inline |
Dereference the iterator.
- Returns
- the stat information as point
◆ operator==() [1/2]
bool libzip::archive::iterator::operator== |
( |
const iterator & |
other | ) |
const |
|
inlinenoexcept |
Compare equality.
- Parameters
-
- Returns
- true if same
◆ operator==() [2/2]
bool libzip::archive::iterator::operator== |
( |
const iterator & |
other | ) |
const |
|
inlinenoexcept |
Compare equality.
- Parameters
-
- Returns
- true if same
◆ operator[]() [1/2]
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 |
◆ operator[]() [2/2]
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: