TGsmSmsTypeOfAddress Class Reference

class TGsmSmsTypeOfAddress : public TSmsOctet

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

Inherits from

Public Member Functions
TGsmSmsTypeOfAddress ( TInt )
TGsmSmsTypeOfAddress ( TGsmSmsTypeOfNumber , TGsmSmsNumberingPlanIdentification )
IMPORT_C void ConvertToETelMM ( NMobilePhone::TMobileTON &, NMobilePhone::TMobileNPI &)
TGsmSmsNumberingPlanIdentification NPI ()
IMPORT_C void SetFromETelMM ( NMobilePhone::TMobileTON , NMobilePhone::TMobileNPI )
void SetNPI ( TGsmSmsNumberingPlanIdentification )
void SetTON ( TGsmSmsTypeOfNumber )
TGsmSmsTypeOfNumber TON ()
Inherited Functions
TSmsOctet::DecodeL(TGsmuLex8 &)
TSmsOctet::EncodeL(TUint8 *)const
TSmsOctet::ExternalizeL(RWriteStream &)const
TSmsOctet::FillSemiOctets(TInt)
TSmsOctet::InternalizeL(RReadStream &)
TSmsOctet::SemiOctetsToNum()const
TSmsOctet::TSmsOctet(TInt)
TSmsOctet::TSmsOctet(TUint8)
TSmsOctet::operator TInt()const
TSmsOctet::operator=(TInt)
Public Member Enumerations
enum anonymous { EGsmSmsFirstBitMask  = 0x80, EGsmSmsTONMask  = 0x70, EGsmSmsNPIMask  = 0x0F }
Inherited Attributes
TSmsOctet::iValue

Constructor & Destructor Documentation

TGsmSmsTypeOfAddress(TInt)

TGsmSmsTypeOfAddress ( TInt aValue = EGsmSmsFirstBitMask ) [inline]

Constructor, specifying an octet value.

Parameters

TInt aValue = EGsmSmsFirstBitMask Octet value

TGsmSmsTypeOfAddress(TGsmSmsTypeOfNumber, TGsmSmsNumberingPlanIdentification)

TGsmSmsTypeOfAddress ( TGsmSmsTypeOfNumber aTon,
TGsmSmsNumberingPlanIdentification aNPI
) [inline]

Constructor, specifying type of numbering and numbering plan identification.

Parameters

TGsmSmsTypeOfNumber aTon Type of numbering
TGsmSmsNumberingPlanIdentification aNPI Numbering plan identification

Member Functions Documentation

ConvertToETelMM(NMobilePhone::TMobileTON &, NMobilePhone::TMobileNPI &)

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

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

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

capability
None

Parameters

NMobilePhone::TMobileTON & aTON On return, type of number
NMobilePhone::TMobileNPI & aNPI On return, numbering plan identification

NPI()

TGsmSmsNumberingPlanIdentification NPI ( ) const [inline]

Gets the numbering plan identification.

SetFromETelMM(NMobilePhone::TMobileTON, NMobilePhone::TMobileNPI)

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

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

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

capability
None

Parameters

NMobilePhone::TMobileTON aTON Type of number
NMobilePhone::TMobileNPI aNPI Numbering plan identification

SetNPI(TGsmSmsNumberingPlanIdentification)

void SetNPI ( TGsmSmsNumberingPlanIdentification aNPI ) [inline]

Sets the numbering plan identification. Set the Numbering Plan Identification

Parameters

TGsmSmsNumberingPlanIdentification aNPI Numbering plan identification

SetTON(TGsmSmsTypeOfNumber)

void SetTON ( TGsmSmsTypeOfNumber aTON ) [inline]

Parameters

TGsmSmsTypeOfNumber aTON

TON()

TGsmSmsTypeOfNumber TON ( ) const [inline]

Gets the type of numbering.

Member Enumerations Documentation

Enum anonymous

Enumerators

EGsmSmsFirstBitMask = 0x80
EGsmSmsTONMask = 0x70
EGsmSmsNPIMask = 0x0F