Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

some bug fixed most not

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