XLL+ Class Library

CXlArray Methods

The methods of the CXlArray class are listed here.

Construction

public methodCXlArrayConstructs a CXlArray object
public methodCreateCreates and populates a CXlArray object
public methodCreateFromColsCreates and populates a CXlArray object
public methodCreateFromRowsCreates and populates a CXlArray object
public methodAllocResizes a CXlArray object
public methodAllocInitResizes a CXlArray object and initializes its memebers to zero

Operations

public methodInitZeroInitialise the CXlArray contents
public methodClearReclaim resources from CXlArray

Comparisons

public methodCompareCompare the contents of this CXlArray with another
public methodoperator ==Compare the contents of this CXlArray with another
public methodoperator !=Compare the contents of this CXlArray with another
public methodoperator <Compare the contents of this CXlArray with another
public methodoperator <=Compare the contents of this CXlArray with another
public methodoperator >Compare the contents of this CXlArray with another
public methodoperator >=Compare the contents of this CXlArray with another

Assignment operator

public methodoperator =Assigns a new value to the CXlArray

Access functions

public methodGetWidthReturns the number of columns in an array
public methodGetHeightReturns the number of rows in an array
public methodGetDimsGets the number of rows and columns in an array
public methodCountReturns the number of cells in an array
public methodCellReturns a reference to an item in an array
public methodRowReturns a pointer to a row of items in the array

Internals

public methodGetArrayReturns a pointer to the internal XLARRAY structure
public methodOwnedReturns whether the internal XLARRAY structure is owned by the CXlArray object

Return handler

public methodRetPrepares a CXlArray to be returned as a value to Excel

Matrix & vector functions

public methodReadVectorReads a row or a column from an array into a vector of numbers
public methodReadMatrixReads data from a 2-dimensional array into a matrix of numbers

Requirements

Header: xllplus.h

See Also

CXlArray Class | xllplus.h