This class defines a the interface that tariff objects with a configuration status must provide.
Definition at line 66 of file tariffobject.h.
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.
virtual bool OSB_LIB::ToCfgBase::freeze | ( | const OSB_DB::Session & | session, | |
OsbErrors & | msgs | |||
) | [pure virtual] |
Change status from cfgEditable to cfgStandby.
session | Database session to use. | |
msgs | Container for warnings and errors. |
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.
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.
session | Database session to use. | |
msgs | Container for warnings and errors. |
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.
session | Database session to use. | |
msgs | Container for warnings and errors. |
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.
session | Database session to use. | |
errors | Gets the list of encountered errors. |
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_ [protected] |