TCellRef Class Reference
Identifies a cell by row and column number.
Constructor & Destructor Documentation
TCellRef()
Default constructor.
The object's row and column number are undefined.
TCellRef(TInt, TInt)
Constructor taking a row and column number.
Parameters
TInt aRow | The row number. |
TInt aCol | The column number. |
Member Functions Documentation
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. |
Offset(TInt, TInt)
IMPORT_C void | Offset | ( | TInt | aRowOffset, |
| TInt | aColOffset |
| ) | |
Adds the specified row and column numbers to this cell's row and column values.
Parameters
TInt aRowOffset | The row number to be added. The value may be positive, zero or negative. |
TInt aColOffset | The column number to be added. The value may be positive, zero or negative. |
operator!=(const TCellRef &)
Compares this cell with the specified cell for inequality.
Parameters
const TCellRef & aCell | The cell to be compared. |
operator+=(const TCellRef &)
Adds the specified cell to this cell.
Addition is the process of adding the specified cell's row and column numbers to this cell's row and column numbers respectively.
Parameters
const TCellRef & aCell | The cell to be added. |
operator-=(const TCellRef &)
Subtracts the specified cell from this cell.
Subtraction is the process of subtracting the specified cell's row and column numbers from this cell's row and column numbers respectively.
Parameters
const TCellRef & aCell | The cell to be subtracted. |
operator==(const TCellRef &)
Compares this cell with the specified cell for equality.
Parameters
const TCellRef & aCell | The cell 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.