From 35c60a5b8d010b881af44c14c8438473dab55335 Mon Sep 17 00:00:00 2001 From: Elena Mamontova Date: Thu, 15 Sep 2016 16:38:57 +0300 Subject: [PATCH] Ticket 37. RESETABLEchangePolicyTimeout field declared in the struct TARIFF_CONF_RES and added in constructor, operator and GetData() function. --- include/stg/tariff_conf.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/stg/tariff_conf.h b/include/stg/tariff_conf.h index a33247d6..79ade2eb 100644 --- a/include/stg/tariff_conf.h +++ b/include/stg/tariff_conf.h @@ -183,7 +183,8 @@ struct TARIFF_CONF_RES passiveCost(), name(), period(), - changePolicy() + changePolicy(), + changePolicyTimeout() {} TARIFF_CONF_RES & operator=(const TARIFF_CONF & tc) @@ -195,6 +196,7 @@ struct TARIFF_CONF_RES name = tc.name; period = tc.period; changePolicy = tc.changePolicy; + changePolicyTimeout = tc.changePolicyTimeout; return *this; } @@ -208,6 +210,7 @@ struct TARIFF_CONF_RES traffType.maybeSet(tc.traffType); period.maybeSet(tc.period); changePolicy.maybeSet(tc.changePolicy); + changePolicyTimeout.maybeSet(tc.changePolicyTimeout); return tc; } @@ -218,6 +221,7 @@ struct TARIFF_CONF_RES RESETABLE name; RESETABLE period; RESETABLE changePolicy; + RESETABLE changePolicyTimeout; }; //----------------------------------------------------------------------------- struct TARIFF_DATA -- 2.44.2