Changeset 11644 for code/branches/Dialog_HS17/src/modules/dialog/Answer.cc
- Timestamp:
- Dec 8, 2017, 2:55:15 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Dialog_HS17/src/modules/dialog/Answer.cc
r11611 r11644 23 23 } 24 24 25 void Answer::setAnswerId( std::stringanswerId){25 void Answer::setAnswerId(const std::string& answerId){ 26 26 this->answerId_ = answerId; 27 27 } 28 28 29 std::string Answer::getAnswerId(){ 29 const std::string& Answer::getAnswerId() const 30 { 30 31 return this->answerId_; 31 32 } 32 33 33 void Answer::setNextQuestion( std::stringnextId)34 void Answer::setNextQuestion(const std::string& nextId) 34 35 { 35 36 this->nextQuestionId_ = nextId; 36 37 } 37 38 38 std::string Answer::getNextQuestion()39 const std::string& Answer::getNextQuestion() const 39 40 { 40 41 return this->nextQuestionId_; 41 42 } 42 43 43 void Answer::setAnswer( std::stringanswer)44 void Answer::setAnswer(const std::string& answer) 44 45 { 45 46 this->answer_ = answer; 46 47 } 47 48 48 std::string Answer::getAnswer()49 const std::string& Answer::getAnswer() const 49 50 { 50 51 return this->answer_;
Note: See TracChangeset
for help on using the changeset viewer.