00001 #pragma once
00002
00007 class Tariff
00008 {
00009 public:
00010 Tariff(void);
00011 Tariff(float day, float evening, float weekend, std::string& country);
00012 ~Tariff(void);
00013 float getDayTariff(void) const { return dayTariff; }
00014 float getEveningTariff(void) const { return eveningTariff; }
00015 float getWeekendTariff(void) const { return weekendTariff; }
00016 std::string getCountry(void) const { return country; }
00017 inline void setCountry(const std::string& country) { this->country = country; }
00018 inline void setDayTariff(const float dayTariff) { this->dayTariff = dayTariff; }
00019 inline void setEveningTariff(const float eveningTariff) { this->eveningTariff = eveningTariff; }
00020 inline void setWeekendTariff(const float weekendTariff) { this->weekendTariff = weekendTariff; }
00021
00022 private:
00023 float dayTariff;
00024 float eveningTariff;
00025 float weekendTariff;
00026 std::string country;
00027 };