CSdpAttrValueInt Class Reference

class CSdpAttrValueInt : public CSdpAttrValue

A signed integer value of an attribute.

The value can be up to 128 bits in size.

Inherits from

Constructor & Destructor Documentation

CSdpAttrValueInt(const TDesC8 &)

CSdpAttrValueInt ( const TDesC8 & aInt ) [private]

Parameters

const TDesC8 & aInt

~CSdpAttrValueInt()

~CSdpAttrValueInt ( ) [virtual]

Destructor.

Member Functions Documentation

DataSize()

TUint DataSize ( ) const [virtual]

Gets the size of the attribute.

Des()

const TPtrC8 Des ( ) const [virtual]

Gets the value as a data buffer.

DoesIntFit()

TBool DoesIntFit ( ) const [virtual]

Tests if the attribute can be stored in an integer value.

Int()

TInt Int ( ) const [virtual]

Gets the value as a signed integer type.

NewIntL(const TDesC8 &)

IMPORT_C CSdpAttrValueInt * NewIntL ( const TDesC8 & aInt ) [static]

Allocates and constructs a new CSdpAttrValueInt object.

Parameters

const TDesC8 & aInt Buffer containing a signed integer value for the attribute

Type()

TSdpElementType Type ( ) const [virtual]

Gets the attribute type.

Member Data Documentation

TBuf8< KSdpMaxIntSize > iInt

TBuf8 < KSdpMaxIntSize > iInt [private]