khtmlImLoad::TileCache

khtmlImLoad::TileCache Class Reference

#include <tilecache.h>

Public Types

typedef TileCacheNode Node
 

Public Member Functions

 TileCache (int _sizeLimit)
 
void addEntry (Tile *tile)
 
Node * create ()
 
void release (Node *entry)
 
void removeEntry (Tile *tile)
 
void touchEntry (Tile *tile)
 

Public Attributes

Node * poolHead
 

Detailed Description

An LRU-replacement cache for tiles.

Definition at line 68 of file tilecache.h.

Member Function Documentation

void khtmlImLoad::TileCache::addEntry ( Tile tile)
inline

Add an entry to the cache.

Definition at line 132 of file tilecache.h.

void khtmlImLoad::TileCache::removeEntry ( Tile tile)
inline

Removes the entry from the cache, discards it.

Definition at line 169 of file tilecache.h.

void khtmlImLoad::TileCache::touchEntry ( Tile tile)
inline

"Touches" the entry, making it the most recent (i.e.

moves the entry to the rear of the chain)

Definition at line 159 of file tilecache.h.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sun May 24 2020 22:52:25 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.