OSB_LIB::NwAddress Class Reference

Collaboration diagram for OSB_LIB::NwAddress:

Collaboration graph
[legend]
List of all members.

Detailed Description

General purpose network address.

The class is used to uniquely identify a termination point of a connection in a network. This can either be the origin or the destination, but also an intermediate connection point.

See also:
The utility class NormNwAddress used to normalize network addresses.

Definition at line 72 of file nwaddress.h.

Public Types

Public Member Functions

Static Public Member Functions

Public Attributes


Member Enumeration Documentation

enum OSB_LIB::NwAddress::ModInd

Modification indicator.

An indicator which shows if the address, i.e., original_, has been modified by the network.

Enumerator:
miUnmodified  Unmodified address.
miModified  Modified by the network.

Definition at line 166 of file nwaddress.h.

enum OSB_LIB::NwAddress::Np

Numbering plan (as defined in GSM 09.02).

The type identifies the numbering plan associated with a called or calling number.

Remarks:
Numbering plan 5 is reserved for national use.
Todo:
Mapping of numbering plan to resource type.
Enumerator:
npUnknown  Type of Plan unknown.
npTelephony  ISDN/Telephony (CCITT E163/E164).
npData  Data Numbering Plan (CCITT X121).
npTelex  Telex Numbering Plan (CCITT F.69).
npLandMobile  Land Mobile Numbering Plan (CCITT E212).
npIsdnMobile  ISDN/mobile (E.214).
npNational  National Numbering Plan.
npPrivate  Private Numbering Plan.

Definition at line 84 of file nwaddress.h.

enum OSB_LIB::NwAddress::Ton

Type of number.

The type of number (specified in GSM 4.08) describes the format of a destination or origin as provided in the original usage record from the network. It is used to convert the provided information into a standard, i.e., normalized format.

Enumerator:
tonNotSet  Type of number not set.
tonDialled  Address as dialled by end user.
tonInternational  International Number.
tonNational  National significant number.
tonNetworkSpecific  Used to indicate administration/service number specific to the serving network, e.g., to access an operator.
tonSubscriber  Subscriber number.
tonUnknown  Used when the user or the network has no knowledge of the type of number. In this case prefix or escape digits might be present.
tonAbbreviated  Abbreviated number.

Definition at line 104 of file nwaddress.h.


Constructor & Destructor Documentation

OSB_LIB::NwAddress::NwAddress (  )  [inline]

Default constructor.

It initializes

Definition at line 182 of file nwaddress.h.


Member Function Documentation

void OSB_LIB::NwAddress::clear (  ) 

Clear all data members.

static long OSB_LIB::NwAddress::toLong ( Ton  ton  )  [static]

Convert a type of number to long.

Parameters:
ton Type of number to convert.
Returns:
The corresponsing long value. Its value is long(tonNotSet) if ton is not supported.

static long OSB_LIB::NwAddress::toLong ( Np  np  )  [static]

Convert a numbering plan to long.

Parameters:
np Numbering plan to convert.
Returns:
The corresponsing long value. Its value is long(npUnknown) if np is not supported.

static Np OSB_LIB::NwAddress::toNp ( long  np  )  [static]

Convert a long into a numbering plan.

Parameters:
np Value to convert.
Returns:
The corresponding numbering plan. Its value is npUnknown if np is not supported.

static Ton OSB_LIB::NwAddress::toTon ( long  ton  )  [static]

Convert a long into a type of number.

Parameters:
ton Value to convert.
Returns:
The corresponding type of number. Its value is tonNotSet if ton is not supported.


Member Data Documentation

std::string OSB_LIB::NwAddress::analyzed_

Analyzed address.

This member is empty if the address can not be analyzed and/or normalized.

Definition at line 211 of file nwaddress.h.

Ton OSB_LIB::NwAddress::analyzedTon_

Type of number after number analysis.

Its value is tonNotSet if the address is not yet or can not be analyzed and/or normalized.

Definition at line 204 of file nwaddress.h.

std::string OSB_LIB::NwAddress::countryCode_

ISO 3166 3 letter country code (empty if not applicable).

Definition at line 214 of file nwaddress.h.

ModInd OSB_LIB::NwAddress::modInd_

Modification indicator.

Definition at line 191 of file nwaddress.h.

Np OSB_LIB::NwAddress::np_

Numbering plan.

Definition at line 193 of file nwaddress.h.

std::string OSB_LIB::NwAddress::original_

Address string as provided by the network.

Definition at line 197 of file nwaddress.h.

Ton OSB_LIB::NwAddress::ton_

Type of number as provided by the network.

Definition at line 195 of file nwaddress.h.


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:15:50 2006 for OSB Library by  doxygen 1.4.7