CSdpAttrValueString Class Reference

#include <btsdp.h>

Link against: sdpdatabase.lib

class CSdpAttrValueString : public CSdpAttrValue

Inherits from

Detailed Description

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.

Constructor & Destructor Documentation

~CSdpAttrValueString ( )

~CSdpAttrValueString()[virtual]

Destructor.

Member Function Documentation

DataSize ( )

TUint DataSize()const [virtual]

Reimplemented from CSdpAttrValue::DataSize()const

Gets the size of the attribute.

Returns: Size of the attribute in bytes

Des ( )

const TPtrC8Des()const [virtual]

Reimplemented from CSdpAttrValue::Des()const

Gets the value as a data buffer.

Returns: Attribute value

NewStringL ( const TDesC8 & )

IMPORT_C CSdpAttrValueString *NewStringL(const TDesC8 &aString)[static]

Allocates and constructs a new CSdpAttrValueString object.

ParameterDescription
aStringBuffer containing a Text String value for the attribute

Returns: New CSdpAttrValueString object

Type ( )

TSdpElementType Type()const [virtual]

Reimplemented from CSdpAttrValue::Type()const

Gets the attribute type.

Returns: Attribute type. Always ETypeString.