Last change
on this file since 11607 was
11607,
checked in by maxima, 6 years ago
|
No more compiler errors. XMLPortObjects not yet implemented.
|
File size:
464 bytes
|
Line | |
---|
1 | #include "AnswerId.h" |
---|
2 | |
---|
3 | |
---|
4 | namespace 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 | std::string AnswerId::getId(){ |
---|
23 | return this->Id_; |
---|
24 | } |
---|
25 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.