Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <btsdp.h>
Link against: sdpdatabase.lib

Class CSdpAttrValueString

class CSdpAttrValueString : public CSdpAttrValue;

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.

Derivation

Members

Defined in CSdpAttrValueString:

Inherited from CBase:

Inherited from CSdpAttrValue:


Construction and destruction


~CSdpAttrValueString()

virtual ~CSdpAttrValueString();

Description

Destructor.

[Top]


Member functions


NewStringL(const TDesC8 &)

IMPORT_C static CSdpAttrValueString* NewStringL(const TDesC8 &aString);

Description

Allocates and constructs a new CSdpAttrValueString object.

Parameters

const TDesC8 &aString

Buffer containing a Text String value for the attribute

Return value

CSdpAttrValueString *

New CSdpAttrValueString object


Type()const

virtual TSdpElementType Type() const;

Description

Gets the attribute type.

Return value

TSdpElementType

Attribute type. Always ETypeString.


DataSize()const

virtual TUint DataSize() const;

Description

Gets the size of the attribute.

Return value

TUint

Size of the attribute in bytes


Des()const

virtual const TPtrC8 Des() const;

Description

Gets the value as a data buffer.

Return value

const TPtrC8

Attribute value