Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: Gsmuelem.h
Link against: gsmu.lib

Class TGsmSmsTypeOfAddress

class TGsmSmsTypeOfAddress : public TSmsOctet;

Description

Type-of-address field defined in ETSI 3GPP TS 23.040

Derivation

Members

Defined in TGsmSmsTypeOfAddress:
ConvertToETelMM(), EGsmSmsFirstBitMask, EGsmSmsNPIMask, EGsmSmsTONMask, NPI(), SetFromETelMM(), SetNPI(), SetTON(), TGsmSmsTypeOfAddress(), TGsmSmsTypeOfAddress(), TON(), anonymous

Inherited from TSmsOctet:
DecodeL(), ExternalizeL(), FillSemiOctets(), InternalizeL(), SemiOctetsToNum(), iValue, operator TInt()


Construction and destruction


TGsmSmsTypeOfAddress()

inline TGsmSmsTypeOfAddress(TInt aValue=EGsmSmsFirstBitMask);

Description

Constructor, specifying an octet value.

Parameters

TInt aValue

Octet value


TGsmSmsTypeOfAddress()

inline TGsmSmsTypeOfAddress(TGsmSmsTypeOfNumber aTon, TGsmSmsNumberingPlanIdentification aNPI);

Description

Constructor, specifying type of numbering and numbering plan identification.

Parameters

TGsmSmsTypeOfNumber aTon

Type of numbering

TGsmSmsNumberingPlanIdentification aNPI

Numbering plan identification

[Top]


Member functions


TON()

inline TGsmSmsTypeOfNumber TON() const;

Description

Gets the type of numbering.

Return value

TGsmSmsTypeOfNumber

Type of numbering


SetTON()

inline void SetTON(TGsmSmsTypeOfNumber aTON);

Description

Sets the type of numbering.

Parameters

TGsmSmsTypeOfNumber aTON

Type of numbering


NPI()

inline TGsmSmsNumberingPlanIdentification NPI() const;

Description

Gets the numbering plan identification.

Return value

TGsmSmsNumberingPlanIdentification

Numbering plan identification


SetNPI()

inline void SetNPI(TGsmSmsNumberingPlanIdentification aNPI);

Description

Sets the numbering plan identification.

Parameters

TGsmSmsNumberingPlanIdentification aNPI

Numbering plan identification


ConvertToETelMM()

IMPORT_C void ConvertToETelMM(NMobilePhone::TMobileTON &aTON, NMobilePhone::TMobileNPI &aNPI) const;

Description

Converts type of number and numbering plan identification information from the type of address parameter to the NMobilePhone::TMobileTON and NMobilePhone::TMobileNPI format.

Parameters

NMobilePhone::TMobileTON &aTON

On return, type of number

NMobilePhone::TMobileNPI &aNPI

On return, numbering plan identification


SetFromETelMM()

IMPORT_C void SetFromETelMM(NMobilePhone::TMobileTON aTON, NMobilePhone::TMobileNPI aNPI);

Description

Sets type of number and numbering plan identification information from values specified in NMobilePhone::TMobileTON and NMobilePhone::TMobileNPI formats.

Parameters

NMobilePhone::TMobileTON aTON

Type of number

NMobilePhone::TMobileNPI aNPI

Numbering plan identification

[Top]


Member enumerations


Enum anonymous

n/a

Description

EGsmSmsFirstBitMask

EGsmSmsTONMask

EGsmSmsNPIMask