11 std::vector<Question> questions;
bool checkQuestionExist(const Question &q)
checks if a question already exists in the QuestionList
Definition QuestionList.cpp:117
int numberOfQuestions()
Definition QuestionList.cpp:161
bool insert(const Question &q, int index)
adds a Question at a specific index in the QuestionList
Definition QuestionList.cpp:136
void addLast(const Question &q)
adds a Question to the back of the QuestionList
Definition QuestionList.cpp:127
void remove(int index)
Removes from a Question from an index in the QuesstionList.
Definition QuestionList.cpp:145
std::vector< Question > getQuestions()
returns a vector of Questions
Definition QuestionList.cpp:166
Question & getCurrentQuestion()
iterates through the QuestionList-returns the current question and moves the current variable to the ...
Definition QuestionList.cpp:152
QuestionList()
Definition QuestionList.cpp:4