CUpnpElementBean Class Reference

class CUpnpElementBean

Stores the data of element table row.

AVContentDirectory.lib
Since
Series60 3.1

Constructor & Destructor Documentation

CUpnpElementBean()

CUpnpElementBean()[private]

C++ default constructor.

~CUpnpElementBean()

~CUpnpElementBean()[virtual]

Destructor.

Member Functions Documentation

AttachElmL(CUpnpObject *)

CUpnpElement *AttachElmL(CUpnpObject *aElm)

Parameters

CUpnpObject * aElm

AttachElmL(TXmlEngElement)

TXmlEngElement AttachElmL(TXmlEngElementaElement)const
Adds the whole element to the given TXmlEngElement.
Since
Series S60 3.0

Parameters

TXmlEngElement aElementa element to which the value will be attached

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

ElmHasAttribute()

TBool ElmHasAttribute()const [inline]
Gets iElmHasAttribute value.
Since
Series S60 3.0

ElmId()

TInt ElmId()const [inline]
Gets iElmId value.
Since
Series S60 3.0

ElmIsRequired()

TBool ElmIsRequired()const [inline]
Gets iElmIsRequired value.
Since
Series S60 3.0

ElmName()

TDesC8 &ElmName()const
Gets iElmName value.
Since
Series S60 3.0

ElmObjId()

TInt ElmObjId()const [inline]
Gets iElmObjId value.
Since
Series S60 3.0

ElmValue()

TDesC8 &ElmValue()const [inline]
Gets iElmValue value.
Since
Series S60 3.0

NewLC()

CUpnpElementBean *NewLC()[static]

Two-phased constructor.

NewLC(const RDbRowSet &)

CUpnpElementBean *NewLC(const RDbRowSet &aRowSet)[static]

Two-phased constructor.

Parameters

const RDbRowSet & aRowSet

SetElmHasAttribute(TBool)

voidSetElmHasAttribute(TBoolaElmHasAttribute)[inline]
Sets iElmHasAttribute value.
Since
Series S60 3.0

Parameters

TBool aElmHasAttributevalue of elm_has_attribute in the element table

SetElmId(TInt)

voidSetElmId(TIntaElId)[inline]
Sets iElmId value.
Since
Series S60 3.0

Parameters

TInt aElIdvalue of elm_id in the element table

SetElmIsRequired(TBool)

voidSetElmIsRequired(TBoolaElmIsRequired)[inline]
Sets iElmIsRequired value.
Since
Series S60 3.0

Parameters

TBool aElmIsRequiredvalue of elm_is_required in the element table

SetElmNameL(const TDesC8 &)

voidSetElmNameL(const TDesC8 &aElmName)
Sets iElmName value.
Since
Series S60 3.0

Parameters

const TDesC8 & aElmNamevalue of elm_name in the element table

SetElmObjId(TInt)

voidSetElmObjId(TIntaElmObjId)[inline]
Sets iElmObjId value.
Since
Series S60 3.0

Parameters

TInt aElmObjIdvalue of elm_obj_id in the element table

SetElmValueL(const RDbRowSet &, const TInt)

voidSetElmValueL(const RDbRowSet &aRowSet,
const TIntaColNo
)
Sets iElmValue value.
Since
Series S60 3.0

Parameters

const RDbRowSet & aRowSet
const TInt aColNo

SetElmValueL(const TDesC8 &)

voidSetElmValueL(const TDesC8 &aVal)

Parameters

const TDesC8 & aVal

SetL(const RDbRowSet &)

voidSetL(const RDbRowSet &aRowSet)
Sets all values of the object value.
Since
Series S60 3.0

Parameters

const RDbRowSet & aRowSet

ValAsUriL()

HBufC8 *ValAsUriL()const [private]

Member Data Documentation

TBool iElmHasAttribute

TBool iElmHasAttribute[private]

TInt iElmId

TInt iElmId[private]

TBool iElmIsRequired

TBool iElmIsRequired[private]

HBufC8 * iElmName

HBufC8 *iElmName[private]

TInt iElmObjId

TInt iElmObjId[private]

HBufC8 * iElmValue

HBufC8 *iElmValue[private]