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

#include <LruCache.h>

+ Inheritance diagram for TLruCache< KeyType, ValueType, KeyComp >::TIterator:

Public Member Functions

 TIterator ()
 
 TIterator (TLruCache &InCache)
 
void RemoveCurrentAndIncrement ()
 
- Public Member Functions inherited from TLruCache< KeyType, ValueType, KeyComp >::TBaseIterator< false >
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
 

Additional Inherited Members

- Protected Member Functions inherited from TLruCache< KeyType, ValueType, KeyComp >::TBaseIterator< false >
FCacheEntry * GetCurrentEntry ()
 
void Increment ()
 

Detailed Description

template<typename KeyType, typename ValueType, typename KeyComp = DefaultKeyComparer<KeyType>>
class TLruCache< KeyType, ValueType, KeyComp >::TIterator

Cache iterator.

Constructor & Destructor Documentation

◆ TIterator() [1/2]

template<typename KeyType , typename ValueType , typename KeyComp = DefaultKeyComparer<KeyType>>
TLruCache< KeyType, ValueType, KeyComp >::TIterator::TIterator ( )
inline

◆ TIterator() [2/2]

template<typename KeyType , typename ValueType , typename KeyComp = DefaultKeyComparer<KeyType>>
TLruCache< KeyType, ValueType, KeyComp >::TIterator::TIterator ( TLruCache InCache)
inline

Member Function Documentation

◆ RemoveCurrentAndIncrement()

template<typename KeyType , typename ValueType , typename KeyComp = DefaultKeyComparer<KeyType>>
void TLruCache< KeyType, ValueType, KeyComp >::TIterator::RemoveCurrentAndIncrement ( )
inline

Removes the current element from the cache and increments the iterator.


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