- Timestamp:
- Nov 27, 2017, 4:57:47 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Dialog_HS17/src/modules/dialog/Question.cc
r11579 r11607 19 19 XMLPortParam(Question, "Id", setQuestionId, getQuestionId, xmlement, mode); 20 20 21 XMLPortObject(Question, AnswerId, "answers", addAnswerId, getAnswerId s, xmlement, mode);21 XMLPortObject(Question, AnswerId, "answers", addAnswerId, getAnswerId, xmlement, mode); 22 22 } 23 23 … … 37 37 } 38 38 39 cstd::string Question::getQuestion()39 std::string Question::getQuestion() 40 40 { 41 41 return this->question_; 42 42 } 43 43 44 void Question::addAnswerId(AnswerId answerId)44 void Question::addAnswerId(AnswerId* answerId) 45 45 { 46 this->answerIds_.push_back(answerId .getId);46 this->answerIds_.push_back(answerId->getId()); 47 47 } 48 48 49 AnswerId* Question::getAnswerId(unsigned int index) const 50 { 51 return nullptr; 52 } 49 53 50 54 std::vector<std::string> Question::getAnswerIds()
Note: See TracChangeset
for help on using the changeset viewer.