Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 27, 2017, 4:57:47 PM (6 years ago)
Author:
maxima
Message:

No more compiler errors. XMLPortObjects not yet implemented.

File:
1 edited

Legend:

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

    r11579 r11607  
    1919                XMLPortParam(Question, "Id", setQuestionId, getQuestionId, xmlement, mode);
    2020
    21                 XMLPortObject(Question, AnswerId, "answers", addAnswerId, getAnswerIds, xmlement, mode);
     21                XMLPortObject(Question, AnswerId, "answers", addAnswerId, getAnswerId, xmlement, mode);
    2222        }
    2323
     
    3737        }
    3838
    39         cstd::string Question::getQuestion()
     39        std::string Question::getQuestion()
    4040        {
    4141                return this->question_;
    4242        }
    4343
    44         void Question::addAnswerId(AnswerId answerId)
     44        void Question::addAnswerId(AnswerId* answerId)
    4545        {
    46                 this->answerIds_.push_back(answerId.getId);
     46                this->answerIds_.push_back(answerId->getId());
    4747        }
    4848
     49        AnswerId* Question::getAnswerId(unsigned int index) const
     50        {
     51                return nullptr;
     52        }
    4953
    5054        std::vector<std::string> Question::getAnswerIds()
Note: See TracChangeset for help on using the changeset viewer.