#include <btsdp.h>
class CSdpAttrValueInt : public CSdpAttrValue |
Public Member Functions | |
---|---|
virtual | ~CSdpAttrValueInt() |
virtual TUint | DataSize() |
virtual const TPtrC8 | Des() |
virtual TBool | DoesIntFit() |
virtual TInt | Int() |
IMPORT_C CSdpAttrValueInt * | NewIntL(const TDesC8 &) |
virtual TSdpElementType | Type() |
A signed integer value of an attribute.
The value can be up to 128 bits in size.
TUint | DataSize | ( | ) | const [virtual] |
Reimplemented from CSdpAttrValue::DataSize()const
Gets the size of the attribute.
Returns: Size of the attribute in bytes
const TPtrC8 | Des | ( | ) | const [virtual] |
Reimplemented from CSdpAttrValue::Des()const
Gets the value as a data buffer.
Returns: Attribute value
TBool | DoesIntFit | ( | ) | const [virtual] |
Reimplemented from CSdpAttrValue::DoesIntFit()const
Tests if the attribute can be stored in an integer value.
Returns: True if the attribute can be stored in an integer value
TInt | Int | ( | ) | const [virtual] |
Reimplemented from CSdpAttrValue::Int()const
Gets the value as a signed integer type.
Returns: Attribute value
IMPORT_C CSdpAttrValueInt * | NewIntL | ( | const TDesC8 & | aInt | ) | [static] |
Allocates and constructs a new CSdpAttrValueInt object.
Parameter | Description |
---|---|
aInt | Buffer containing a signed integer value for the attribute |
Returns: New CSdpAttrValueInt object
TSdpElementType | Type | ( | ) | const [virtual] |
Reimplemented from CSdpAttrValue::Type()const
Gets the attribute type.
Returns: Attribute type. Always ETypeInt.