class TCellRef |
Identifies a cell by row and column number.
Public Member Functions | |
---|---|
TCellRef () | |
TCellRef ( TInt , TInt ) | |
void | ExternalizeL ( RWriteStream &) |
IMPORT_C void | InternalizeL ( RReadStream &) |
IMPORT_C void | Offset ( TInt , TInt ) |
TBool | operator!= (const TCellRef &) |
TCellRef & | operator+= (const TCellRef &) |
TCellRef & | operator-= (const TCellRef &) |
TBool | operator== (const TCellRef &) |
Public Attributes | |
---|---|
TInt | iCol |
TInt | iRow |
TCellRef | ( | ) | [inline] |
Default constructor.
The object's row and column number are undefined.
TCellRef | ( | TInt | aRow, |
TInt | aCol | ||
) | [inline] |
Constructor taking a row and column number.
void | ExternalizeL | ( | RWriteStream & | aStream | ) | const [inline] |
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. |
IMPORT_C void | Offset | ( | TInt | aRowOffset, |
TInt | aColOffset | |||
) |
Adds the specified row and column numbers to this cell's row and column values.
TBool | operator!= | ( | const TCellRef & | aCell | ) | const [inline] |
Compares this cell with the specified cell for inequality.
const TCellRef & aCell | The cell to be compared. |
TCellRef & | operator+= | ( | const TCellRef & | aCell | ) | [inline] |
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.
const TCellRef & aCell | The cell to be added. |
TCellRef & | operator-= | ( | const TCellRef & | aCell | ) | [inline] |
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.
const TCellRef & aCell | The cell to be subtracted. |
TBool | operator== | ( | const TCellRef & | aCell | ) | const [inline] |
Compares this cell with the specified cell for equality.
const TCellRef & aCell | The cell 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.