#include <app/vprop.h>
| class CParserPropertyValueInt : public CParserPropertyValue |
| Protected Attributes | |
|---|---|
| TInt | iValue |
| Public Member Functions | |
|---|---|
| CParserPropertyValueInt(TInt) | |
| virtual IMPORT_C void | ExternalizeL(RWriteStream &, const Versit::TEncodingAndCharset &, TInt) |
| TInt | Value() |
An integer property value parser.
This stores a property value as a signed integer. For example, an employee ID number might be stored using this class.
The UID for an integer property value is KVersitPropertyIntUid.
| IMPORT_C | CParserPropertyValueInt | ( | TInt | aValue | ) |
Constructs the property value with a signed integer.
Sets the property value's UID to KVersitPropertyIntUid.
| Parameter | Description |
|---|---|
| aValue | A signed integer value. |
| IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream, |
| const Versit::TEncodingAndCharset & | aEncodingCharset, | |||
| TInt | ||||
| ) | [virtual] | |||
Reimplemented from CParserPropertyValue::ExternalizeL(RWriteStream &,const Versit::TEncodingAndCharset &,TInt)
Externalizes the integer property value to aStream.
| Parameter | Description |
|---|---|
| aStream | Stream to which the value is to be externalised |
| aEncodingCharset | Specifies the character set and encoding information. Not used by this function. |
| TInt | Value | ( | ) | const [inline] |
Gets the signed integer property value.
Returns: The signed integer property value.