Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: btsdp.h
Link against: sdpdatabase.lib

Class CSdpAttrValueBoolean

class CSdpAttrValueBoolean : public CSdpAttrValue;

Description

A Boolean value of an attribute.

Derivation

Members

Defined in CSdpAttrValueBoolean:
Bool(), DataSize(), NewBoolL(), Type(), ~CSdpAttrValueBoolean()

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

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


Construction and destruction


~CSdpAttrValueBoolean()

virtual ~CSdpAttrValueBoolean();

Description

Destructor.

[Top]


Member functions


NewBoolL()

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

virtual TSdpElementType Type() const;

Description

Gets the attribute type.

Return value

TSdpElementType

Attribute type. Always ETypeBoolean.


DataSize()

virtual TUint DataSize() const;

Description

Gets the size of the attribute.

Return value

TUint

Size of the attribute in bytes. Always 1.


Bool()

virtual TBool Bool() const;

Description

Gets the attribute value.

Return value

TBool

Attribute value