LibreOffice Module vcl (master)  1
Classes | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
ImplPageCache Class Reference


struct  CacheEntry

Public Member Functions

 ImplPageCache ()
void insert (sal_Int32 i_nPageNo, const GDIMetaFile &i_rPage, const PrinterController::PageSize &i_rSize)
bool get (sal_Int32 i_nPageNo, GDIMetaFile &o_rPageFile, PrinterController::PageSize &o_rSize)
void invalidate ()

Private Member Functions

void updateRanking (sal_Int32 nLastHit)

Private Attributes

std::vector< CacheEntrymaPages
std::vector< sal_Int32 > maPageNumbers
std::vector< sal_Int32 > maCacheRanking

Static Private Attributes

static const sal_Int32 nCacheSize = 6

Detailed Description

Definition at line 50 of file print3.cxx.

Constructor & Destructor Documentation

ImplPageCache::ImplPageCache ( )

Definition at line 75 of file print3.cxx.

References i.

Member Function Documentation

bool ImplPageCache::get ( sal_Int32  i_nPageNo,
GDIMetaFile o_rPageFile,
PrinterController::PageSize o_rSize 

Definition at line 99 of file print3.cxx.

References i.

void ImplPageCache::insert ( sal_Int32  i_nPageNo,
const GDIMetaFile i_rPage,
const PrinterController::PageSize i_rSize 

Definition at line 85 of file print3.cxx.

void ImplPageCache::invalidate ( )

Definition at line 114 of file print3.cxx.

References i.

void ImplPageCache::updateRanking ( sal_Int32  nLastHit)

Definition at line 64 of file print3.cxx.

References i.

Member Data Documentation

std::vector< sal_Int32 > ImplPageCache::maCacheRanking

Definition at line 60 of file print3.cxx.

std::vector< sal_Int32 > ImplPageCache::maPageNumbers

Definition at line 59 of file print3.cxx.

std::vector< CacheEntry > ImplPageCache::maPages

Definition at line 58 of file print3.cxx.

const sal_Int32 ImplPageCache::nCacheSize = 6

Definition at line 62 of file print3.cxx.

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