Location:
S32STRM.H
Link against: estor.lib
class TCardinality;
Compact stream format for positive integer values in the range 0 to 536,870,911 ((2^29)-1). Values in the range 0-127 are stored in a single byte, 128-16383 in two bytes and other values in 4 bytes.
The class provides conversion to and from TInt, and both externalization and internalization functions. It is used to significant effect within Symbian code.
Defined in TCardinality
:
ExternalizeL()
, InternalizeL()
, TCardinality()
, TCardinality()
, operator TInt()
inline TCardinality(TInt aCount);
Constructs the object with the specified value.
|
IMPORT_C void ExternalizeL(RWriteStream &aStream) const;
Externalises this object to a write stream.
The existence of this function means that the standard templated operator<<()
can be used to externalise objects of this class.
|
IMPORT_C void InternalizeL(RReadStream &aStream);
Internalizes this object from a read stream.
The existence of this function means that the standard templated operator>>()
can be used to internalise objects of this class.
|