TSmsOctet Class Reference

class TSmsOctet

Base class for performing all operations on octets.

Constructor & Destructor Documentation

TSmsOctet(TInt)

TSmsOctet(TIntaValue)[inline]

Constructor, initialising the octet value with a TInt.

Parameters

TInt aValueOctet value

TSmsOctet(TUint8)

TSmsOctet(TUint8aValue = 0)[inline]

Constructor, initialising the octet value with a TInt8.

Parameters

TUint8 aValue = 0Octet value

Member Functions Documentation

DecodeL(TGsmuLex8 &)

voidDecodeL(TGsmuLex8 &aPdu)[inline]

Sets the octet value to the next byte in TGsmuLex8 PDU.

Parameters

TGsmuLex8 & aPduPDU to read value from

EncodeL(TUint8 *)

TUint8 *EncodeL(TUint8 *aPtr)const

Parameters

TUint8 * aPtr

ExternalizeL(RWriteStream &)

voidExternalizeL(RWriteStream &aStream)const [inline]

Externalises the object.

Parameters

RWriteStream & aStreamStream to write to

FillSemiOctets(TInt)

voidFillSemiOctets(TIntaNum)[inline]

Converts an integer to semi-octet format and set the object's data to this value.

Parameters

TInt aNumValue to convert to semi-octet

InternalizeL(RReadStream &)

voidInternalizeL(RReadStream &aStream)[inline]

Internalises the object.

Parameters

RReadStream & aStreamStream to read from

SemiOctetsToNum()

TInt SemiOctetsToNum()const [inline]

Converts a semi-octet value to an integer.

operator TInt()

operator TInt()const [inline]

operator=(TInt)

const TSmsOctet &operator=(TIntaValue)

Parameters

TInt aValue

Member Data Documentation

TUint8 iValue

TUint8 iValue[protected]

Octet value.