Last change
on this file since 94 was
88,
checked in by rosiere, 16 years ago
|
Almost complete design
with Test and test platform
|
-
Property svn:keywords set to
Id
|
File size:
585 bytes
|
Rev | Line | |
---|
[88] | 1 | /* |
---|
| 2 | * $Id: Parameter_affectation_toXML.cpp 88 2008-12-10 18:31:39Z rosiere $ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/Configuration/include/Parameter_affectation.h" |
---|
| 9 | |
---|
| 10 | namespace morpheo { |
---|
| 11 | namespace behavioural { |
---|
| 12 | namespace configuration { |
---|
| 13 | |
---|
| 14 | #undef FUNCTION |
---|
| 15 | #define FUNCTION "Parameter_affectation::toXML" |
---|
| 16 | XML Parameter_affectation::toXML (void) |
---|
| 17 | { |
---|
| 18 | XML xml (_name); |
---|
| 19 | |
---|
| 20 | xml.singleton_begin("parameter"); |
---|
| 21 | xml. attribut("name" ,_name ); |
---|
| 22 | xml. attribut("value",_value); |
---|
| 23 | xml.singleton_end(); |
---|
| 24 | |
---|
| 25 | return xml; |
---|
| 26 | } |
---|
| 27 | |
---|
| 28 | }; // end namespace configuration |
---|
| 29 | }; // end namespace behavioural |
---|
| 30 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.