TSmsOctet Class Reference

class TSmsOctet

Base class for performing all operations on octets.

Constructor & Destructor Documentation

TSmsOctet(TInt)

TSmsOctet ( TInt aValue ) [inline]

Constructor, initialising the octet value with a TInt.

Parameters

TInt aValue Octet value

TSmsOctet(TUint8)

TSmsOctet ( TUint8 aValue = 0 ) [inline]

Constructor, initialising the octet value with a TInt8.

Parameters

TUint8 aValue = 0 Octet value

Member Functions Documentation

DecodeL(TGsmuLex8 &)

void DecodeL ( TGsmuLex8 & aPdu ) [inline]

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

Parameters

TGsmuLex8 & aPdu PDU to read value from

EncodeL(TUint8 *)

TUint8 * EncodeL ( TUint8 * aPtr ) const

Parameters

TUint8 * aPtr

ExternalizeL(RWriteStream &)

void ExternalizeL ( RWriteStream & aStream ) const [inline]

Externalises the object.

Parameters

RWriteStream & aStream Stream to write to

FillSemiOctets(TInt)

void FillSemiOctets ( TInt aNum ) [inline]

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

Parameters

TInt aNum Value to convert to semi-octet

InternalizeL(RReadStream &)

void InternalizeL ( RReadStream & aStream ) [inline]

Internalises the object.

Parameters

RReadStream & aStream Stream 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= ( TInt aValue )

Parameters

TInt aValue

Member Data Documentation

TUint8 iValue

TUint8 iValue [protected]

Octet value.