-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTurkey_Sandwich.h
34 lines (25 loc) · 949 Bytes
/
Turkey_Sandwich.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef M2OEP_NETID_LBOURAMI_TURKEY_SANDWICH_H
#define M2OEP_NETID_LBOURAMI_TURKEY_SANDWICH_H
#include "Sandwich.h"
using namespace std;
class Turkey_Sandwich : public Sandwich {
protected:
//true for more meat, else false
bool extra_cheese;
//true for additional free cranberry sauce, else false for no sauce
bool cranberry_sauce;
public:
//Effects: calls parent default constructor
Turkey_Sandwich();
// Effects: calls parent non-default constructor
explicit Turkey_Sandwich(vector<string> toppings, bool toasted, bool extra_cheese, bool cranberry_sauce, double price);
//sets salad field to new_value (T/F)
void set_extra_cheese(bool extra_cheese);
//Gets salad field and returns (T/F)
bool get_extra_cheese();
//sets salad field to new_value (T/F)
void set_cranberry_sauce(bool cranberry_sauce);
//Gets salad field and returns (T/F)
bool get_cranberry_sauce();
};
#endif