XLL+ Class Library (7.0)



xlmarshal.h contains classes that allow you to convert Excel argument and result types to and from a byte stream.

This behavior is useful for several reasons:

  1. Cacheing results. The byte stream can be used as an efficient key to a map. This means you can very easily cache the results of an add-in function in a map keyed by its inputs. The CXlOperCache class implements this behavior.
  2. Persistence. A byte stream can be saved to file explicitly, or can be save as binary data with any worksheet.
  3. Messaging. The byte stream can be passed along pipes or other simple channels, between threads, processes or machines.


Class Description
CXlMarshaledData A byte stream containing native and Excel data types.
CXlInputKey A specialised instance of marshaled data, which contains all the inputs to an add-in function, as a byte stream.
CXlOperCache A data store holding the results of functions, keyed by the values of all inputs.

See Also

CXlMarshaledData object | CXlInputKey object | CXlOperCache object | xldialog.h