Main Page   Class Hierarchy   Compound List   Header Files   Compound Members  

ddgLCache Class Reference

Linked cache. More...

#include <ddgcache.h>

Class diagram for ddgLCache:

ddgTCache ddgSCache ddgQCache

List of all members.


Public Members

ddgLNodeget (ddgCacheIndex n)
Get entry.

ddgCacheIndex insert (ddgCacheIndex nextNode)
Insert a node into the cache before the specified node. More...

void remove (ddgCacheIndex ci)
Remove this node from the cache.

ddgCacheIndex insertHead (ddgCacheIndex nextNode)
Insert a node into the cache before the head node. More...

ddgCacheIndex insertTail (ddgCacheIndex prevNode)
Insert a node into the cache before the head node. More...


Detailed Description

Linked cache.

This cache can insert and remove items at will.


Member Function Documentation

ddgCacheIndex ddgLCache::insert (ddgCacheIndex nextNode) [inline]

Insert a node into the cache before the specified node.

returns the position in the cache that it was inserted into.

ddgCacheIndex ddgLCache::insertHead (ddgCacheIndex nextNode) [inline]

Insert a node into the cache before the head node.

Assumes we are inserting at the head of the list.

ddgCacheIndex ddgLCache::insertTail (ddgCacheIndex prevNode) [inline]

Insert a node into the cache before the head node.

Assumes we are inserting at the tail of the list.


The documentation for this class was generated from the following file:
Generated at Sun Sep 17 19:27:54 2000 for Digital Dawn Graphics Toolkit by doxygen 0.49-991205 written by Dimitri van Heesch, © 1997-1999