bit7z 4.0.0
A C++ library for interfacing with the 7-zip shared libs.
Loading...
Searching...
No Matches
BitInputArchive::ConstIterator Class Reference

An iterator for the elements contained in an archive. More...

#include <bit7z/bitinputarchive.hpp>

Public Member Functions

auto operator!= (const ConstIterator &other) const noexcept -> bool
 Compares the iterator with another iterator.
 
auto operator* () noexcept -> reference
 Accesses the pointed-to element in the archive.
 
auto operator++ () noexcept -> ConstIterator &
 Advances the iterator to the next element in the archive.
 
auto operator++ (int) noexcept -> ConstIterator
 Advances the iterator to the next element in the archive.
 
auto operator-> () noexcept -> pointer
 Accesses the pointed-to element in the archive.
 
auto operator== (const ConstIterator &other) const noexcept -> bool
 Compares the iterator with another iterator.
 

Detailed Description

An iterator for the elements contained in an archive.

Member Function Documentation

◆ operator!=()

auto operator!= ( const ConstIterator other) const -> bool
noexcept

Compares the iterator with another iterator.

Parameters
otherAnother iterator.
Returns
whether the two iterators point to the different elements in the archive or not.

◆ operator*()

auto operator* ( ) -> reference
noexcept

Accesses the pointed-to element in the archive.

Returns
a reference to the pointed-to element in the archive.

◆ operator++() [1/2]

auto operator++ ( ) -> ConstIterator &
noexcept

Advances the iterator to the next element in the archive.

Returns
the iterator pointing to the next element in the archive.

◆ operator++() [2/2]

auto operator++ ( int  ) -> ConstIterator
noexcept

Advances the iterator to the next element in the archive.

Returns
the iterator before the advancement.

◆ operator->()

auto operator-> ( ) -> pointer
noexcept

Accesses the pointed-to element in the archive.

Returns
a pointer to the pointed-to element in the archive.

◆ operator==()

auto operator== ( const ConstIterator other) const -> bool
noexcept

Compares the iterator with another iterator.

Parameters
otherAnother iterator.
Returns
whether the two iterators point to the same element in the archive or not.

The documentation for this class was generated from the following file: