Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

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

Class CSdpAttrValueBoolean

class CSdpAttrValueBoolean : public CSdpAttrValue;

Description

A Boolean value of an attribute.

Derivation

Members

Defined in CSdpAttrValueBoolean:

Inherited from CBase:

Inherited from CSdpAttrValue:


Construction and destruction


~CSdpAttrValueBoolean()

virtual ~CSdpAttrValueBoolean();

Description

Destructor.

[Top]


Member functions


NewBoolL(TBool)

IMPORT_C static CSdpAttrValueBoolean* NewBoolL(TBool aBool);

Description

Allocates and constructs a new CSdpAttrValueBoolean object.

Parameters

TBool aBool

Value for the attribute

Return value

CSdpAttrValueBoolean *

New CSdpAttrValueBoolean object


Type()const

virtual TSdpElementType Type() const;

Description

Gets the attribute type.

Return value

TSdpElementType

Attribute type. Always ETypeBoolean.


DataSize()const

virtual TUint DataSize() const;

Description

Gets the size of the attribute.

Return value

TUint

Size of the attribute in bytes. Always 1.


Bool()const

virtual TBool Bool() const;

Description

Gets the attribute value.

Return value

TBool

Attribute value