|
||
class TCellRef;
Identifies a cell by row and column number.
Defined in TCellRef
:
ExternalizeL(RWriteStream &)const
Externalises an object of this class to a write stream.InternalizeL(RReadStream &)
Internalises an object of this class from a read stream.Offset(TInt,TInt)
Adds the specified row and column numbers to this cell's row and column values.TCellRef()
Default constructor.TCellRef(TInt,TInt)
Constructor taking a row and column number.iCol
The column number. iRow
The row number. operator!=(const TCellRef &)const
Compares this cell with the specified cell for inequality.operator+=(const TCellRef &)
Adds the specified cell to this cell.operator-=(const TCellRef &)
Subtracts the specified cell from this cell.operator==(const TCellRef &)const
Compares this cell with the specified cell for equality.inline TCellRef();
Default constructor.
The object's row and column number are undefined.
inline TCellRef(TInt aRow, TInt aCol);
Constructor taking a row and column number.
|
inline TBool operator==(const TCellRef &aCell) const;
Compares this cell with the specified cell for equality.
|
|
inline TBool operator!=(const TCellRef &aCell) const;
Compares this cell with the specified cell for inequality.
|
|
inline TCellRef& operator+=(const TCellRef &aCell);
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.
|
|
inline TCellRef& operator-=(const TCellRef &aCell);
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.
|
|
IMPORT_C void Offset(TInt aRowOffset, TInt aColOffset);
Adds the specified row and column numbers to this cell's row and column values.
|
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>>(RReadStream &,T &)
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.
|
inline 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<<(RWriteStream &,const T &)
can be used to externalise objects of this class.
|
TInt iCol;
The column number.