MSenProperty Class Reference

#include <mw/MSenProperty.h>

class MSenProperty
Public Member Functions
pure virtual TInt BoolValue(TBool &)
pure virtual TInt IntValue(TInt &)
pure virtual TPtrC8 Name()
pure virtual TPtrC8 Type()
pure virtual TPtrC8 Value()
pure virtual TInt ValueTokensL(const TDesC8 &, RPointerArray< TPtrC8 > &)

Member Function Documentation

BoolValue ( TBool & )

TInt BoolValue(TBool &aValue)[pure virtual]

Gets the boolean value of the property

ParameterDescription
aValueA TBool reference to be filled in with the value of the property.

Returns: KErrNone if no error, or some of the system wide error codes.

IntValue ( TInt & )

TInt IntValue(TInt &aValue)[pure virtual]

Gets the integer value of the property

ParameterDescription
aValueA TInt reference to be filled in with the value of the property.

Returns: KErrNone if no error, or some of the system wide error codes.

Name ( )

TPtrC8 Name()[pure virtual]

Gets the name of the property

Returns: TPtrC8 containing name

Type ( )

TPtrC8 Type()[pure virtual]

Gets the type of the property

Returns: TPtrC8 containing type

Value ( )

TPtrC8 Value()[pure virtual]

Gets the value of the property

Returns: TPtrC8 containing value

ValueTokensL ( const TDesC8 &, RPointerArray< TPtrC8 > & )

TInt ValueTokensL(const TDesC8 &aDelimiter,
RPointerArray< TPtrC8 > &aTokens
)[pure virtual]

Populates given array with the tokens delimited by given delimiter. Note! Ownership of the TPtrC8 pointers is transfered to the caller.

ParameterDescription
aDelimiterUsed delimiter.
aTokensArray which will be populated by tokens.

Returns: KErrNone if tokens were found. KErrNotFound if tokens were not found.