XLL+ Class Library

CXlCacheBinding<C> Class

[C++]
class CXlCacheBinding<C>

Overview

The CXlCacheBinding template class sets up a connection between a cache and an add-in function. If a record matching the current function's arguments if not found, then the CXlCacheBinding object puts the result of the function into the cache automatically when the function exits.

This behavior removes the need for the programmer to call CXlOperCache::Add(), and makes it possible for the XLL+ Function Wizard to control cacheing completely.

The class is implemented inline in xlserialize.h

Sample applications

You can find sample using the CXlOperCache class below:

Requirements

Header: xlserialize.h

See Also

CXlCacheBinding<C> Methods | xlserialize.h | CXlOperCache class | CXlInputKey class | CXlSerialData class | Cache sample