Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Dialog_HS17/src/modules/dialog/AnswerId.cc @ 11644

Last change on this file since 11644 was 11644, checked in by kuchlert, 6 years ago

eigentlich fertig nur noch altes system entfernen

File size: 522 bytes
Line 
1#include "AnswerId.h"
2#include "core/CoreIncludes.h"
3
4
5namespace orxonox{
6
7        RegisterClass(AnswerId);
8
9        AnswerId::AnswerId(Context* context) : BaseObject(context)
10        {
11                RegisterObject(AnswerId);
12        }
13
14        void AnswerId::XMLPort(Element& xmlelement, XMLPort::Mode mode)
15        {
16                SUPER(AnswerId, XMLPort, xmlelement, mode);
17
18                XMLPortParam(AnswerId, "Id", setId, getId, xmlelement, mode);
19        }
20
21        void AnswerId::setId(const std::string& id)
22        {
23                this->id_ = id;
24        }
25       
26        const std::string& AnswerId::getId() const
27        {
28                return this->id_;
29        }
30}
Note: See TracBrowser for help on using the repository browser.