Audacity 3.2.0
|
A class that implements an iterator for the cache lookup result. More...
#include <GraphicsDataCache.h>
Public Types | |
using | iterator_category = std::forward_iterator_tag |
using | difference_type = std::ptrdiff_t |
using | value_type = CacheElementType |
using | pointer = value_type * |
using | reference = value_type & |
Public Member Functions | |
GraphicsDataCacheIterator ()=default | |
GraphicsDataCacheIterator (const GraphicsDataCacheIterator &)=default | |
GraphicsDataCacheIterator (GraphicsDataCacheIterator &&)=default | |
GraphicsDataCacheIterator & | operator= (const GraphicsDataCacheIterator &)=default |
GraphicsDataCacheIterator & | operator= (GraphicsDataCacheIterator &&)=default |
reference | operator* () const |
pointer | operator-> () |
GraphicsDataCacheIterator & | operator++ () |
GraphicsDataCacheIterator | operator++ (int) |
size_t | GetLeftOffset () const |
size_t | GetRightOffset () const |
Private Member Functions | |
GraphicsDataCacheIterator (const GraphicsDataCacheBase::BaseLookupResult &base, bool begin) | |
Private Attributes | |
GraphicsDataCacheBase::BaseLookupResult | mBaseLookup |
GraphicsDataCacheBase::Lookup::const_iterator | mIterator |
Friends | |
template<typename T > | |
class | GraphicsDataCache |
bool | operator== (const GraphicsDataCacheIterator &lhs, const GraphicsDataCacheIterator &rhs) |
bool | operator!= (const GraphicsDataCacheIterator &lhs, const GraphicsDataCacheIterator &rhs) |
A class that implements an iterator for the cache lookup result.
Definition at line 148 of file GraphicsDataCache.h.
using GraphicsDataCacheIterator< CacheElementType >::difference_type = std::ptrdiff_t |
Definition at line 152 of file GraphicsDataCache.h.
using GraphicsDataCacheIterator< CacheElementType >::iterator_category = std::forward_iterator_tag |
Definition at line 151 of file GraphicsDataCache.h.
using GraphicsDataCacheIterator< CacheElementType >::pointer = value_type* |
Definition at line 154 of file GraphicsDataCache.h.
using GraphicsDataCacheIterator< CacheElementType >::reference = value_type& |
Definition at line 155 of file GraphicsDataCache.h.
using GraphicsDataCacheIterator< CacheElementType >::value_type = CacheElementType |
Definition at line 153 of file GraphicsDataCache.h.
|
default |
|
default |
|
default |
|
inlineprivate |
Definition at line 215 of file GraphicsDataCache.h.
|
inline |
Definition at line 187 of file GraphicsDataCache.h.
References GraphicsDataCacheBase::BaseLookupResult::Begin, GraphicsDataCacheBase::BaseLookupResult::LeftOffset, GraphicsDataCacheIterator< CacheElementType >::mBaseLookup, and GraphicsDataCacheIterator< CacheElementType >::mIterator.
|
inline |
Definition at line 192 of file GraphicsDataCache.h.
References GraphicsDataCacheBase::BaseLookupResult::End, GraphicsDataCacheIterator< CacheElementType >::mBaseLookup, GraphicsDataCacheIterator< CacheElementType >::mIterator, and GraphicsDataCacheBase::BaseLookupResult::RightOffset.
|
inline |
Definition at line 163 of file GraphicsDataCache.h.
References GraphicsDataCacheIterator< CacheElementType >::mIterator.
|
inline |
Definition at line 173 of file GraphicsDataCache.h.
References GraphicsDataCacheIterator< CacheElementType >::mIterator.
|
inline |
Definition at line 180 of file GraphicsDataCache.h.
|
inline |
Definition at line 167 of file GraphicsDataCache.h.
References GraphicsDataCacheIterator< CacheElementType >::mIterator.
|
default |
|
default |
Definition at line 226 of file GraphicsDataCache.h.
|
friend |
Definition at line 207 of file GraphicsDataCache.h.
|
friend |
Definition at line 200 of file GraphicsDataCache.h.
|
private |
Definition at line 222 of file GraphicsDataCache.h.
Referenced by GraphicsDataCacheIterator< CacheElementType >::GetLeftOffset(), and GraphicsDataCacheIterator< CacheElementType >::GetRightOffset().
|
private |
Definition at line 223 of file GraphicsDataCache.h.
Referenced by GraphicsDataCacheIterator< CacheElementType >::GetLeftOffset(), GraphicsDataCacheIterator< CacheElementType >::GetRightOffset(), GraphicsDataCacheIterator< CacheElementType >::operator*(), GraphicsDataCacheIterator< CacheElementType >::operator++(), and GraphicsDataCacheIterator< CacheElementType >::operator->().