[88] | 1 | /* |
---|
| 2 | * $Id: Parameters_print.cpp 88 2008-12-10 18:31:39Z rosiere $ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/Core/Multi_Front_end/Front_end/include/Parameters.h" |
---|
| 9 | #include "Behavioural/include/XML.h" |
---|
| 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | namespace core { |
---|
| 14 | namespace multi_front_end { |
---|
| 15 | namespace front_end { |
---|
| 16 | |
---|
| 17 | |
---|
| 18 | #undef FUNCTION |
---|
| 19 | #define FUNCTION "Front_end::print" |
---|
| 20 | std::string Parameters::print (uint32_t depth) |
---|
| 21 | { |
---|
| 22 | log_begin(Front_end,FUNCTION); |
---|
| 23 | |
---|
| 24 | // XML xml ("front_end"); |
---|
| 25 | |
---|
| 26 | // xml.balise_open("front_end"); |
---|
| 27 | // // xml.singleton_begin(""); xml.attribut("value",toString(_)); xml.singleton_end(); |
---|
| 28 | // xml.balise_close(); |
---|
| 29 | |
---|
| 30 | // return xml.get_body(depth); |
---|
| 31 | |
---|
| 32 | std::string str = ""; |
---|
| 33 | |
---|
| 34 | log_end(Front_end,FUNCTION); |
---|
| 35 | |
---|
| 36 | return str; |
---|
| 37 | }; |
---|
| 38 | |
---|
| 39 | #undef FUNCTION |
---|
| 40 | #define FUNCTION "Front_end::operator<<" |
---|
| 41 | std::ostream& operator<< (std::ostream& output_stream , |
---|
| 42 | morpheo::behavioural::core::multi_front_end::front_end::Parameters & x) |
---|
| 43 | { |
---|
| 44 | log_begin(Front_end,FUNCTION); |
---|
| 45 | |
---|
| 46 | output_stream << x.print(0); |
---|
| 47 | |
---|
| 48 | log_end(Front_end,FUNCTION); |
---|
| 49 | |
---|
| 50 | return output_stream; |
---|
| 51 | }; |
---|
| 52 | |
---|
| 53 | }; // end namespace front_end |
---|
| 54 | }; // end namespace multi_front_end |
---|
| 55 | }; // end namespace core |
---|
| 56 | |
---|
| 57 | }; // end namespace behavioural |
---|
| 58 | }; // end namespace morpheo |
---|