Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: 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:
DataSize(), Des(), NewStringL(), Type(), ~CSdpAttrValueString()

Inherited from CBase:
Delete(), Extension_(), operator new()

Inherited from CSdpAttrValue:
AcceptVisitorL(), Bool(), DoesIntFit(), Int(), UUID(), Uint()


Construction and destruction


~CSdpAttrValueString()

virtual ~CSdpAttrValueString();

Description

Destructor.

[Top]


Member functions


NewStringL()

static IMPORT_C 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()

virtual TSdpElementType Type() const;

Description

Gets the attribute type.

Return value

TSdpElementType

Attribute type. Always ETypeString.


DataSize()

virtual TUint DataSize() const;

Description

Gets the size of the attribute.

Return value

TUint

Size of the attribute in bytes


Des()

virtual const TPtrC8 Des() const;

Description

Gets the value as a data buffer.

Return value

const TPtrC8

Attribute value