| class TRangeRef |
Identifies a range of cells by start and end cell references. The range is inclusive of both the start and end cells. TCellRef
| Public Member Functions | |
|---|---|
| TRangeRef () | |
| TRangeRef (const TCellRef &, const TCellRef &) | |
| TRangeRef ( TInt , TInt , TInt , TInt ) | |
| IMPORT_C TBool | Contains (const TCellRef &) |
| IMPORT_C void | ExternalizeL ( RWriteStream &) |
| IMPORT_C void | InternalizeL ( RReadStream &) |
| IMPORT_C TInt | NoCells () |
| TInt | NoCols () |
| TInt | NoRows () |
| void | SetRange (const TCellRef &, const TCellRef &) |
| void | SetRange ( TInt , TInt , TInt , TInt ) |
| TBool | operator!= (const TRangeRef &) |
| IMPORT_C TBool | operator== (const TRangeRef &) |
| Public Attributes | |
|---|---|
| TCellRef | iFrom |
| TCellRef | iTo |
| TRangeRef | ( | ) | [inline] |
Default constructor.
The object's start cell and end cell are undefined.
| TRangeRef | ( | const TCellRef & | aFrom, |
| const TCellRef & | aTo | ||
| ) | [inline] | ||
Constructor taking a start and end cell.
| TRangeRef | ( | TInt | aFromRow, |
| TInt | aFromCol, | ||
| TInt | aToRow, | ||
| TInt | aToCol | ||
| ) | [inline] | ||
Constructor taking a start row and start column number, and an end row and end column number.
| IMPORT_C TBool | Contains | ( | const TCellRef & | aCell | ) | const |
Tests whether the specified cell is contained within the range.
A range includes its outer perimeter.
| const TCellRef & aCell | The cell to be tested. |
| IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
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.
| RWriteStream & aStream | Stream to which the object should be externalised. |
| IMPORT_C void | InternalizeL | ( | RReadStream & | aStream | ) |
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.
| RReadStream & aStream | Stream from which the object is to be internalised. |
| void | SetRange | ( | const TCellRef & | aFrom, |
| const TCellRef & | aTo | |||
| ) | [inline] | |||
Sets the cell range to the specified cells.
| void | SetRange | ( | TInt | aFromRow, |
| TInt | aFromCol, | |||
| TInt | aToRow, | |||
| TInt | aToCol | |||
| ) | [inline] | |||
Sets the cell range to the specified start row and column, and end row and column.
| TBool | operator!= | ( | const TRangeRef & | aRange | ) | const [inline] |
Compares this cell range with the specified cell range for inequality.
| const TRangeRef & aRange | The cell to be compared. |
| IMPORT_C TBool | operator== | ( | const TRangeRef & | aRange | ) | const |
Compares this cell range with the specified cell range for equality.
| const TRangeRef & aRange | The cell range to be compared. |
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.