X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fcore%2Foam%2FConfiguration.cpp;fp=source%2Fcore%2Foam%2FConfiguration.cpp;h=d7c5bb3833d9e2508ac3dc20f8bbc7618c462c23;hp=ba50c4883377e5eb23a1db51df3fa9f6dbb776ee;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/core/oam/Configuration.cpp b/source/core/oam/Configuration.cpp index ba50c48..d7c5bb3 100644 --- a/source/core/oam/Configuration.cpp +++ b/source/core/oam/Configuration.cpp @@ -39,7 +39,7 @@ anna::oam::Configuration::Configuration() { //------------------------------------------------------------------------------ //-------------------------------------- Configuration::setAlarmTextDelimiters() //------------------------------------------------------------------------------ -void anna::oam::Configuration::setAlarmTextDelimiters(const char zS, const std::string & psL, const std::string & psS, const std::string & psR) throw() { +void anna::oam::Configuration::setAlarmTextDelimiters(const char zS, const std::string & psL, const std::string & psS, const std::string & psR) { a_alarm_text_delimiter_zS = zS; a_alarm_text_delimiter_psL = psL; a_alarm_text_delimiter_psS = psS; @@ -50,7 +50,7 @@ void anna::oam::Configuration::setAlarmTextDelimiters(const char zS, const std:: //------------------------------------------------------------------------------ //-------------------------------------- Configuration::getAlarmTextDelimiters() //------------------------------------------------------------------------------ -void anna::oam::Configuration::getAlarmTextDelimiters(char & zS, std::string & psL, std::string & psS, std::string & psR) const throw() { +void anna::oam::Configuration::getAlarmTextDelimiters(char & zS, std::string & psL, std::string & psS, std::string & psR) const { zS = a_alarm_text_delimiter_zS; psL = a_alarm_text_delimiter_psL; psS = a_alarm_text_delimiter_psS; @@ -61,7 +61,7 @@ void anna::oam::Configuration::getAlarmTextDelimiters(char & zS, std::string & p //------------------------------------------------------------------------------ //----------------------------------------- Configuration::enableAlarmsPreffix() //------------------------------------------------------------------------------ -void anna::oam::Configuration::enableAlarmsPreffix(void) throw() { +void anna::oam::Configuration::enableAlarmsPreffix(void) { a_alarms_preffix_enabled = true; LOGDEBUG(anna::Logger::debug("Alarm preffix global components SHOWN", ANNA_FILE_LOCATION)); } @@ -70,7 +70,7 @@ void anna::oam::Configuration::enableAlarmsPreffix(void) throw() { //------------------------------------------------------------------------------ //------------------------------------------ Configuration::enableAlarmsSuffix() //------------------------------------------------------------------------------ -void anna::oam::Configuration::enableAlarmsSuffix(void) throw() { +void anna::oam::Configuration::enableAlarmsSuffix(void) { a_alarms_suffix_enabled = true; LOGDEBUG(anna::Logger::debug("Alarm suffix global components SHOWN", ANNA_FILE_LOCATION)); } @@ -79,7 +79,7 @@ void anna::oam::Configuration::enableAlarmsSuffix(void) throw() { //------------------------------------------------------------------------------ //---------------------------------------- Configuration::disableAlarmsPreffix() //------------------------------------------------------------------------------ -void anna::oam::Configuration::disableAlarmsPreffix(void) throw() { +void anna::oam::Configuration::disableAlarmsPreffix(void) { a_alarms_preffix_enabled = false; LOGDEBUG(anna::Logger::debug("Alarm preffix global components HIDDEN", ANNA_FILE_LOCATION)); } @@ -88,7 +88,7 @@ void anna::oam::Configuration::disableAlarmsPreffix(void) throw() { //------------------------------------------------------------------------------ //----------------------------------------- Configuration::disableAlarmsSuffix() //------------------------------------------------------------------------------ -void anna::oam::Configuration::disableAlarmsSuffix(void) throw() { +void anna::oam::Configuration::disableAlarmsSuffix(void) { a_alarms_suffix_enabled = false; LOGDEBUG(anna::Logger::debug("Alarm suffix global components HIDDEN", ANNA_FILE_LOCATION)); } @@ -97,7 +97,7 @@ void anna::oam::Configuration::disableAlarmsSuffix(void) throw() { //------------------------------------------------------------------------------ //------------------------------------------------------- Configuration::asXML() //------------------------------------------------------------------------------ -anna::xml::Node* anna::oam::Configuration::asXML(anna::xml::Node* parent) const throw() { +anna::xml::Node* anna::oam::Configuration::asXML(anna::xml::Node* parent) const { anna::xml::Node* result = parent->createChild("anna.oam.Configuration"); std::vector::const_iterator it, it_min, it_max; result->createAttribute("AlarmsPreffix", a_alarms_preffix_enabled ? "Enabled" : "Disabled");