CParserPropertyValueInt Class Reference

class CParserPropertyValueInt : public CParserPropertyValue

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.

Inherits from

Constructor & Destructor Documentation


IMPORT_C CParserPropertyValueInt ( TInt aValue )

Constructs the property value with a signed integer.

Sets the property value's UID to KVersitPropertyIntUid.


TInt aValue A signed integer value.

Member Functions Documentation

ExternalizeL(RWriteStream &, const Versit::TEncodingAndCharset &, TInt)

IMPORT_C void ExternalizeL ( RWriteStream & aStream,
const Versit::TEncodingAndCharset & aEncodingCharset,
) [virtual]

Externalizes the integer property value to aStream.


RWriteStream & aStream Stream to which the value is to be externalised
const Versit::TEncodingAndCharset & aEncodingCharset Specifies the character set and encoding information. Not used by this function.


TInt Value ( ) const [inline]

Gets the signed integer property value.

Member Data Documentation

TInt iValue

TInt iValue [protected]