OSB_LIB::NwElementToCp Class Reference

Inheritance diagram for OSB_LIB::NwElementToCp:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Map Cdr::networkElementId to ConnectionPt.

The class determines the connection point valid for the network element of a Cdr.

Definition at line 100 of file networktocp.h.

Public Types

Public Member Functions

Private Member Functions

Static Private Attributes


Member Typedef Documentation

typedef std::auto_ptr<NwElementToCp> OSB_LIB::NwElementToCp::AutoPtr

Short-cut for an auto pointer.

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

Reimplemented from OSB_LIB::CpMapper.

Definition at line 105 of file networktocp.h.


Member Function Documentation

AutoPtr OSB_LIB::NwElementToCp::clone (  )  const

Virtual copy construction.

For details see quality manual, implementation patterns.

Reimplemented from OSB_LIB::CpMapper.

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

Virtual copy construction.

For details see quality manual, implementation patterns.

Implements OSB_LIB::CpMapper.

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

Get the connection point for the network element.

Parameters:
cdr CDR for which to do the mapping.
Returns:
The id of the connection point assigned to the network element of the CDR.
If the network element does not exist or has no connection point assigned, the connection point valid for the network is returned.
The function uses TheNetworkManager to find the CDRs network. If this one exists, the element is searched.

Implements OSB_LIB::CpMapper.

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

Type of mapping class.

Implements OSB_LIB::CpMapper.

Definition at line 110 of file networktocp.h.

References cpmType_.


Member Data Documentation

const CpmType OSB_LIB::NwElementToCp::cpmType_ = cpmNwElement [static, private]

The type id of the class.

Definition at line 102 of file networktocp.h.

Referenced by type().


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