Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 8, 2017, 2:55:15 PM (6 years ago)
Author:
kuchlert
Message:

eigentlich fertig nur noch altes system entfernen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Dialog_HS17/src/modules/dialog/Question.cc

    r11642 r11644  
    2222        }
    2323
    24         void Question::setQuestionId(std::string Id)
     24        void Question::setQuestionId(const std::string& Id)
    2525        {
    2626                this->questionId_ = Id;
    2727        }
    2828
    29         std::string Question::getQuestionId()
     29        const std::string& Question::getQuestionId() const
    3030        {
    3131                return this->questionId_;
    3232        }
    3333
    34         void Question::setQuestion(std::string question)
     34        void Question::setQuestion(const std::string& question)
    3535        {
    3636                this->question_ = question;
    3737        }
    3838
    39         std::string Question::getQuestion()
     39        const std::string& Question::getQuestion() const
    4040        {
    4141                return this->question_;
     
    4747        }
    4848
    49         AnswerId* Question::getAnswerId(unsigned int index) const
     49        const AnswerId* Question::getAnswerId() const
    5050        {
    5151                return nullptr;
    5252        }
    5353
    54         std::vector<std::string>* Question::getAnswerIds()
     54        const std::vector<std::string>* Question::getAnswerIds()
    5555        {
    5656                return &(this->answerIds_);
Note: See TracChangeset for help on using the changeset viewer.