CODImageCache Class

class CODImageCache: public CList

A list of smart pointers to image entries used to cache images.

Defined in: OdImageCache.h

Class Members

VIEWS_API CODImageCache()

Constructor

VIEWS_API ~CODImageCache()

Destructor

VIEWS_API CODImageEntryPtr& Lookup( CODImageEntryPtr &pSrc )

Looks up the given image entry in the cache. If a copy already exists in cache, the existing image is returned to the caller. If not, the image entry passed in is added to the cache.

VIEWS_API void Purge()

Removes images that are no longer referenced outside of the cache.