CUpnpProtocolInfoLocal Class Reference

class CUpnpProtocolInfoLocal : public CUpnpDlnaProtocolInfo

Inherits from

Public Member Functions
~CUpnpProtocolInfoLocal()
IMPORT_C CUpnpProtocolInfoLocal *NewL(const TDesC8 &)
IMPORT_C CUpnpProtocolInfoLocal *NewL(const TDesC8 &, TInt)
IMPORT_C CUpnpProtocolInfoLocal *NewL(const TDesC8 &, const TDesC8 &)
Private Member Functions
CUpnpProtocolInfoLocal()
voidChooseDlnaL(const TDesC8 &, TInt)
voidConstructFromDlnaPnL(const TDesC8 &, const TDesC8 &)
voidConstructL(const TDesC8 &)
voidConstructL(const TDesC8 &, TInt)
voidDefaultValuesL()
voidFillAccordingToAddInfoL(TInt)
voidFillAccordingToMimeL(const TDesC8 &)
voidGetFourthParameterInternalL(TDes8 &)
voidSetDefaultFourthField()
voidZeroParameters()
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()
CUpnpDlnaProtocolInfo::CUpnpDlnaProtocolInfo()
CUpnpDlnaProtocolInfo::CiParameter()
CUpnpDlnaProtocolInfo::DlnaFlag(UpnpDlnaProtocolInfo::TDlnaFlags)
CUpnpDlnaProtocolInfo::FlagsParameterL()
CUpnpDlnaProtocolInfo::FourthField()
CUpnpDlnaProtocolInfo::FourthParameterInternalL()
CUpnpDlnaProtocolInfo::GetDlnaOpRangeParam()
CUpnpDlnaProtocolInfo::GetDlnaOpTimeParam()
CUpnpDlnaProtocolInfo::GetFourthParameterLength()
CUpnpDlnaProtocolInfo::GetOtherParams()
CUpnpDlnaProtocolInfo::IsDlnaFlagsSet()
CUpnpDlnaProtocolInfo::NewL()
CUpnpDlnaProtocolInfo::OpParameter(UpnpDlnaProtocolInfo::TDlnaParams)
CUpnpDlnaProtocolInfo::OpParameterL()
CUpnpDlnaProtocolInfo::PnParameter()
CUpnpDlnaProtocolInfo::PsParameter()
CUpnpDlnaProtocolInfo::SerializeDlnaFlagsL(TDes8 &)
CUpnpDlnaProtocolInfo::SetCiParameter(TBool)
CUpnpDlnaProtocolInfo::SetDlnaFlag(TBool,TUint8)
CUpnpDlnaProtocolInfo::SetDlnaFlag(UpnpDlnaProtocolInfo::TDlnaFlags,TBool)
CUpnpDlnaProtocolInfo::SetFlagsParameterL(const TDesC8 &)
CUpnpDlnaProtocolInfo::SetOpParameterL(UpnpDlnaProtocolInfo::TDlnaParams,TBool)
CUpnpDlnaProtocolInfo::SetOpParameterL(const TDesC8 &)
CUpnpDlnaProtocolInfo::SetOpRangeParam(TBool)
CUpnpDlnaProtocolInfo::SetOpTimeParam(TBool)
CUpnpDlnaProtocolInfo::SetOtherParamL(const TDesC8 &)
CUpnpDlnaProtocolInfo::SetPnParameterL(const TDesC8 &)
CUpnpDlnaProtocolInfo::SetPsParameterL(const TDesC8 &)
CUpnpDlnaProtocolInfo::~CUpnpDlnaProtocolInfo()
CUpnpProtocolInfo::BaseConstructL(const TDesC8 &)
CUpnpProtocolInfo::CUpnpProtocolInfo()
CUpnpProtocolInfo::CheckBooleanValue(TChar)
CUpnpProtocolInfo::FirstField()
CUpnpProtocolInfo::GetProtocolInfoLength()
CUpnpProtocolInfo::ParseAtomToDelimeter(TLex8 &,TChar)
CUpnpProtocolInfo::ProtocolInfoL()
CUpnpProtocolInfo::SecondField()
CUpnpProtocolInfo::SetFirstFieldL(const TDesC8 &)
CUpnpProtocolInfo::SetFourthFieldL(const TDesC8 &)
CUpnpProtocolInfo::SetParameterL(TInt,const TDesC8 &)
CUpnpProtocolInfo::SetSecondFieldL(const TDesC8 &)
CUpnpProtocolInfo::SetThirdFieldL(const TDesC8 &)
CUpnpProtocolInfo::Skip(TLex8 &,TInt)
CUpnpProtocolInfo::SkipAndMark(TLex8 &,TInt)
CUpnpProtocolInfo::ThirdField()
CUpnpProtocolInfo::~CUpnpProtocolInfo()
Inherited Attributes
CUpnpDlnaProtocolInfo::iDlnaCi
CUpnpDlnaProtocolInfo::iDlnaFlags
CUpnpDlnaProtocolInfo::iDlnaPn
CUpnpDlnaProtocolInfo::iDlnaPs
CUpnpDlnaProtocolInfo::iFlagsParam
CUpnpDlnaProtocolInfo::iOpParam
CUpnpDlnaProtocolInfo::iOtherParams
CUpnpDlnaProtocolInfo::iParams
CUpnpProtocolInfo::iFourthParameter
CUpnpProtocolInfo::iProtocolInfo
CUpnpProtocolInfo::iThirdParameter

Constructor & Destructor Documentation

CUpnpProtocolInfoLocal()

CUpnpProtocolInfoLocal()[private]

Constructor of the class

~CUpnpProtocolInfoLocal()

~CUpnpProtocolInfoLocal()[virtual]

Destructor of the class.

Member Functions Documentation

ChooseDlnaL(const TDesC8 &, TInt)

voidChooseDlnaL(const TDesC8 &aMimeType,
TIntaAdditionalInfo
)[private]

Main function for creating from mime type. See ConstructL(TDesC8&, TInt)

Parameters

const TDesC8 & aMimeType
TInt aAdditionalInfo

ConstructFromDlnaPnL(const TDesC8 &, const TDesC8 &)

voidConstructFromDlnaPnL(const TDesC8 &aMimeType,
const TDesC8 &aDlnaPn
)[private]

Parameters

const TDesC8 & aMimeType
const TDesC8 & aDlnaPn

ConstructL(const TDesC8 &)

voidConstructL(const TDesC8 &aInputString)[private]

Method for creating instance of class. aInputString has to contain protocolInfo string.

Parameters

const TDesC8 & aInputString

ConstructL(const TDesC8 &, TInt)

voidConstructL(const TDesC8 &aMimeType,
TIntaAdditionalInfo
)[private]

Creates object for further use. uses DefaultValue. aMimeType - mime type will be compared case insensitive. aAdditionalInfo - flag saying which specific DLNA.ORG_PN should be used. values taken from ADDITIONAL_INFO

Parameters

const TDesC8 & aMimeType
TInt aAdditionalInfo

DefaultValuesL()

voidDefaultValuesL()[private]

Fills up default values to create protocolInfo in form: "http-get:*:*:*"

FillAccordingToAddInfoL(TInt)

voidFillAccordingToAddInfoL(TIntaAdditionalInfo)[private]

Fills dlna parameters according only to additionalInfo which is int value. aAdditionalInfo - int value denoting value which should be taken into consideration.

Parameters

TInt aAdditionalInfo

FillAccordingToMimeL(const TDesC8 &)

voidFillAccordingToMimeL(const TDesC8 &aMimeType)[private]

Fills dlna parameters according only to info in mime type. aMimeType - name of a mime type.

Parameters

const TDesC8 & aMimeType

GetFourthParameterInternalL(TDes8 &)

voidGetFourthParameterInternalL(TDes8 &aBuffer)[private, virtual]

This function produces a string containing all info taken from fourth ProtocolInfo field aBuffer - on this variable values are appended.

Parameters

TDes8 & aBuffer

NewL(const TDesC8 &)

IMPORT_C CUpnpProtocolInfoLocal *NewL(const TDesC8 &aInputString)[static]

Method for creating instance of class. aInputString has to contain protocolInfo string.

Parameters

const TDesC8 & aInputString

NewL(const TDesC8 &, TInt)

IMPORT_C CUpnpProtocolInfoLocal *NewL(const TDesC8 &aMimeType,
TIntaAdditionalInfo
)[static]

Creates Default value of ProtocolInfo containing DLNA.ORG_PN specific data. aMimeType - name of mime type for file. aAdditionalInfo - additional information about what DLNA.ORG_PN type should be used. Default behaviour is choosen according to aMimeType, when aAdditionalInfo is equal to NO_ADDITIONAL_INFO. image/jpeg ---- JPEG_LRG image/png ---- PNG_LRG audio/mp3 ---- MP3 rest not defined.

Parameters

const TDesC8 & aMimeType
TInt aAdditionalInfo

NewL(const TDesC8 &, const TDesC8 &)

IMPORT_C CUpnpProtocolInfoLocal *NewL(const TDesC8 &aMimeType,
const TDesC8 &aDlnaPn
)[static]

Parameters

const TDesC8 & aMimeType
const TDesC8 & aDlnaPn

SetDefaultFourthField()

voidSetDefaultFourthField()[private]

This member function sets defult values for optional parameters of 4-th field of protocolInfo Value for Audio/Video: DLNA.ORG_OP=01;DLNA.ORG_FLAGS=01500000000000000000000000000000 Value for Image : DLNA.ORG_OP=01;DLNA.ORG_FLAGS=00D00000000000000000000000000000

ZeroParameters()

voidZeroParameters()[private]

Does nothing.