OSB_LIB::NetworkToCp Class Reference

Inheritance diagram for OSB_LIB::NetworkToCp:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Map network as in Cdr::networkElementId to ConnectionPt.

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

Definition at line 62 of file networktocp.h.

Public Types

Public Member Functions

Private Member Functions

Static Private Attributes


Member Typedef Documentation

typedef std::auto_ptr<NetworkToCp> OSB_LIB::NetworkToCp::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 67 of file networktocp.h.


Member Function Documentation

AutoPtr OSB_LIB::NetworkToCp::clone (  )  const

Virtual copy construction.

For details see quality manual, implementation patterns.

Reimplemented from OSB_LIB::CpMapper.

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

Virtual copy construction.

For details see quality manual, implementation patterns.

Implements OSB_LIB::CpMapper.

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

Get the connection point for the network.

Parameters:
cdr CDR for which to do the mapping.
Returns:
The id of the connection point assigned to the CDRs network, it is not set if the network can not be found or has no connection point assigned.
The function uses TheNetworkManager to find the network of the CDR and -if found- returns the network's connection point.

Implements OSB_LIB::CpMapper.

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

Type of mapping class.

Implements OSB_LIB::CpMapper.

Definition at line 72 of file networktocp.h.

References cpmType_.


Member Data Documentation

const CpmType OSB_LIB::NetworkToCp::cpmType_ = cpmNetwork [static, private]

The type id of the class.

Definition at line 64 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:45 2006 for OSB Library by  doxygen 1.4.7