-
Notifications
You must be signed in to change notification settings - Fork 0
/
Item.h
36 lines (28 loc) · 842 Bytes
/
Item.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
// Name:Badal Sarkar
// Seneca Student ID:137226189
// Seneca email:[email protected]
// Date of completion:November 24, 2019
//
// I confirm that I am the only author of this file
// and the content was created entirely by me.
#define _CRT_SECURE_NO_WARNINGS
#ifndef SDDS_ITEM_H
#define SDDS_ITEM_H
#include <string>
#include "Utilities.h"
class Item
{
std::string m_name{""};
std::string m_description{""};
unsigned int m_serialNumber{0};
unsigned int m_quantity{0};
static size_t m_widthField;
public:
Item(const std::string&);
const std::string& getName()const;
const unsigned int getSerialNumber();
const unsigned int getQuantity();
void updateQuantity();
void display(std::ostream& os, bool full)const;
};
#endif