XLL+ Class Library (6.3)

CXlArray Methods

The methods of the CXlArray class are listed here.

Construction

public method Alloc Resizes a CXlArray object
public method AllocInit Resizes a CXlArray object and initializes its memebers to zero
public method Create Creates and populates a CXlArray object
public method CreateFromCols Creates and populates a CXlArray object
public method CreateFromRows Creates and populates a CXlArray object
public method CXlArray Constructs a CXlArray object

Operations

public method Clear Reclaim resources from CXlArray
public method Copy Copies the contents of an CXlArray
public method InitZero Initialise the CXlArray contents

Comparisons

public method Compare Compare the contents of this CXlArray with another
public method operator != Compare the contents of this CXlArray with another
public method operator < Compare the contents of this CXlArray with another
public method operator <= Compare the contents of this CXlArray with another
public method operator == Compare the contents of this CXlArray with another
public method operator > Compare the contents of this CXlArray with another
public method operator >= Compare the contents of this CXlArray with another

Assignment operator

public method operator = Assigns a new value to the CXlArray

Access functions

public method Cell Returns a reference to an item in an array
public method Cols Returns the number of columns in an array
public method Count Returns the number of cells in an array
public method GetDims Gets the number of rows and columns in an array
public method GetHeight Returns the number of rows in an array
public method GetPointer Returns a pointer to the array of numbers
public method GetWidth Returns the number of columns in an array
public method Row Returns a pointer to a row of items in the array
public method Rows Returns the number of rows in an array

Internals

public method GetArray12 Returns a pointer to the internal XLARRAY12 structure
public method GetArray4 Returns a pointer to the internal XLARRAY4 structure
public method Owned Returns whether the internal XLARRAY structures are owned by the CXlArray object

Access functions

public method Cell Returns a reference to an item in an array
public method Cols Returns the number of columns in an array
public method Count Returns the number of cells in an array
public method GetDims Gets the number of rows and columns in an array
public method GetHeight Returns the number of rows in an array
public method GetPointer Returns a pointer to the array of numbers
public method GetWidth Returns the number of columns in an array
public method Row Returns a pointer to a row of items in the array
public method Rows Returns the number of rows in an array

Matrix & vector functions

public method ReadMatrix Reads data from a 2-dimensional array into a matrix of numbers
public method ReadVector Reads a row or a column from an array into a vector of numbers

Requirements

Header: xllplus.h

See Also

CXlArray Class | xllplus.h