CParsedField Class Reference

#include <mw/bsp.h>

Link against: biut.lib

class CParsedField : public CBase

Inherits from

Detailed Description

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

Constructor & Destructor Documentation

CParsedField ( )

IMPORT_CCParsedField()

Constructor.

~CParsedField ( )

IMPORT_C~CParsedField()

Destructor.

Member Function Documentation

ExternalizeL ( RWriteStream & )

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

Externalises the object.

Parameters
aStreamStream to write to

FieldName ( )

IMPORT_C TPtrCFieldName()const

Gets the field name.

Return Value
Field name

FieldValue ( )

IMPORT_C TPtrCFieldValue()const

Gets the field value.

Return Value
Field value

InternalizeL ( RReadStream & )

IMPORT_C voidInternalizeL(RReadStream &aStream)

Internalises the object.

Parameters
aStreamStream to read from

MandatoryField ( )

IMPORT_C TBoolMandatoryField()const

Tests if this is a mandatory field.

Return Value
True if this is a mandatory field

SetFieldNameL ( const TDesC & )

IMPORT_C voidSetFieldNameL(const TDesC &aFieldName)

Sets the field name.

Parameters
aFieldNameField name

SetFieldValueL ( const TDesC & )

IMPORT_C voidSetFieldValueL(const TDesC &aFieldValue)

Sets the field value.

Parameters
aFieldValueField value

SetMandatoryField ( TBool )

IMPORT_C voidSetMandatoryField(TBoolaMandatoryField)

Sets/unsets this as a mandatory field.

Parameters
aMandatoryFieldTrue if this is a mandatory field, false if not