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 *)

void AttachAttrL ( CUpnpElement * aElm )

Parameters

CUpnpElement * aElm

AttachAttrL(TXmlEngElement)

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

Parameters

TXmlEngElement aElement

ConstructL()

void ConstructL ( ) [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)

void SetAtrElmId ( TInt aAtrObjId ) [inline]
Sets iAtrObjId value.
Since
Series S60 3.0

Parameters

TInt aAtrObjId value of Atr_obj_id in the Attribute table

SetAtrId(TInt)

void SetAtrId ( TInt aElId ) [inline]
Sets iAtrId value.
Since
Series S60 3.0

Parameters

TInt aElId value of atr_id in the Attribute table

SetAtrIsRequired(TBool)

void SetAtrIsRequired ( TBool aAtrIsRequired ) [inline]
Sets iAtrIsRequired value.
Since
Series S60 3.0

Parameters

TBool aAtrIsRequired value of Atr_is_required in the Attribute table

SetAtrNameL(const TDesC8 &)

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

Parameters

const TDesC8 & aAtrName value of Atr_name in the Attribute table

SetAtrValueL(const RDbRowSet &, const TInt)

void SetAtrValueL ( const RDbRowSet & aRowSet,
const TInt aColNo
)
Sets iAtrValue value.
Since
Series S60 3.0

Parameters

const RDbRowSet & aRowSet
const TInt aColNo

SetAtrValueL(const TDesC8 &)

void SetAtrValueL ( const TDesC8 & aVal )

Parameters

const TDesC8 & aVal

SetL(const RDbRowSet &)

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

Parameters

const RDbRowSet & aRowSet a 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]