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

CParserPropertyValueInt(TInt)

IMPORT_C CParserPropertyValueInt ( TInt aValue )

Constructs the property value with a signed integer.

Sets the property value's UID to KVersitPropertyIntUid.

Parameters

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,
TInt
) [virtual]

Externalizes the integer property value to aStream.

Parameters

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()

TInt Value ( ) const [inline]

Gets the signed integer property value.

Member Data Documentation

TInt iValue

TInt iValue [protected]