RecipeDB/model/recipe/recipe.h

31 lines
574 B
C
Raw Normal View History

#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"
using namespace std;
class Recipe
{
public:
Recipe();
2018-02-12 13:24:11 +00:00
Recipe(string name, vector<Ingredient> ingredients, vector<Instruction> instructions);
string getName();
2018-02-12 13:24:11 +00:00
vector<Ingredient> getIngredients();
vector<Instruction> getInstructions();
private:
string name;
vector<string> tags;
vector<Ingredient> ingredients;
vector<Instruction> instructions;
2018-02-12 13:24:11 +00:00
};
#endif // RECIPE_H