OSB_LIB::CgiToCp Class Reference

Inheritance diagram for OSB_LIB::CgiToCp:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Map CGI's to connection points.

The class CgiToCp determines the connection point valid to Cdr::ServedParty::cgi.

Definition at line 420 of file cgi.h.

Public Member Functions

Private Types

Private Member Functions

Static Private Attributes


Member Typedef Documentation

typedef std::auto_ptr<CgiToCp> OSB_LIB::CgiToCp::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 424 of file cgi.h.


Member Function Documentation

AutoPtr OSB_LIB::CgiToCp::clone (  )  const

Virtual copy construction.

For details see quality manual, implementation patterns.

Reimplemented from OSB_LIB::CpMapper.

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

Virtual copy construction.

For details see quality manual, implementation patterns.

Implements OSB_LIB::CpMapper.

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

Do the mapping.

The function takes cdr.servedParty.cgi and uses the cgiMap of the tariff catalogue to determine the id of the connection point.

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

Implements OSB_LIB::CpMapper.

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

Type of mapping class.

Implements OSB_LIB::CpMapper.

Definition at line 430 of file cgi.h.

References cpmType_.


Member Data Documentation

const CpmType OSB_LIB::CgiToCp::cpmType_ = cpmCgi [static, private]

The type id of the class.

Definition at line 422 of file cgi.h.

Referenced by type().


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