PPL Assignment  v1.0
Assignment for course Principles of Programming Languages | Semester 4
UtilityGifts.hpp
Go to the documentation of this file.
1 #include<string>
2 
3 namespace ValentinePrimeTime{
5  {
6  std::string name;
7  int price;
8  int value;
9  int utilityValue;
10  public:
11  std::string getName();
12  void setName(std::string name);
13  int getPrice();
14  int getValue();
15  int getUtilityValue();
16  void setPrice(int price);
17  void setValue(int value);
18  void setUtilityValue(int utilityValue);
19  };
20 }
int getUtilityValue()
Definition: UtilityGifts.cpp:15
Definition: ChoosyGirls.hpp:3
void setPrice(int price)
Definition: UtilityGifts.cpp:18
void setUtilityValue(int utilityValue)
Definition: UtilityGifts.cpp:24
void setName(std::string name)
Definition: UtilityGifts.cpp:6
void setValue(int value)
Definition: UtilityGifts.cpp:21
int getValue()
Definition: UtilityGifts.cpp:12
int getPrice()
Definition: UtilityGifts.cpp:9
Definition: UtilityGifts.hpp:4
std::string getName()
Definition: UtilityGifts.cpp:3