XLL+ Class Library (7.0)

Argument.Signature

The signature of the argument, including its dimensions and constraints.

Remarks

An argument's type may be a built-in data types or any Extended scalar type that has been registered.

The built-in types are as follows:

Type C++ type Description
Boolean BOOL Boolean (true or false) value
Double double Floating-point number
Int long Signed integer (32-bit)
Short Int short int Signed integer (16-bit)
String const CXlStringArg& Text string
Unsigned Short Int unsigned short int Unsigned integer (16-bit)
Reference const CXlOper* A reference to an Excel cell range
Value const CXlOper* The value(s) contained in an Excel cell range
XlArray const CXlArray& An array of numbers

Value types can be assigned a rank, which defines the number of dimensions they are expected to have.

Rank Name Description
0 Scalar A single value
1 Vector A set of values contained in a single row or column
2 Matrix A set of values contained in one or more rows and one or more columns

Vector or matrix arguments will be stored in a container, such as std::vector<T>. You can use the Vector Container or Matrix Container controls to specify a particular container class. Otherwise the default class (as defined by the DefaultVectorContainer or DefaultMatrixContainer settings) will be used.

See Also

Argument Model | Argument Properties