The class CgiToCp determines the connection point valid to Cdr::ServedParty::cgi.
Definition at line 420 of file cgi.h.
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.
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.
cdr | CDR to map. |
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_.
const CpmType OSB_LIB::CgiToCp::cpmType_ = cpmCgi [static, private] |