#include <btsdp.h>
| class CSdpAttrValueBoolean : public CSdpAttrValue |
| Public Member Functions | |
|---|---|
| virtual | ~CSdpAttrValueBoolean() |
| virtual TBool | Bool() |
| virtual TUint | DataSize() |
| IMPORT_C CSdpAttrValueBoolean * | NewBoolL(TBool) |
| virtual TSdpElementType | Type() |
A Boolean value of an attribute.
| TBool | Bool | ( | ) | const [virtual] |
Reimplemented from CSdpAttrValue::Bool()const
Gets the attribute value.
Returns: Attribute value
| TUint | DataSize | ( | ) | const [virtual] |
Reimplemented from CSdpAttrValue::DataSize()const
Gets the size of the attribute.
Returns: Size of the attribute in bytes. Always 1.
| IMPORT_C CSdpAttrValueBoolean * | NewBoolL | ( | TBool | aBool | ) | [static] |
Allocates and constructs a new CSdpAttrValueBoolean object.
| Parameter | Description |
|---|---|
| aBool | Value for the attribute |
Returns: New CSdpAttrValueBoolean object
| TSdpElementType | Type | ( | ) | const [virtual] |
Reimplemented from CSdpAttrValue::Type()const
Gets the attribute type.
Returns: Attribute type. Always ETypeBoolean.