Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



Location: btsdp.h
Link against: bluetooth.lib

Class CSdpAttrValueUint

CSdpAttrValueUint

Support

Supported from 6.1

Description

A unsigned integer value of an attribute.

The value can be up to 128 bits in size.

Derivation

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

Defined in CSdpAttrValueUint:
DataSize(), Des(), DoesIntFit(), NewUintL(), Type(), Uint(), ~CSdpAttrValueUint()

Inherited from CBase:
operator new()

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


Construction and destruction


NewUintL()

static CSdpAttrValueUint* NewUintL(const TDesC8& aUint);

Description

Allocates and constructs a new CSdpAttrValueUint object.

Parameters

const TDesC8& aUint

Buffer containing an unsigned integer value for the attribute

Return value

CSdpAttrValueUint*

New CSdpAttrValueUint object


~CSdpAttrValueUint()

virtual ~CSdpAttrValueUint();

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


DoesIntFit()

virtual TBool DoesIntFit() const;

Description

Tests if the attribute can be stored in an integer value.

Return value

TBool

True if the attribute can be stored in an integer value


Type()

virtual TSdpElementType Type() const;

Description

Gets the attribute type.

Return value

TSdpElementType

Attribute type. Always ETypeUint.

[Top]


Attribute value getters


Des()

virtual const TPtrC8 Des() const;

Description

Gets the value as a data buffer.

Return value

TPtrC8

Attribute value


Uint()

TUint Uint() const;

Description

Gets the value as an unsigned integer type.

Return value

TUint

Attribute value