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

Constructs the property value with a signed integer.

Sets the property value's UID to KVersitPropertyIntUid.

Parameters

TInt aValueA signed integer value.

Member Functions Documentation

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

IMPORT_C voidExternalizeL(RWriteStream &aStream,
const Versit::TEncodingAndCharset &aEncodingCharset,
TInt
)[virtual]

Externalizes the integer property value to aStream.

Parameters

RWriteStream & aStreamStream to which the value is to be externalised
const Versit::TEncodingAndCharset & aEncodingCharsetSpecifies 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]