BSUL::CMessageParameterBase Class Reference

class BSUL::CMessageParameterBase : public CBase

This is the abstract base class for all message parameter classes. The class defines one pure virtual function, ValidateL, which all derived classes must implement. This class also defines default implementation for the access methods which should be properly defined in all derived classes. This class is not intended for external derivation.

Inherits from

  • BSUL::CMessageParameterBase

Constructor & Destructor Documentation

CMessageParameterBase(const TParameterDetails &, TInt, const RMessage2 &, TCustomValidationFn)

CMessageParameterBase ( const TParameterDetails & aParam,
TInt aParamIndex,
const RMessage2 & aMessage,
TCustomValidationFn aValidationFn
) [protected]

Parameters

const TParameterDetails & aParam
TInt aParamIndex
const RMessage2 & aMessage
TCustomValidationFn aValidationFn

~CMessageParameterBase()

~CMessageParameterBase ( ) [inline, virtual]

Member Functions Documentation

CreateL(const TParameterDetails &, TInt, const RMessage2 &)

CMessageParameterBase * CreateL ( const TParameterDetails & aParam,
TInt aParamIndex,
const RMessage2 & aMessage
) [static]

Parameters

const TParameterDetails & aParam
TInt aParamIndex
const RMessage2 & aMessage

GetDes16L()

const TDesC & GetDes16L ( ) [virtual]

GetDes8L()

const TDesC8 & GetDes8L ( ) [virtual]

GetDesLengthL()

TInt GetDesLengthL ( ) [virtual]

GetDesMaxLengthL()

TInt GetDesMaxLengthL ( ) [virtual]

GetIntL()

TInt GetIntL ( ) [virtual]

GetPtrL()

const TAny * GetPtrL ( ) [virtual]

GetValidationFunctionL(const TParameterDetails &)

TCustomValidationFn GetValidationFunctionL ( const TParameterDetails & aParam ) [private, static]

Parameters

const TParameterDetails & aParam

Max()

TInt Max ( ) [virtual]

Min()

TInt Min ( ) [virtual]

ReadL(TDes8 &, TInt)

void ReadL ( TDes8 & aDes,
TInt aOffset
) [virtual]

Parameters

TDes8 & aDes
TInt aOffset

ReadL(TDes &, TInt)

void ReadL ( TDes & aDes,
TInt aOffset
) [virtual]

Parameters

TDes & aDes
TInt aOffset

ValidateL()

void ValidateL ( ) [pure virtual]

WriteL(const TDesC8 &, TInt)

void WriteL ( const TDesC8 & aDes,
TInt aOffset
) [virtual]

Parameters

const TDesC8 & aDes
TInt aOffset

WriteL(const TDesC &, TInt)

void WriteL ( const TDesC & aDes,
TInt aOffset
) [virtual]

Parameters

const TDesC & aDes
TInt aOffset

Member Data Documentation

TInt iIndex

TInt iIndex [protected]

const RMessage2 & iMessage

const RMessage2 & iMessage [protected]

const TParameterDetails & iParamDetails

const TParameterDetails & iParamDetails [protected]

TCustomValidationFn iValidationFn

TCustomValidationFn iValidationFn [protected]