#include <bacell.h>
Link against: bafl.lib
| class TRangeRef |
| Public Attributes | |
|---|---|
| TCellRef | iFrom |
| TCellRef | iTo |
| 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 &) |
Identifies a range of cells by start and end cell references. The range is inclusive of both the start and end cells.
See also: TCellRef
| TRangeRef | ( | ) | [inline] |
Default constructor.
The object's start cell and end cell are undefined.
| 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.
| 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. |
| IMPORT_C TInt | NoCells | ( | ) | const |
Gets the number of cells represented by the range.
| TInt | NoCols | ( | ) | const [inline] |
Gets the number of columns represented by the range.
| TInt | NoRows | ( | ) | const [inline] |
Gets the number of rows represented by the range.