OSB_LIB::MsrnToCp Class Reference

Inheritance diagram for OSB_LIB::MsrnToCp:

Inheritance graph
[legend]
Collaboration diagram for OSB_LIB::MsrnToCp:

Collaboration graph
[legend]
List of all members.

Detailed Description

Map MSRN to connection point.

The class determines the connection point for the
Mobile Station Roaming Number as contained in Cdr::ServedParty::msrn.

Definition at line 74 of file e164map.h.

Public Member Functions

Private Types

Private Member Functions

Static Private Attributes


Member Typedef Documentation

typedef std::auto_ptr<MsrnToCp> OSB_LIB::MsrnToCp::AutoPtr [private]

Short-cut for an auto pointer.

For details see quality manual, implementation patterns: Virtual copy construction.

Reimplemented from OSB_LIB::CpMapper.

Definition at line 78 of file e164map.h.


Member Function Documentation

AutoPtr OSB_LIB::MsrnToCp::clone (  )  const

Virtual copy construction.

For details see quality manual, implementation patterns.

Reimplemented from OSB_LIB::CpMapper.

virtual CpMapper* OSB_LIB::MsrnToCp::clone_ (  )  const [private, virtual]

Virtual copy construction.

For details see quality manual, implementation patterns.

Implements OSB_LIB::CpMapper.

virtual Id<ConnectionPt> OSB_LIB::MsrnToCp::map2Cp ( Cdr cdr  )  const [virtual]

Determine the connection point.

The function takes Cdr::ServedParty::msrn and uses TariffCatalogue::e164Map() to determine the connection point. Note that TON of a MSRN is always international (see NwAddress::Ton).

Parameters:
cdr CDR to map.
Returns:
The id of the mapped connection point, as from E164Map::map2Cp.

Implements OSB_LIB::CpMapper.

Type OSB_LIB::MsrnToCp::type (  )  const [inline, virtual]

Type of mapping class.

Implements OSB_LIB::CpMapper.

Definition at line 84 of file e164map.h.

References cpmType_.


Member Data Documentation

const CpmType OSB_LIB::MsrnToCp::cpmType_ = cpmMsrn [static, private]

The type id of the class.

Definition at line 76 of file e164map.h.

Referenced by type().


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