CSdpAttrValueList Class Reference
class CSdpAttrValueList : public CSdpAttrValue |
Constructor & Destructor Documentation
CSdpAttrValueList(MSdpElementBuilder *)
~CSdpAttrValueList()
~CSdpAttrValueList | ( | ) | [virtual] |
Member Functions Documentation
AcceptVisitorL(MSdpAttributeValueVisitor &)
Requests a call back to pass the attribute value.
This provides a simple method of enumerating each element in the list.
Parameters
MSdpAttributeValueVisitor & aVisitor | Abstract interface that can be implemented to receive an enumeration of the values in the attribute list. |
AppendValueL(CSdpAttrValue *)
Add a new value onto the end on this list.
Ownership of the passed value is transferred to this list. It will be deleted when the list is destroyed.
If a leave occurs, aValue will be cleanup up automatically
Parameters
CSdpAttrValue * aValue | Attribute value to be added onto this list. |
BuildBooleanL(TBool)
Parameters
TBool aBool | Attribute to add |
BuildDEAL()
Adds a Data element alternative (DEA).
This should be followed by a call to StartListL(), and then calls to add elements to the list.
BuildDESL()
Adds a Data element sequence (DES).
This should be followed by a call to StartListL(), and then calls to add elements to the list.
BuildEncodedL(const TDesC8 &)
Encode an attribute value.
Parameters
const TDesC8 & aString | The attribute value. |
BuildIntL(const TDesC8 &)
Adds a signed integer element.
Parameters
const TDesC8 & aInt | Attribute to add |
BuildNilL()
Adds a null type element.
BuildStringL(const TDesC8 &)
Adds a Text String element.
Parameters
const TDesC8 & aString | Attribute to add |
BuildURLL(const TDesC8 &)
Parameters
const TDesC8 & aString | URL to add |
BuildUUIDL(const TUUID &)
Parameters
const TUUID & aUUID | Attribute to add |
BuildUintL(const TDesC8 &)
Adds an unsigned integer element.
Parameters
const TDesC8 & aUint | Attribute to add |
BuildUnknownL(TUint8, TUint8, const TDesC8 &)
Adds an element of any type.
Does nothing.
Parameters
TUint8 aType | Type descriptor |
TUint8 aSizeDesc | Size descriptor |
const TDesC8 & aData | Data field |
ConstructL()
void | ConstructL | ( | ) | [protected] |
DataSize()
TUint
| DataSize | ( | ) | const [virtual] |
Gets the size of the list.
StartListL()
Indicates that subsequent elements added belong to a DES or DEA.
The end of the list should be indicated by a call to EndList().
Member Data Documentation
CArrayPtr< CSdpAttrValue > * iList
MSdpElementBuilder * iParent
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.