Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: btsdp.h
Link against: bluetooth.lib

Class CSdpAttrValueURL

CSdpAttrValueURL

Support

Supported from 6.1

Description

A URL value of an attribute.

Derivation

CBaseBase class for all classes to be instantiated on the heap
CSdpAttrValueBase class for classes that encapsulate SDP attributes values
CSdpAttrValueURLA URL value of an attribute

Defined in CSdpAttrValueURL:
DataSize(), Des(), NewURLL(), Type(), ~CSdpAttrValueURL()

Inherited from CBase:
operator new()

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


Construction and destruction


NewURLL()

static CSdpAttrValueURL* NewURLL(const TDesC8& aString);

Description

Allocates and constructs a new CSdpAttrValueURL object.

Parameters

const TDesC8& aString

Buffer containing the attribute value

Return value

CSdpAttrValueURL*

New CSdpAttrValueURL object


~CSdpAttrValueURL()

virtual ~CSdpAttrValueURL();

Description

Destructor.

[Top]


Attribute properties


DataSize()

virtual TUint DataSize() const;

Description

Gets the size of the attribute.

Return value

TUint

Size of the attribute in bytes.


Type()

virtual TSdpElementType Type() const;

Description

Gets the attribute type.

Return value

TSdpElementType

Attribute type. Always ETypeURL.

[Top]


Attribute value getter


Des()

virtual const TPtrC8 Des() const;

Description

Gets the value as a data buffer.

Return value

TPtrC8

Attribute value