TRangeRef Class Reference
Identifies a range of cells by start and end cell references. The range is inclusive of both the start and end cells. TCellRef
Nested Classes and Structures
Constructor & Destructor Documentation
TRangeRef()
Default constructor.
The object's start cell and end cell are undefined.
TRangeRef(const TCellRef &, const TCellRef &)
Constructor taking a start and end cell.
TRangeRef(TInt, TInt, TInt, TInt)
Constructor taking a start row and start column number, and an end row and end column number.
Parameters
TInt aFromRow | The start row number. |
TInt aFromCol | The start column number. |
TInt aToRow | The end row number. |
TInt aToCol | The end column number. |
Member Functions Documentation
Contains(const TCellRef &)
Tests whether the specified cell is contained within the range.
A range includes its outer perimeter.
Parameters
const TCellRef & aCell | The cell to be tested. |
ExternalizeL(RWriteStream &)
Externalises an object of this class to a write stream.
The presence of this function means that the standard templated operator<<() can be used to externalise objects of this class.
Parameters
RWriteStream & aStream | Stream to which the object should be externalised. |
InternalizeL(RReadStream &)
Internalises an object of this class from a read stream.
The presence of this function means that the standard templated operator>>() can be used to internalise objects of this class.
Note that the function has assignment semantics. It replaces the old value of the object with a new value read from the read stream.
Parameters
RReadStream & aStream | Stream from which the object is to be internalised. |
NoCells()
IMPORT_C TInt | NoCells | ( | ) | const |
Gets the number of cells represented by the range.
NoCols()
TInt
| NoCols | ( | ) | const [inline] |
Gets the number of columns represented by the range.
NoRows()
TInt
| NoRows | ( | ) | const [inline] |
Gets the number of rows represented by the range.
SetRange(const TCellRef &, const TCellRef &)
Sets the cell range to the specified cells.
Parameters
const TCellRef & aFrom | The start cell for the range. |
const TCellRef & aTo | The end cell for the range. |
SetRange(TInt, TInt, TInt, TInt)
Sets the cell range to the specified start row and column, and end row and column.
Parameters
TInt aFromRow | The start row number. |
TInt aFromCol | The start column number. |
TInt aToRow | The end row number. |
TInt aToCol | The end column number. |
operator!=(const TRangeRef &)
Compares this cell range with the specified cell range for inequality.
Parameters
const TRangeRef & aRange | The cell to be compared. |
operator==(const TRangeRef &)
Compares this cell range with the specified cell range for equality.
Parameters
const TRangeRef & aRange | The cell range to be compared. |
Member Data Documentation
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.