CParserPropertyValueInt Class Reference

#include <app/vprop.h>

Link against: versit.lib

class CParserPropertyValueInt : public CParserPropertyValue

Inherits from

Detailed Description

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.

Member Attribute Documentation

iValue

TInt iValue[protected]

Constructor & Destructor Documentation

CParserPropertyValueInt ( TInt )

IMPORT_CCParserPropertyValueInt(TIntaValue)

Constructs the property value with a signed integer.

Sets the property value's UID to KVersitPropertyIntUid.

ParameterDescription
aValueA signed integer value.

Member Function 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.

ParameterDescription
aStreamStream to which the value is to be externalised
aEncodingCharsetSpecifies the character set and encoding information. Not used by this function.

Value ( )

TInt Value()const [inline]

Gets the signed integer property value.

Returns: The signed integer property value.