class CSdpAttrValueList : public CSdpAttrValue |
Base class for classes that specify lists of attribute data elements.
It implements the MSdpElementBuilder interface to build data elements into an attribute value.
Public Member Functions | |
---|---|
~CSdpAttrValueList () | |
void | AcceptVisitorL ( MSdpAttributeValueVisitor &) |
IMPORT_C void | AppendValueL ( CSdpAttrValue *) |
MSdpElementBuilder * | BuildBooleanL ( TBool ) |
MSdpElementBuilder * | BuildDEAL () |
MSdpElementBuilder * | BuildDESL () |
MSdpElementBuilder * | BuildEncodedL (const TDesC8 &) |
MSdpElementBuilder * | BuildIntL (const TDesC8 &) |
MSdpElementBuilder * | BuildNilL () |
MSdpElementBuilder * | BuildStringL (const TDesC8 &) |
MSdpElementBuilder * | BuildURLL (const TDesC8 &) |
MSdpElementBuilder * | BuildUUIDL (const TUUID &) |
MSdpElementBuilder * | BuildUintL (const TDesC8 &) |
MSdpElementBuilder * | BuildUnknownL ( TUint8 , TUint8 , const TDesC8 &) |
TUint | DataSize () |
MSdpElementBuilder * | EndListL () |
MSdpElementBuilder * | StartListL () |
Protected Member Functions | |
---|---|
CSdpAttrValueList ( MSdpElementBuilder *) | |
void | ConstructL () |
Protected Attributes | |
---|---|
CArrayPtr < CSdpAttrValue > * | iList |
Private Attributes | |
---|---|
MSdpElementBuilder * | iParent |
CSdpAttrValueList | ( | MSdpElementBuilder * | aBuilder | ) | [protected] |
MSdpElementBuilder * aBuilder |
void | AcceptVisitorL | ( | MSdpAttributeValueVisitor & | aVisitor | ) | [virtual] |
Requests a call back to pass the attribute value.
This provides a simple method of enumerating each element in the list.
MSdpAttributeValueVisitor & aVisitor | Abstract interface that can be implemented to receive an enumeration of the values in the attribute list. |
IMPORT_C void | AppendValueL | ( | CSdpAttrValue * | aValue | ) |
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
CSdpAttrValue * aValue | Attribute value to be added onto this list. |
MSdpElementBuilder * | BuildBooleanL | ( | TBool | aBool | ) | [virtual] |
Adds a Boolean element.
TBool aBool | Attribute to add |
MSdpElementBuilder * | BuildDEAL | ( | ) | [virtual] |
Adds a Data element alternative (DEA).
This should be followed by a call to StartListL() , and then calls to add elements to the list.
MSdpElementBuilder * | BuildDESL | ( | ) | [virtual] |
Adds a Data element sequence (DES).
This should be followed by a call to StartListL() , and then calls to add elements to the list.
MSdpElementBuilder * | BuildEncodedL | ( | const TDesC8 & | aString | ) | [virtual] |
Encode an attribute value.
const TDesC8 & aString | The attribute value. |
MSdpElementBuilder * | BuildIntL | ( | const TDesC8 & | aInt | ) | [virtual] |
Adds a signed integer element.
const TDesC8 & aInt | Attribute to add |
MSdpElementBuilder * | BuildStringL | ( | const TDesC8 & | aString | ) | [virtual] |
Adds a Text String element.
const TDesC8 & aString | Attribute to add |
MSdpElementBuilder * | BuildURLL | ( | const TDesC8 & | aString | ) | [virtual] |
Adds a URL element.
const TDesC8 & aString | URL to add |
MSdpElementBuilder * | BuildUUIDL | ( | const TUUID & | aUUID | ) | [virtual] |
Adds a UUID element.
const TUUID & aUUID | Attribute to add |
MSdpElementBuilder * | BuildUintL | ( | const TDesC8 & | aUint | ) | [virtual] |
Adds an unsigned integer element.
const TDesC8 & aUint | Attribute to add |
MSdpElementBuilder * | BuildUnknownL | ( | TUint8 | aType, |
TUint8 | aSizeDesc, | |||
const TDesC8 & | aData | |||
) | [virtual] |
Adds an element of any type.
Does nothing.
MSdpElementBuilder * | EndListL | ( | ) | [virtual] |
Indicates the end of a list started by StartListL() .
MSdpElementBuilder * | StartListL | ( | ) | [virtual] |
Indicates that subsequent elements added belong to a DES or DEA.
The end of the list should be indicated by a call to EndList().
CArrayPtr < CSdpAttrValue > * | iList | [protected] |
Array of attribute values contained in this CSdpAttrValueList class
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.