Sets up a connection between a cache and an add-in function.
class CXlCacheBinding<C> |
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
You can find a sample using the CXlOperCache class below:
Header: xlserialize.h
CXlCacheBinding<C> Methods | xlserialize.h | CXlOperCache class | CXlInputKey class | CXlSerialData class | Cache sample