Search for usage in LXR

khtmlImLoad::TileCache Class Reference

#include <tilecache.h>

Public Types

typedef TileCacheNode Node

Public Member Functions

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

Public Attributes


Detailed Description

An LRU-replacement cache for tiles.

Definition at line 68 of file tilecache.h.

Member Function Documentation

◆ addEntry()

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

Add an entry to the cache.

Definition at line 132 of file tilecache.h.

◆ removeEntry()

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

Removes the entry from the cache, discards it.

Definition at line 169 of file tilecache.h.

◆ touchEntry()

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

"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-2022 The KDE developers.
Generated on Thu Aug 11 2022 03:57:30 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.