XLL+ Class Library

CXlSerialData::CXlSerialData

Constructs a CXlSerialData object

[C++]
CXlSerialData();
CXlSerialData(
   const char* pszFnName,
   void* pvFirstArg,
   bool bPrefixFn,
   int omitArgs
);
CXlSerialData(
   void* pvData,
   size_t cbData
);
CXlSerialData(
   const CXlSerialData& srcKey
);
CXlSerialData(
   const CXlOper& xlo
);

Parameters

pszFnName

Name of add-in function whose arguments are being converted to a byte array.

pvFirstArg

Address of the first argument to the add-in function. This pointer is used to traverse the argument stack, using the add-in function's registered definition to interpret the items in the stack.

bPrefixFn

If true, the name of the function will be prefixed to the byte array. This is useful if a single cache is used for more than one add-in function. If false, then the function is not prefixed. This is appropriate if each add-in function uses its own cache.

omitArgs

If non-zero, this instructs the serializer to omit the last nOmitArgs arguments in the list.

pvData

A pointer to an array of bytes, of size cbData.

cbData

Size of array of bytes.

srcKey

An object to be deep copied.

xlo

A CXlOper object containing one or more values which will be serialized to the new CXlSerialData object. If the CXlOper was passed as an argument from Excel, you must call CXlOper::Coerce() before saving it.

Remarks

This method constructs a CXlSerialData object.

Requirements

Header: xlserialize.h

See Also

CXlSerialData Class | CXlSerialData Methods