CSdpAttrValueBoolean Class Reference

#include <btsdp.h>

Link against: sdpdatabase.lib

class CSdpAttrValueBoolean : public CSdpAttrValue

Inherits from

Detailed Description

A Boolean value of an attribute.

Constructor & Destructor Documentation

~CSdpAttrValueBoolean ( )



Member Function Documentation

Bool ( )

TBool Bool()const [virtual]

Reimplemented from CSdpAttrValue::Bool()const

Gets the attribute value.

Returns: Attribute value

DataSize ( )

TUint DataSize()const [virtual]

Reimplemented from CSdpAttrValue::DataSize()const

Gets the size of the attribute.

Returns: Size of the attribute in bytes. Always 1.

NewBoolL ( TBool )

IMPORT_C CSdpAttrValueBoolean *NewBoolL(TBoolaBool)[static]

Allocates and constructs a new CSdpAttrValueBoolean object.

aBoolValue for the attribute

Returns: New CSdpAttrValueBoolean object

Type ( )

TSdpElementType Type()const [virtual]

Reimplemented from CSdpAttrValue::Type()const

Gets the attribute type.

Returns: Attribute type. Always ETypeBoolean.