Pizzerie
Loading...
Searching...
No Matches
Ingredient.h
Go to the documentation of this file.
1
5
6#ifndef PROOP_INGREDIENT_H
7#define PROOP_INGREDIENT_H
8#include <string>
9using namespace std;
10
16private:
17 string name;
18 double cost;
19
20public:
24 Ingredient();
25
31 Ingredient(string name, double cost);
32
37
42 string getName();
43
48 double getCost();
49};
50
51#endif //PROOP_INGREDIENT_H
string name
Název přísady.
Definition Ingredient.h:17
Ingredient()
Výchozí konstruktor.
Definition Ingredient.cpp:7
double cost
Cena přísady.
Definition Ingredient.h:18
~Ingredient()
Destruktor.
Definition Ingredient.cpp:15
string getName()
Získá název přísady.
Definition Ingredient.cpp:18
double getCost()
Získá cenu přísady.
Definition Ingredient.cpp:22