OSB_LIB::RpEvalFixedTs Class Reference

Inheritance diagram for OSB_LIB::RpEvalFixedTs:

Inheritance graph
Collaboration diagram for OSB_LIB::RpEvalFixedTs:

Collaboration graph
List of all members.

Detailed Description

Rated party evaluator: fixed tariff system.

This rated party evaluator always generates a CDR and sets the tariff system in RatedParty to the configured value.

Definition at line 67 of file rpevalts.h.

Public Member Functions

Private Member Functions

Private Attributes

Static Private Attributes

Constructor & Destructor Documentation

OSB_LIB::RpEvalFixedTs::RpEvalFixedTs ( const Oid oid,
const RpType rpType 

Constructor with object id and supported rated party type.

Member Function Documentation

std::string OSB_LIB::RpEvalFixedTs::getParam ( int  index  )  const [private, virtual]

Get a configuration parameter of the evaluator.

index Index of the parameter to retrieve.
The value of the parameter. It is empty if the concrete evaluator class does not support (need) the parameter.

Implements OSB_LIB::RatedPartyEval.

Result OSB_LIB::RpEvalFixedTs::getParty ( const Cdr cdr,
RatedParty rp,
OsbError error 
) const [virtual]

Determine the rated party.

cdr Not used.
rp Rated party to populate,
its RatedParty::tsVersion_ is set to tsId().
error Not used.
Always useRatedParty.

Implements OSB_LIB::RatedPartyEval.

int OSB_LIB::RpEvalFixedTs::numParam (  )  const [virtual]

Configuration of evaluator needed? Yes.

Implements OSB_LIB::RatedPartyEval.

bool OSB_LIB::RpEvalFixedTs::requiresCache (  )  const [virtual]

Resource cache needed?

Always false.

Implements OSB_LIB::RatedPartyEval.

bool OSB_LIB::RpEvalFixedTs::setParam ( int  index,
const std::string &  param 
) [private, virtual]

Set a parameter for the evaluator.

index Index of the parameter to set.
param Value of the parameter.
OsbException if the parameter is not valid.
true if the parameter index is supported, else false.

Implements OSB_LIB::RatedPartyEval.

void OSB_LIB::RpEvalFixedTs::setTsId ( const Id< TariffSystem > &  tsId  ) 

Set the tariff system id.

Id<TariffSystem> OSB_LIB::RpEvalFixedTs::tsId (  )  const

Get the id of the configured tariff system.

Type OSB_LIB::RpEvalFixedTs::type (  )  const [virtual]

The type the rated party evaluator.

Implements OSB_LIB::RatedPartyEval.

Member Data Documentation

Id<TariffSystem> OSB_LIB::RpEvalFixedTs::tsId_ [private]

The tariff system for the rated party.

Definition at line 140 of file rpevalts.h.

const Type OSB_LIB::RpEvalFixedTs::type_ [static, private]

Definition at line 69 of file rpevalts.h.

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