LibreOffice Module sd (master) 1
Public Types | Public Member Functions | Private Attributes | List of all members
sd::slidesorter::cache::PageCacheManager::RecentlyUsedPageCaches Class Reference

The recently used caches are stored in one queue for each document. More...

Public Types

typedef DocumentKey key_type
 
typedef RecentlyUsedQueue mapped_type
 
typedef std::map< key_type, mapped_type >::iterator iterator
 

Public Member Functions

 RecentlyUsedPageCaches ()
 
iterator end ()
 
void clear ()
 
iterator find (const key_type &key)
 
template<class... Args>
std::pair< iterator, bool > emplace (Args &&... args)
 

Private Attributes

std::map< key_type, mapped_typemaMap
 

Detailed Description

The recently used caches are stored in one queue for each document.

Definition at line 137 of file SlsPageCacheManager.cxx.

Member Typedef Documentation

◆ iterator

Definition at line 142 of file SlsPageCacheManager.cxx.

◆ key_type

Definition at line 140 of file SlsPageCacheManager.cxx.

◆ mapped_type

Definition at line 141 of file SlsPageCacheManager.cxx.

Constructor & Destructor Documentation

◆ RecentlyUsedPageCaches()

sd::slidesorter::cache::PageCacheManager::RecentlyUsedPageCaches::RecentlyUsedPageCaches ( )
inline

Definition at line 146 of file SlsPageCacheManager.cxx.

Member Function Documentation

◆ clear()

void sd::slidesorter::cache::PageCacheManager::RecentlyUsedPageCaches::clear ( )
inline

Definition at line 149 of file SlsPageCacheManager.cxx.

References maMap.

◆ emplace()

template<class... Args>
std::pair< iterator, bool > sd::slidesorter::cache::PageCacheManager::RecentlyUsedPageCaches::emplace ( Args &&...  args)
inline

Definition at line 152 of file SlsPageCacheManager.cxx.

References args, and maMap.

◆ end()

iterator sd::slidesorter::cache::PageCacheManager::RecentlyUsedPageCaches::end ( )
inline

Definition at line 148 of file SlsPageCacheManager.cxx.

References maMap.

◆ find()

iterator sd::slidesorter::cache::PageCacheManager::RecentlyUsedPageCaches::find ( const key_type key)
inline

Definition at line 150 of file SlsPageCacheManager.cxx.

References maMap.

Member Data Documentation

◆ maMap

std::map<key_type,mapped_type> sd::slidesorter::cache::PageCacheManager::RecentlyUsedPageCaches::maMap
private

Definition at line 144 of file SlsPageCacheManager.cxx.

Referenced by clear(), emplace(), end(), and find().


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