The implementation uses the OSB_LIB::TariffCatalogue from the singleton class OSB_LIB::TcatMgr together with a OSB_LIB::TcatLockManager which is defined in the anonymous namespace of the implementation.
The current implementation is state-less. Therefore it is perfectly legal to define and use local variables of the class as shown in the example below.
ConnectionPt* NetworkManager_i::getConnectionPt( const ConnectionPtId& cpId ) throw (CORBA::SystemException, OsbCorbaException) { TariffCatalogue_i tcat; return tcat.getConnectionPt(cpId); }
Definition at line 88 of file tariffcatalogue_i.h.
OSB_CORBA::TariffCatalogue_i::TariffCatalogue_i | ( | ) |
Empty default constructor.
virtual ConnectionPt* OSB_CORBA::TariffCatalogue_i::getConnectionPt | ( | const ConnectionPtId & | cpId | ) | throw (CORBA::SystemException, OsbCorbaException) [virtual] |
Get a connection point.
cpId | Unique id of a connnection point. |
OsbCorbaException | if the connection point for cpId does not exist in the catalogue. |
virtual ConnectionPtSeq* OSB_CORBA::TariffCatalogue_i::getConnectionPts | ( | ) | throw (CORBA::SystemException) [virtual] |
Get list of connection points in the catalogue.
virtual ServiceElement OSB_CORBA::TariffCatalogue_i::getServiceElement | ( | const ServiceElementId & | seId | ) | throw (CORBA::SystemException, OsbCorbaException) [virtual] |
Get a service element.
seId | Unique id of a service element. |
OsbCorbaException | if the service element for seId does not exist in the catalogue. |
virtual ServiceElementSeq* OSB_CORBA::TariffCatalogue_i::getServiceElements | ( | ) | throw (CORBA::SystemException) [virtual] |
Get list of tariff systems from the catalogue.
virtual TariffSystem* OSB_CORBA::TariffCatalogue_i::getTariffSystem | ( | const TariffSystemId & | tsId | ) | throw (CORBA::SystemException, OsbCorbaException) [virtual] |
Get a tariff system.
tsId | Unique id of a tariff system. |
OsbCorbaException | if the tariff system for tsId does not exist in the catalogue. |
virtual TariffSystemSeq* OSB_CORBA::TariffCatalogue_i::getTariffSystems | ( | ) | throw (CORBA::SystemException) [virtual] |
Get list of tariff systems in the catalogue.
void OSB_CORBA::TariffCatalogue_i::read | ( | OSB_DB::Session & | session | ) |
Read the tariff catalogue from the database.
session | Database session to use. |
OsbCorbaException | in case of a database error or if the (logical) construction of the tariff catalogue fails. |
const char* OSB_CORBA::TariffCatalogue_i::IFC [static] |
Definition at line 92 of file tariffcatalogue_i.h.