Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: VPROP.H
Link against: versit.lib

Class CParserPropertyValueInt

class CParserPropertyValueInt : public CParserPropertyValue;

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.

Derivation

Members

Defined in CParserPropertyValueInt:
CParserPropertyValueInt(), ExternalizeL(), Value(), iValue

Inherited from CBase:
Delete(), Extension_(), operator new()

Inherited from CParserPropertyValue:
Append(), EncodeL(), FoldAndWriteValueToStreamL(), FoldEncodeAndWriteValueToStreamL(), IsAsciiCharacterSetSufficient(), PlugIn(), SetPlugIn(), SupportsInterface(), Uid()


Construction and destruction


CParserPropertyValueInt()

IMPORT_C CParserPropertyValueInt(TInt aValue);

Description

Constructs the property value with a signed integer.

Sets the property value's UID to KVersitPropertyIntUid.

Parameters

TInt aValue

A signed integer value.

[Top]


Member functions


Value()

inline TInt Value() const;

Description

Gets the signed integer property value.

Return value

TInt

The signed integer property value.


ExternalizeL()

virtual IMPORT_C void ExternalizeL(RWriteStream &aStream, const Versit::TEncodingAndCharset &aEncodingCharset, TInt);

Description

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

[Top]


Member data


iValue

protected: TInt iValue;

Description