Swi::Sis::CSupportedOptions Class Reference

class Swi::Sis::CSupportedOptions : public Swi::Sis::CField

This class represents a SupportedOptions. SupportedOptions is a basic structure found in files. It is described in SGL.GT0140.045.

Inherits from

Public Member Functions
~CSupportedOptions ()
TInt Count ()
IMPORT_C CSupportedOptions * NewL ( MSisDataProvider &, TInt64 &, TReadTypeBehaviour )
IMPORT_C CSupportedOptions * NewL ( TPtrProvider &, TInt64 &, TReadTypeBehaviour )
IMPORT_C CSupportedOptions * NewLC ( MSisDataProvider &, TInt64 &, TReadTypeBehaviour )
IMPORT_C CSupportedOptions * NewLC ( TPtrProvider &, TInt64 &, TReadTypeBehaviour )
const CSupportedOption & operator[] ( TInt )
Private Member Functions
CSupportedOptions ()
void ConstructL ( MSisDataProvider &, TInt64 &, TReadTypeBehaviour )
void ConstructL ( TPtrProvider &, TInt64 &, TReadTypeBehaviour )
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Swi::Sis::CField::CField()
Swi::Sis::CField::CalculateCrcL(MSisDataProvider &,const TInt64,TUint16 &)
Swi::Sis::CField::CheckedReadL(MSisDataProvider &,TDes8 &,TInt,TInt64 &)
Swi::Sis::CField::CheckedReadL(MSisDataProvider &,TDes8 &,TInt64 &)
Swi::Sis::CField::ConstructL(MSisDataProvider &,TFieldType,TInt64 &,TReadTypeBehaviour)
Swi::Sis::CField::ConstructL(TPtrProvider &,TFieldType,TInt64 &,TReadTypeBehaviour)
Swi::Sis::CField::CreateHeader(TFieldType,TFieldLength,TDes8 &)
Swi::Sis::CField::EnsureAlignedL(MSisDataProvider &,TInt64,TInt64 &,TReadTypeBehaviour)
Swi::Sis::CField::EnsureAlignedL(TPtrProvider &,TInt64,TInt64 &,TReadTypeBehaviour)
Swi::Sis::CField::FieldType()const
Swi::Sis::CField::HeaderSize(TArrayStatus)const
Swi::Sis::CField::Length()const
Swi::Sis::CField::PaddingSize()const
Swi::Sis::CField::ReadEnumL(MSisDataProvider &,EnumType &,TInt64 &)
Swi::Sis::CField::ReadEnumL(TPtrProvider &,EnumType &,TInt64 &)
Swi::Sis::CField::ReadMemberArrayL(MSisDataProvider &,RPointerArray< T > &,TFieldType,TInt64 &,TReadTypeBehaviour)
Swi::Sis::CField::ReadMemberArrayL(TPtrProvider &,RPointerArray< T > &,TFieldType,TInt64 &,TReadTypeBehaviour)
Swi::Sis::CField::ReadMemberCollectionL(MSisDataProvider &,RPointerArray< T > &,TFieldType,TFieldType,TInt64 &,TReadTypeBehaviour)
Swi::Sis::CField::ReadMemberCollectionL(TPtrProvider &,RPointerArray< T > &,TFieldType,TFieldType,TInt64 &,TReadTypeBehaviour)
Swi::Sis::CField::ReadTTypeL(MSisDataProvider &,T &,TInt64 &)
Swi::Sis::CField::ReadTTypeL(TPtrProvider &,T &,TInt64 &)
Swi::Sis::CField::SkipUnknownFieldsL(MSisDataProvider &,TInt64,TInt64 &,TReadTypeBehaviour)
Swi::Sis::CField::SkipUnknownFieldsL(TPtrProvider &,TInt64,TInt64 &,TReadTypeBehaviour)
Swi::Sis::CField::~CField()
Inherited Enumerations
Swi::Sis::CField:TArrayStatus
Private Attributes
RPointerArray < CSupportedOption > iOptions

Constructor & Destructor Documentation

CSupportedOptions()

CSupportedOptions ( ) [private]

~CSupportedOptions()

IMPORT_C ~CSupportedOptions ( ) [virtual]

Member Functions Documentation

ConstructL(MSisDataProvider &, TInt64 &, TReadTypeBehaviour)

void ConstructL ( MSisDataProvider & aDataProvider,
TInt64 & aBytesRead,
TReadTypeBehaviour aTypeReadBehaviour
) [private]

The second-phase constructor.

Parameters

MSisDataProvider & aDataProvider An instance of a MSisDataProvider to read the entity from.
TInt64 & aBytesRead
TReadTypeBehaviour aTypeReadBehaviour Whether we need to check the sis type or not.

ConstructL(TPtrProvider &, TInt64 &, TReadTypeBehaviour)

void ConstructL ( TPtrProvider & aDataProvider,
TInt64 & aBytesRead,
TReadTypeBehaviour aTypeReadBehaviour
) [private]

The second-phase in place constructor.

Parameters

TPtrProvider & aDataProvider An instance of a TPtrProvider to read the entity from.
TInt64 & aBytesRead
TReadTypeBehaviour aTypeReadBehaviour Whether we need to check the sis type or not.

Count()

TInt Count ( ) const [inline]

This function returns the number of supported options. Note that it can be 0.

NewL(MSisDataProvider &, TInt64 &, TReadTypeBehaviour)

IMPORT_C CSupportedOptions * NewL ( MSisDataProvider & aDataProvider,
TInt64 & aBytesRead,
TReadTypeBehaviour aTypeReadBehaviour = EReadType
) [static]

This creates a new CSupportedOptions object.

Parameters

MSisDataProvider & aDataProvider An instance of a MSisDataProvider to read the entity from.
TInt64 & aBytesRead
TReadTypeBehaviour aTypeReadBehaviour = EReadType Whether we need to check the sis type or not.

NewL(TPtrProvider &, TInt64 &, TReadTypeBehaviour)

IMPORT_C CSupportedOptions * NewL ( TPtrProvider & aDataProvider,
TInt64 & aBytesRead,
TReadTypeBehaviour aTypeReadBehaviour = EReadType
) [static]

This creates a new CSupportedOptions object in place.

Parameters

TPtrProvider & aDataProvider An instance of a TPtrProvider to read the entity from.
TInt64 & aBytesRead
TReadTypeBehaviour aTypeReadBehaviour = EReadType Whether we need to check the sis type or not.

NewLC(MSisDataProvider &, TInt64 &, TReadTypeBehaviour)

IMPORT_C CSupportedOptions * NewLC ( MSisDataProvider & aDataProvider,
TInt64 & aBytesRead,
TReadTypeBehaviour aTypeReadBehaviour = EReadType
) [static]

This creates a new CSupportedOptions object and places it on the cleanup stack.

Parameters

MSisDataProvider & aDataProvider An instance of a MSisDataProvider to read the entity from.
TInt64 & aBytesRead
TReadTypeBehaviour aTypeReadBehaviour = EReadType Whether we need to check the sis type or not.

NewLC(TPtrProvider &, TInt64 &, TReadTypeBehaviour)

IMPORT_C CSupportedOptions * NewLC ( TPtrProvider & aDataProvider,
TInt64 & aBytesRead,
TReadTypeBehaviour aTypeReadBehaviour = EReadType
) [static]

This creates a new CSupportedOptions object in place and places it on the cleanup stack.

Parameters

TPtrProvider & aDataProvider An instance of a TPtrProvider to read the entity from.
TInt64 & aBytesRead
TReadTypeBehaviour aTypeReadBehaviour = EReadType Whether we need to check the sis type or not.

operator[](TInt)

const CSupportedOption & operator[] ( TInt n ) const [inline]

This operator returns the language at index n.

Parameters

TInt n

Member Data Documentation

RPointerArray< CSupportedOption > iOptions

RPointerArray < CSupportedOption > iOptions [private]

The list of Language objects.