2018-02-02 12:27:57 +00:00
|
|
|
#ifndef RECIPE_H
|
|
|
|
#define RECIPE_H
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
#include <string>
|
|
|
|
#include <hash_map>
|
|
|
|
|
2018-02-12 13:24:11 +00:00
|
|
|
#include "model/recipe/ingredient.h"
|
|
|
|
#include "model/recipe/instruction.h"
|
2018-02-02 12:27:57 +00:00
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
class Recipe
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Recipe();
|
2018-02-12 13:24:11 +00:00
|
|
|
Recipe(string name, vector<Ingredient> ingredients, vector<Instruction> instructions);
|
2018-02-02 12:27:57 +00:00
|
|
|
|
|
|
|
string getName();
|
2018-02-12 13:24:11 +00:00
|
|
|
vector<Ingredient> getIngredients();
|
|
|
|
vector<Instruction> getInstructions();
|
2018-02-02 12:27:57 +00:00
|
|
|
private:
|
|
|
|
string name;
|
|
|
|
vector<string> tags;
|
|
|
|
vector<Ingredient> ingredients;
|
|
|
|
vector<Instruction> instructions;
|
2018-02-12 13:24:11 +00:00
|
|
|
|
2018-02-02 12:27:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // RECIPE_H
|