olp-cpp-sdk
1.22.0
|
A constant iterator of the LruCache
object.
More...
#include <LruCache.h>
Public Types | |
typedef std::bidirectional_iterator_tag | iterator_category |
A typedef for the iterator category. | |
typedef std::ptrdiff_t | difference_type |
A typedef for the difference type. | |
typedef ValueType | value_type |
A typedef for the ValueType type. | |
typedef const value_type & | reference |
A typedef for the ValueType constant reference. | |
typedef const value_type * | pointer |
A typedef for the ValueType constant pointer. | |
Public Member Functions | |
const_iterator ()=default | |
Creates a constant iterator object. | |
const_iterator (const const_iterator &)=default | |
Creates a constant iterator object. | |
const_iterator & | operator= (const const_iterator &)=default |
Copies this and the specified iterator to this. More... | |
bool | operator== (const const_iterator &other) const |
Checks whether the values of the const_iterator parameter are the same as the values of the other parameter. More... | |
bool | operator!= (const const_iterator &other) const |
Checks whether the values of the const_iterator parameter are not the same as the values of the other parameter. More... | |
const_iterator & | operator++ () |
Iterates to the next LruCache object. More... | |
const_iterator | operator++ (int) |
Iterates the specified number of times to the next LruCache object. More... | |
const_iterator & | operator-- () |
Iterates to the previous LruCache object. More... | |
const_iterator | operator-- (int) |
Iterates the specified number of times to the previous LruCache object. More... | |
reference | operator* () const |
Gets a reference to this object. More... | |
pointer | operator-> () const |
Gets a pointer to this object. More... | |
![]() | |
const Key & | key () const |
Gets the key of the ValueType object. More... | |
const Value & | value () const |
Gets the value of the ValueType object. More... | |
Friends | |
template<typename , typename , typename , typename , template< typename > class> | |
class | LruCache |
Additional Inherited Members | |
![]() | |
MapType::const_iterator | m_it |
A typename of the map constant iterator. | |
A constant iterator of the LruCache
object.
|
inline |
Checks whether the values of the const_iterator
parameter are not the same as the values of the other
parameter.
other | The const_iterator instance. |
|
inline |
Gets a reference to this object.
|
inline |
Iterates to the next LruCache
object.
|
inline |
Iterates the specified number of times to the next LruCache
object.
|
inline |
Iterates to the previous LruCache
object.
|
inline |
Iterates the specified number of times to the previous LruCache
object.
|
inline |
Gets a pointer to this object.
|
default |
Copies this and the specified iterator to this.
|
inline |
Checks whether the values of the const_iterator
parameter are the same as the values of the other
parameter.
other | The const_iterator instance. |