CUpnpAttributeBean Class Reference

class CUpnpAttributeBean

Stores the data of attribute table row.

AVContentDirectory.lib
Since
Series60 3.1

Constructor & Destructor Documentation

CUpnpAttributeBean()

CUpnpAttributeBean()[private]

C++ default constructor.

~CUpnpAttributeBean()

~CUpnpAttributeBean()[virtual]

Destructor.

Member Functions Documentation

AtrElmId()

TInt AtrElmId()const [inline]
Gets iAtrObjId value.
Since
Series S60 3.0

AtrId()

TInt AtrId()const [inline]
Gets iAtrId value.
Since
Series S60 3.0

AtrIsRequired()

TBool AtrIsRequired()const [inline]
Gets iAtrIsRequired value.
Since
Series S60 3.0

AtrName()

TDesC8 &AtrName()const [inline]
Gets iAtrName value.
Since
Series S60 3.0

AtrValue()

TDesC8 &AtrValue()const [inline]
Gets iAtrValue value.
Since
Series S60 3.0

AttachAttrL(CUpnpElement *)

voidAttachAttrL(CUpnpElement *aElm)

Parameters

CUpnpElement * aElm

AttachAttrL(TXmlEngElement)

TXmlEngAttr AttachAttrL(TXmlEngElementaElement)
Adds attribute to the given TXmlEngElement.
Since
Series S60 3.0

Parameters

TXmlEngElement aElement

ConstructL()

voidConstructL()[private]

Second phase of the constructor.

By default Symbian 2nd phase constructor is private.

NewLC()

CUpnpAttributeBean *NewLC()[static]

Two-phased constructor.

NewLC(const RDbRowSet &)

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

Two-phase constructor aparam aRowSet a rowset of the attribute table

Parameters

const RDbRowSet & aRowSet

SetAtrElmId(TInt)

voidSetAtrElmId(TIntaAtrObjId)[inline]
Sets iAtrObjId value.
Since
Series S60 3.0

Parameters

TInt aAtrObjIdvalue of Atr_obj_id in the Attribute table

SetAtrId(TInt)

voidSetAtrId(TIntaElId)[inline]
Sets iAtrId value.
Since
Series S60 3.0

Parameters

TInt aElIdvalue of atr_id in the Attribute table

SetAtrIsRequired(TBool)

voidSetAtrIsRequired(TBoolaAtrIsRequired)[inline]
Sets iAtrIsRequired value.
Since
Series S60 3.0

Parameters

TBool aAtrIsRequiredvalue of Atr_is_required in the Attribute table

SetAtrNameL(const TDesC8 &)

voidSetAtrNameL(const TDesC8 &aAtrName)
Sets iAtrName value.
Since
Series S60 3.0

Parameters

const TDesC8 & aAtrNamevalue of Atr_name in the Attribute table

SetAtrValueL(const RDbRowSet &, const TInt)

voidSetAtrValueL(const RDbRowSet &aRowSet,
const TIntaColNo
)
Sets iAtrValue value.
Since
Series S60 3.0

Parameters

const RDbRowSet & aRowSet
const TInt aColNo

SetAtrValueL(const TDesC8 &)

voidSetAtrValueL(const TDesC8 &aVal)

Parameters

const TDesC8 & aVal

SetL(const RDbRowSet &)

voidSetL(const RDbRowSet &aRowSet)
Sets the RDbRowset and sets all values from this rowset.
Since
Series S60 3.0

Parameters

const RDbRowSet & aRowSeta rowset of the attribute table

Member Data Documentation

TInt iAtrElmId

TInt iAtrElmId[private]

TBool iAtrHasAttribute

TBool iAtrHasAttribute[private]

TInt iAtrId

TInt iAtrId[private]

TBool iAtrIsRequired

TBool iAtrIsRequired[private]

HBufC8 * iAtrName

HBufC8 *iAtrName[private]

HBufC8 * iAtrValue

HBufC8 *iAtrValue[private]