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,
TIntaParamIndex,
const RMessage2 &aMessage,
TCustomValidationFnaValidationFn
)[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,
TIntaParamIndex,
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)

voidReadL(TDes8 &aDes,
TIntaOffset
)[virtual]

Parameters

TDes8 & aDes
TInt aOffset

ReadL(TDes &, TInt)

voidReadL(TDes &aDes,
TIntaOffset
)[virtual]

Parameters

TDes & aDes
TInt aOffset

ValidateL()

voidValidateL()[pure virtual]

WriteL(const TDesC8 &, TInt)

voidWriteL(const TDesC8 &aDes,
TIntaOffset
)[virtual]

Parameters

const TDesC8 & aDes
TInt aOffset

WriteL(const TDesC &, TInt)

voidWriteL(const TDesC &aDes,
TIntaOffset
)[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]