#include <btsdp.h>
| class CSdpAttrValueString : public CSdpAttrValue |
| Public Member Functions | |
|---|---|
| virtual | ~CSdpAttrValueString() |
| virtual TUint | DataSize() |
| virtual const TPtrC8 | Des() |
| IMPORT_C CSdpAttrValueString * | NewStringL(const TDesC8 &) |
| virtual TSdpElementType | Type() |
A Text String value of an attribute.
The encoding of the string is up to the user. The interpretation of the encoding is enabled using facilities in SDP.
| TUint | DataSize | ( | ) | const [virtual] |
Reimplemented from CSdpAttrValue::DataSize()const
Gets the size of the attribute.
Returns: Size of the attribute in bytes
| const TPtrC8 | Des | ( | ) | const [virtual] |
Reimplemented from CSdpAttrValue::Des()const
Gets the value as a data buffer.
Returns: Attribute value
| IMPORT_C CSdpAttrValueString * | NewStringL | ( | const TDesC8 & | aString | ) | [static] |
Allocates and constructs a new CSdpAttrValueString object.
| Parameter | Description |
|---|---|
| aString | Buffer containing a Text String value for the attribute |
Returns: New CSdpAttrValueString object
| TSdpElementType | Type | ( | ) | const [virtual] |
Reimplemented from CSdpAttrValue::Type()const
Gets the attribute type.
Returns: Attribute type. Always ETypeString.