class TSmsOctet |
Base class for performing all operations on octets.
Public Member Functions | |
---|---|
TSmsOctet(TInt) | |
TSmsOctet(TUint8) | |
void | DecodeL(TGsmuLex8 &) |
TUint8 * | EncodeL(TUint8 *) |
void | ExternalizeL(RWriteStream &) |
void | FillSemiOctets(TInt) |
void | InternalizeL(RReadStream &) |
TInt | SemiOctetsToNum() |
operator TInt() | |
const TSmsOctet & | operator=(TInt) |
Protected Attributes | |
---|---|
TUint8 | iValue |
TSmsOctet | ( | TInt | aValue | ) | [inline] |
Constructor, initialising the octet value with a TInt.
TInt aValue | Octet value |
TSmsOctet | ( | TUint8 | aValue = 0 | ) | [inline] |
Constructor, initialising the octet value with a TInt8.
TUint8 aValue = 0 | Octet value |
void | DecodeL | ( | TGsmuLex8 & | aPdu | ) | [inline] |
Sets the octet value to the next byte in TGsmuLex8 PDU.
TGsmuLex8 & aPdu | PDU to read value from |
void | ExternalizeL | ( | RWriteStream & | aStream | ) | const [inline] |
Externalises the object.
RWriteStream & aStream | Stream to write to |
void | FillSemiOctets | ( | TInt | aNum | ) | [inline] |
Converts an integer to semi-octet format and set the object's data to this value.
TInt aNum | Value to convert to semi-octet |
void | InternalizeL | ( | RReadStream & | aStream | ) | [inline] |
Internalises the object.
RReadStream & aStream | Stream to read from |
TInt | SemiOctetsToNum | ( | ) | const [inline] |
Converts a semi-octet value to an integer.
Object's data as an integer