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.h

    r11642 r11644  
    2020                        virtual void XMLPort(Element& xmelement, XMLPort::Mode mode);
    2121
    22                         void setQuestionId(std::string Id);
    23                         std::string getQuestionId();
     22                        void setQuestionId(const std::string& Id);      //xmlPort-Funktion, setzt Id
     23                        const std::string& getQuestionId() const;       //xmlPort-Funktion, gibt Id string zuruek
    2424
    25                         void setQuestion(std::string question);
    26                         std::string getQuestion();
     25                        void setQuestion(const std::string& question);  //xmlPort-Funktion, setzt Fragen string
     26                        const std::string& getQuestion() const; //xmlPort-Funktion, gibt Fragen string
    2727
    28                         void addAnswerId(AnswerId* answerId); //leer lassen um Dialog zu beenden
    29                         AnswerId* getAnswerId(unsigned int index) const;
     28                        void addAnswerId(AnswerId* answerId);   //xmlPort-Funktion, nimmt AnswerIds von entsprechenden Objekten und fuegt sie in List ein.
     29                        const AnswerId* getAnswerId() const;    //xmlPort-Funktion, gibt nichts zuruek
    3030
    31                        
    32                         //braucht es getAnswerId oder reicht es andere funktion anzugeben,
    33                         // die sowieso gebraucht wird?
    34 
    35                         std::vector<std::string>* getAnswerIds(); //returnt vektor mit allen Ids
     31                        const std::vector<std::string>* getAnswerIds(); //returnt Pointer auf Vektor mit allen Ids
    3632
    3733
Note: See TracChangeset for help on using the changeset viewer.