XLL+ Class Library (6.3)

PersistentHandleCache<T> Class

Manages object handles in Excel, and allows the objects to be serialized to a persistent cache.

class psl::PersistentHandleCache<T> : public HandleCache

Overview

The PersistentHandleCache<T> class is derived from HandleCache<T>, and adds the capbility to save the objects and their handles to persistent disk storage.

For a disussion of the use of PersistentHandleCache<T>, see Persistent object handles in the User Guide.

Instantiation

Only a single instance of a cache derived from HandleCache<T> is allowed to exist. So, if an instance of PersistentHandleCache<T> is instantiated, no further caches will be created at run-time.

Requirements

Header: rtdhandles.h
Namespace: psl

See Also

PersistentHandleCache<T> Methods | rtdhandles.h