XLL+ Class Library (6.3)

CScalarConvertParams<T>::CScalarConvertParams

Constructs a CScalarConvertParams<T> object

CScalarConvertParams( );
CScalarConvertParams(
   const wchar_t* argName,
   unsigned long flags,
   const wchar_t* groupName = 0,
   size_t index = (size_t)-1,
   T& defaultValue = T()
);

Parameters

argName

The name of the argument to be converted, as it appears in Excel. This name is inserted into error messages if conversion fails.

flags

A set of flags, which are members of the XlConvertFlags enumeration.

groupName

The name of the grouped argument of which this argument is an item. Ignored unless flags contains XLA_OPER_IS_GROUP.

index

The position of the argument within its container. Used by error messages to indicate which item within a vector or matrix could not be converted.

defaultValue

The default value to be used if the argument is missing or empty. Ignored unless flags contains one or more of the XLA_DEFAULT_* values.

Requirements

Header: xlpconvert.h

See Also

CScalarConvertParams<T> Class | CScalarConvertParams<T> Methods