#include <bacell.h>
Link against: bafl.lib
| class TCellRef |
| Public Attributes | |
|---|---|
| TInt | iCol |
| TInt | iRow |
| 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 &) |
Identifies a cell by row and column number.
| TCellRef | ( | ) | [inline] |
Default constructor.
The object's row and column number are undefined.
| 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.
| Parameters | |
|---|---|
| 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.
| Parameters | |
|---|---|
| aStream | Stream from which the object is to be internalised. |
Adds the specified row and column numbers to this cell's row and column values.
| Parameters | |
|---|---|
| aRowOffset | The row number to be added. The value may be positive, zero or negative. |
| aColOffset | The column number to be added. The value may be positive, zero or negative. |
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 | |
|---|---|
| aCell | The cell to be added. |
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 | |
|---|---|
| aCell | The cell to be subtracted. |