Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: Gsmuelem.h
Link against: gsmu.lib

Class TSmsOctet

class TSmsOctet;

Description

Base class for performing all operations on octets.

Members

Defined in TSmsOctet:
DecodeL(), ExternalizeL(), FillSemiOctets(), InternalizeL(), SemiOctetsToNum(), TSmsOctet(), TSmsOctet(), iValue, operator TInt()


Construction and destruction


TSmsOctet()

inline TSmsOctet(TInt aValue);

Description

Constructor, initialising the octet value with a TInt.

Parameters

TInt aValue

Octet value


TSmsOctet()

inline TSmsOctet(TUint8 aValue=0);

Description

Constructor, initialising the octet value with a TInt8.

Parameters

TUint8 aValue

Octet value

[Top]


Member functions


operator TInt()

inline operator TInt() const;

Description

Return value

The octet value


FillSemiOctets()

inline void FillSemiOctets(TInt aNum);

Description

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


SemiOctetsToNum()

inline TInt SemiOctetsToNum() const;

Description

Converts a semi-octet value to an integer.

Return value

TInt

Object's data as an integer


DecodeL()

inline void DecodeL(TGsmuLex8 &aPdu);

Description

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

Parameters

TGsmuLex8 &aPdu

PDU to read value from


InternalizeL()

inline void InternalizeL(RReadStream &aStream);

Description

Internalises the object.

Parameters

RReadStream &aStream

Stream to read from


ExternalizeL()

inline void ExternalizeL(RWriteStream &aStream) const;

Description

Externalises the object.

Parameters

RWriteStream &aStream

Stream to write to

[Top]


Member data


iValue

protected: TUint8 iValue;

Description

Octet value.