Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: BSP.H
Link against: biut.lib

Class CParsedField

class CParsedField : public CBase;

Description

Represents a single token-value pair for a given field in a BIO/smart message grammar.

Derivation

Members

Defined in CParsedField:
CParsedField(), ExternalizeL(), FieldName(), FieldValue(), InternalizeL(), MandatoryField(), SetFieldNameL(), SetFieldValueL(), SetMandatoryField(), ~CParsedField()

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


Construction and destruction


CParsedField()

IMPORT_C CParsedField();

Description

Constructor.


~CParsedField()

IMPORT_C ~CParsedField();

Description

Destructor.

[Top]


Member functions


FieldName()

IMPORT_C TPtrC FieldName() const;

Description

Gets the field name.

Return value

TPtrC

Field name


SetFieldNameL()

IMPORT_C void SetFieldNameL(const TDesC &aFieldName);

Description

Sets the field name.

Parameters

const TDesC &aFieldName

Field name


FieldValue()

IMPORT_C TPtrC FieldValue() const;

Description

Gets the field value.

Return value

TPtrC

Field value


SetFieldValueL()

IMPORT_C void SetFieldValueL(const TDesC &aFieldValue);

Description

Sets the field value.

Parameters

const TDesC &aFieldValue

Field value


MandatoryField()

IMPORT_C TBool MandatoryField() const;

Description

Tests if this is a mandatory field.

Return value

TBool

True if this is a mandatory field


SetMandatoryField()

IMPORT_C void SetMandatoryField(TBool aMandatoryField);

Description

Sets/unsets this as a mandatory field.

Parameters

TBool aMandatoryField

True if this is a mandatory field, false if not


InternalizeL()

IMPORT_C void InternalizeL(RReadStream &aStream);

Description

Internalises the object.

Parameters

RReadStream &aStream

Stream to read from


ExternalizeL()

IMPORT_C void ExternalizeL(RWriteStream &aStream) const;

Description

Externalises the object.

Parameters

RWriteStream &aStream

Stream to write to