XLL+ Class Library

CXlOper::CXlOper

Constructs a CXlOper object

[C++]
CXlOper();
CXlOper(
   const XLOPER& xlo
);
CXlOper(
   const OPER& op
);
CXlOper(
   double d
);
CXlOper(
   WORD wError
);
CXlOper(
   BOOL boolean
);
CXlOper(
   const char* psz
);
CXlOper(
   const CString& str
);
CXlOper(
   const std::string& str_stl
);
CXlOper(
   short int i,
   short int nDummy
);
CXlOper(
   double* pd,
   USHORT cRows
);
CXlOper(
   double* pd,
   USHORT cRows,
   USHORT cCols,
   BOOL bByRows = FALSE
);
CXlOper(
   double** apd,
   USHORT cRows,
   USHORT cCols,
   BOOL bByRows = FALSE
);
CXlOper(
   const xlp::matrix<double>& dmat
);
CXlOper(
   const xlp::matrix<CString>& smat
);
CXlOper(
   const std::vector<double>& dvec,
   BOOL bRow = FALSE
);
CXlOper(
   const std::vector<CString>& svec,
   BOOL bRow = FALSE
);

Parameters

xlo

An initialised XLOPER, or a reference to CXlOper.

op

An initialised OPER, or a reference to COper.

d

A double-precision floating-point number.

wError

An error number (see Error Values).

boolean

A boolean value: TRUE (1) or FALSE (0).

psz

A pointer to a null-terminated ASCII string, or a reference to a CString.

str

A reference to a CString, which will be copied into the value of the new object.

str_stl

A reference to a STL std::string, which will be copied into the value of the new object.

i

An integer value. (This constructor creates an XLOPER variant which is of use only in calls to the Excel SDK.)

nDummy

Ignored.

pd

An array of double's, containing either cRows items, or (cRows x cCols) items, depending on the function variant used. For the latter type, the values should be arranged in the order specified by the bByRows parameter.

cRows

The number of rows contained in the supplied array of doubles.

cCols

The number of columns contained in the supplied array of doubles.

bByRows

Storage order of arrays of double's. If TRUE, then values in the same row are stored contiguously, otherwise values in the same column are assumed to be stored contiguously.

apd

An array of pointers to double, containing either cRows arrays each of size cCols, or cCols arrays each of size cRows, depending on the order specified by the bByRows parameter.

dmat

A reference to a matrix of doubles. The array in the CXlOper will contain a copy of the matrix.

smat

A reference to a matrix of CStrings. The array in the CXlOper will contain a copy of the matrix.

dvec

A reference to a vector of doubles. The array in the CXlOper will contain a copy of the matrix.

bRow

If TRUE, then the vector created will be a row; otherwise the vector will be a column.

svec

A reference to a vector of CStrings. The array in the CXlOper will contain a copy of the matrix.

Example

MyUpper Example

Requirements

Header: xllplus.h

See Also

CXlOper Class | CXlOper Methods