|
|
|
class CSdpAttrValueInt : public CSdpAttrValue;
A signed integer value of an attribute.
The value can be up to 128 bits in size.
CBase -
Base class for all classes to be instantiated on the heap.
CSdpAttrValue - Base class for classes that encapsulate SDP attributes values.
CSdpAttrValueInt - A signed integer value of an attribute.
Defined in CSdpAttrValueInt:
DataSize()constGets the size of the attribute.Des()constGets the value as a data buffer.DoesIntFit()constTests if the attribute can be stored in an integer value.Int()constGets the value as a signed integer type.NewIntL(const TDesC8 &)Allocates and constructs a new CSdpAttrValueInt object.Type()constGets the attribute type.~CSdpAttrValueInt()Destructor. Inherited from CBase:
Delete(CBase *)Deletes the specified object.Extension_(TUint,TAny *&,TAny *)Extension function operator new(TUint)Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)Initialises the object to binary zeroes.operator new(TUint,TLeave)Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)Allocates the object from the heap and then initialises its contents to binary z...Inherited from CSdpAttrValue:
AcceptVisitorL(MSdpAttributeValueVisitor &)Request a call back to pass the attribute value.Bool()constGets a Boolean attribute value.UUID()constGets a UUID attribute value.Uint()constGets an unsigned integer attribute value.Uint128(TUint64 &,TUint64 &)constGets two TUint64s, one being the high 64 bits and one being the low 64 bits of a...Uint64(TUint64 &)constGets the value as an unsigned 64 bit integerIMPORT_C static CSdpAttrValueInt* NewIntL(const TDesC8 &aInt);
Allocates and constructs a new CSdpAttrValueInt object.
|
|
virtual TSdpElementType Type() const;
Gets the attribute type.
|
virtual TUint DataSize() const;
Gets the size of the attribute.
|
virtual TInt Int() const;
Gets the value as a signed integer type.
|
virtual TBool DoesIntFit() const;
Tests if the attribute can be stored in an integer value.
|
virtual const TPtrC8 Des() const;
Gets the value as a data buffer.
|