-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEmbroids.h
More file actions
32 lines (29 loc) · 759 Bytes
/
Embroids.h
File metadata and controls
32 lines (29 loc) · 759 Bytes
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
#ifndef EMBROIDS_H
#define EMBROIDS_H
#include <string>
using namespace std;
class Embroids
{
private:
std::string m_type;
double m_firstPrice;
double m_secondPrice;
double m_lastPrice;
public:
Embroids(std::string type, double firstPrice, double secondPrice, double lastPrice);
Embroids(const Embroids& original);
double getFirst();
double getSecond();
double getLast();
std::string getType();
Embroids();
void operator=(const Embroids& rhs);
bool operator==(const std::string& type);
bool operator<(const std::string& type);
bool operator>(const std::string& type);
bool operator==(const Embroids& embroids);
bool operator<(const Embroids& embroids);
bool operator>(const Embroids& embroids);
//~Shirts();
};
#endif