OSB_LIB::ToCfgBase Class Reference

Inheritance diagram for OSB_LIB::ToCfgBase:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Base class for tariff objects with a configuration status.

This class defines a the interface that tariff objects with a configuration status must provide.

Definition at line 66 of file tariffobject.h.

Public Member Functions

Protected Member Functions

Protected Attributes


Constructor & Destructor Documentation

OSB_LIB::ToCfgBase::ToCfgBase ( CfgStatus  status = cfgEditable  )  [explicit, protected]

Default constructor with optional configuration status.

virtual OSB_LIB::ToCfgBase::~ToCfgBase (  )  [protected, virtual]

Empty virtual destructor.


Member Function Documentation

virtual bool OSB_LIB::ToCfgBase::freeze ( const OSB_DB::Session session,
OsbErrors msgs 
) [pure virtual]

Change status from cfgEditable to cfgStandby.

Parameters:
session Database session to use.
msgs Container for warnings and errors.
Returns:
true in case of success, else false.

Implemented in OSB_LIB::ConnectionPt, OSB_LIB::E164, OSB_LIB::RatedService, OSB_LIB::RatingFn, OSB_LIB::ScsVersion, OSB_LIB::TfVersion, OSB_LIB::TcsVersion, OSB_LIB::DayClass, OSB_LIB::TpsVersion, OSB_LIB::TsVersion, and OSB_LIB::TzConfig.

ToCfgBase& OSB_LIB::ToCfgBase::operator= ( const ToCfgBase rhs  )  [protected]

Prevent assignment through base class.

virtual bool OSB_LIB::ToCfgBase::release ( const OSB_DB::Session session,
OsbErrors msgs 
) [pure virtual]

Change status from cfgStandby to cfgReleased.

Parameters:
session Database session to use.
msgs Container for warnings and errors.
Returns:
true in case of success, else false.

Implemented in OSB_LIB::ConnectionPt, OSB_LIB::E164, OSB_LIB::RatedService, OSB_LIB::RatingFn, OSB_LIB::ScsVersion, OSB_LIB::TfVersion, OSB_LIB::TcsVersion, OSB_LIB::DayClass, OSB_LIB::TpsVersion, OSB_LIB::TsVersion, and OSB_LIB::TzConfig.

virtual bool OSB_LIB::ToCfgBase::revoke ( const OSB_DB::Session session,
OsbErrors msgs 
) [pure virtual]

Change status from cfgReleased to cfgStandby.

Parameters:
session Database session to use.
msgs Container for warnings and errors.
Returns:
true in case of success, else false.

Implemented in OSB_LIB::ConnectionPt, OSB_LIB::E164, OSB_LIB::RatedService, OSB_LIB::RatingFn, OSB_LIB::ScsVersion, OSB_LIB::TfVersion, OSB_LIB::TcsVersion, OSB_LIB::DayClass, OSB_LIB::TpsVersion, OSB_LIB::TsVersion, and OSB_LIB::TzConfig.

CfgStatus OSB_LIB::ToCfgBase::status (  )  const

Get configuration status.

virtual bool OSB_LIB::ToCfgBase::unfreeze ( const OSB_DB::Session session,
OsbErrors errors 
) [pure virtual]

Change status from cfgStandby to cfgEditable.

Parameters:
session Database session to use.
errors Gets the list of encountered errors.
Returns:
true in case of success, else false.

Implemented in OSB_LIB::ConnectionPt, OSB_LIB::E164, OSB_LIB::RatedService, OSB_LIB::RatingFn, OSB_LIB::ScsVersion, OSB_LIB::TfVersion, OSB_LIB::TcsVersion, OSB_LIB::DayClass, OSB_LIB::TpsVersion, OSB_LIB::TsVersion, and OSB_LIB::TzConfig.


Member Data Documentation

CfgStatus OSB_LIB::ToCfgBase::status_ [protected]

The configuration status.

Definition at line 127 of file tariffobject.h.


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