-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHappyMealProduct.cxx
37 lines (34 loc) · 1.01 KB
/
HappyMealProduct.cxx
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
35
36
37
//-----------------------------------------------------------------------------
// File: Product.cxx
// Author: Enhope
// Date: Jun 2, 2019
//-----------------------------------------------------------------------------
#include "HappyMealProduct.hxx"
#include <plog/Log.h>
//-----------------------------------------------------------------------------
HappyMealProduct::HappyMealProduct(MainCourse main_course,
Appetizer appetizer,
Drinks drinks,
Toy toy)
:
m_main_course(main_course),
m_appetizer(appetizer),
m_drinks(drinks),
m_toy(toy)
{
PLOGD;
}
//-----------------------------------------------------------------------------
HappyMealProduct::~HappyMealProduct()
{
PLOGD;
}
//-----------------------------------------------------------------------------
HappyMealProduct::Builder::Builder()
:
m_main_course(HAMBURGER),
m_appetizer(FRIES),
m_drinks(COLA),
m_toy(HOTWHEELS)
{
}