UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TLruCache< KeyType, ValueType, KeyComp >::TBaseIterator< Const > Class Template Reference

#include <LruCache.h>

Public Member Functions

UE_FORCEINLINE_HINT TBaseIterator ()
 
UE_FORCEINLINE_HINT TBaseIterator (const TLruCache &Cache)
 
TBaseIteratoroperator++ ()
 
UE_FORCEINLINE_HINT bool operator== (const TBaseIterator &Rhs) const
 
UE_FORCEINLINE_HINT bool operator!= (const TBaseIterator &Rhs) const
 
ValueType & operator-> () const
 
ValueType & operator* () const
 
UE_FORCEINLINE_HINT operator bool () const
 
UE_FORCEINLINE_HINT bool operator! () const
 
KeyType & Key () const
 
ValueType & Value () const
 

Protected Member Functions

FCacheEntry * GetCurrentEntry ()
 
void Increment ()
 

Detailed Description

template<typename KeyType, typename ValueType, typename KeyComp = DefaultKeyComparer<KeyType>>
template<bool Const>
class TLruCache< KeyType, ValueType, KeyComp >::TBaseIterator< Const >

Base class for cache iterators.

Iteration begins at the most recent entry.

Constructor & Destructor Documentation

◆ TBaseIterator() [1/2]

template<typename KeyType , typename ValueType , typename KeyComp = DefaultKeyComparer<KeyType>>
template<bool Const>
UE_FORCEINLINE_HINT TLruCache< KeyType, ValueType, KeyComp >::TBaseIterator< Const >::TBaseIterator ( )
inline

◆ TBaseIterator() [2/2]

template<typename KeyType , typename ValueType , typename KeyComp = DefaultKeyComparer<KeyType>>
template<bool Const>
UE_FORCEINLINE_HINT TLruCache< KeyType, ValueType, KeyComp >::TBaseIterator< Const >::TBaseIterator ( const TLruCache Cache)
inline

Member Function Documentation

◆ GetCurrentEntry()

template<typename KeyType , typename ValueType , typename KeyComp = DefaultKeyComparer<KeyType>>
template<bool Const>
FCacheEntry * TLruCache< KeyType, ValueType, KeyComp >::TBaseIterator< Const >::GetCurrentEntry ( )
inlineprotected

◆ Increment()

template<typename KeyType , typename ValueType , typename KeyComp = DefaultKeyComparer<KeyType>>
template<bool Const>
void TLruCache< KeyType, ValueType, KeyComp >::TBaseIterator< Const >::Increment ( )
inlineprotected

◆ Key()

template<typename KeyType , typename ValueType , typename KeyComp = DefaultKeyComparer<KeyType>>
template<bool Const>
KeyType & TLruCache< KeyType, ValueType, KeyComp >::TBaseIterator< Const >::Key ( ) const
inline

◆ operator bool()

template<typename KeyType , typename ValueType , typename KeyComp = DefaultKeyComparer<KeyType>>
template<bool Const>
UE_FORCEINLINE_HINT TLruCache< KeyType, ValueType, KeyComp >::TBaseIterator< Const >::operator bool ( ) const
inlineexplicit

◆ operator!()

template<typename KeyType , typename ValueType , typename KeyComp = DefaultKeyComparer<KeyType>>
template<bool Const>
UE_FORCEINLINE_HINT bool TLruCache< KeyType, ValueType, KeyComp >::TBaseIterator< Const >::operator! ( ) const
inline

◆ operator!=()

template<typename KeyType , typename ValueType , typename KeyComp = DefaultKeyComparer<KeyType>>
template<bool Const>
UE_FORCEINLINE_HINT bool TLruCache< KeyType, ValueType, KeyComp >::TBaseIterator< Const >::operator!= ( const TBaseIterator< Const > &  Rhs) const
inline

◆ operator*()

template<typename KeyType , typename ValueType , typename KeyComp = DefaultKeyComparer<KeyType>>
template<bool Const>
ValueType & TLruCache< KeyType, ValueType, KeyComp >::TBaseIterator< Const >::operator* ( ) const
inline

◆ operator++()

template<typename KeyType , typename ValueType , typename KeyComp = DefaultKeyComparer<KeyType>>
template<bool Const>
TBaseIterator & TLruCache< KeyType, ValueType, KeyComp >::TBaseIterator< Const >::operator++ ( )
inline

◆ operator->()

template<typename KeyType , typename ValueType , typename KeyComp = DefaultKeyComparer<KeyType>>
template<bool Const>
ValueType & TLruCache< KeyType, ValueType, KeyComp >::TBaseIterator< Const >::operator-> ( ) const
inline

◆ operator==()

template<typename KeyType , typename ValueType , typename KeyComp = DefaultKeyComparer<KeyType>>
template<bool Const>
UE_FORCEINLINE_HINT bool TLruCache< KeyType, ValueType, KeyComp >::TBaseIterator< Const >::operator== ( const TBaseIterator< Const > &  Rhs) const
inline

◆ Value()

template<typename KeyType , typename ValueType , typename KeyComp = DefaultKeyComparer<KeyType>>
template<bool Const>
ValueType & TLruCache< KeyType, ValueType, KeyComp >::TBaseIterator< Const >::Value ( ) const
inline

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