libosmscout  1.1.1
Public Member Functions | List of all members
osmscout::PageManager< I, E > Class Template Reference

#include <libosmscout-import/include/osmscout/import/GenCoordDat.h>

Public Member Functions

 PageManager (uint32_t maximumEntriesInMemory, uint32_t pageSize, uint32_t overallEntryCount, std::function< void(const I &, std::vector< E > &&)> processor)
 
GetMinPageId () const
 
uint32_t GetProcessedPagesCount () const
 
uint32_t GetProcessedPagesEntryCount () const
 
bool IsACurrentlyHandledPage (const I &id) const
 
void AddEntry (const I &id, const E &entry)
 
bool AreAllEntriesLoaded () const
 
void FileCompletelyScanned ()
 

Constructor & Destructor Documentation

◆ PageManager()

template<typename I , typename E >
osmscout::PageManager< I, E >::PageManager ( uint32_t  maximumEntriesInMemory,
uint32_t  pageSize,
uint32_t  overallEntryCount,
std::function< void(const I &, std::vector< E > &&)>  processor 
)
inline

Member Function Documentation

◆ AddEntry()

template<typename I , typename E >
void osmscout::PageManager< I, E >::AddEntry ( const I &  id,
const E &  entry 
)
inline

◆ AreAllEntriesLoaded()

template<typename I , typename E >
bool osmscout::PageManager< I, E >::AreAllEntriesLoaded ( ) const
inline

◆ FileCompletelyScanned()

template<typename I , typename E >
void osmscout::PageManager< I, E >::FileCompletelyScanned ( )
inline

◆ GetMinPageId()

template<typename I , typename E >
I osmscout::PageManager< I, E >::GetMinPageId ( ) const
inline

◆ GetProcessedPagesCount()

template<typename I , typename E >
uint32_t osmscout::PageManager< I, E >::GetProcessedPagesCount ( ) const
inline

◆ GetProcessedPagesEntryCount()

template<typename I , typename E >
uint32_t osmscout::PageManager< I, E >::GetProcessedPagesEntryCount ( ) const
inline

◆ IsACurrentlyHandledPage()

template<typename I , typename E >
bool osmscout::PageManager< I, E >::IsACurrentlyHandledPage ( const I &  id) const
inline

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