TCardinality Class Reference
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.
Constructor & Destructor Documentation
TCardinality(TInt)
TCardinality | ( | TInt | aCount | ) | [inline] |
Constructs the object with the specified value.
Parameters
TInt aCount | The value for this object. |
Member Functions Documentation
ExternalizeL(RWriteStream &)
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.
operator<<()
Parameters
RWriteStream & aStream | Stream to which the object should be externalised. |
InternalizeL(RReadStream &)
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.
operator>>()
Parameters
RReadStream & aStream | Stream store from which the objet is to be internalised. |
__DbgChkRange(TInt)
IMPORT_C void | __DbgChkRange | ( | TInt | aCount | ) | [private, static] |
operator TInt()
operator TInt | ( | ) | const [inline] |
Member Data Documentation
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.