[78] | 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/Ifetch_unit/Ifetch_unit_Glue/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 | namespace ifetch_unit { |
---|
| 17 | namespace ifetch_unit_glue { |
---|
| 18 | |
---|
| 19 | |
---|
| 20 | #undef FUNCTION |
---|
| 21 | #define FUNCTION "Ifetch_unit_Glue::print" |
---|
| 22 | std::string Parameters::print (uint32_t depth) |
---|
| 23 | { |
---|
| 24 | log_printf(FUNC,Ifetch_unit_Glue,FUNCTION,"Begin"); |
---|
| 25 | |
---|
| 26 | XML xml ("ifetch_unit_glue"); |
---|
| 27 | |
---|
| 28 | xml.balise_open("ifetch_unit_glue"); |
---|
[88] | 29 | // xml.singleton_begin("size_address"); xml.attribut("value",toString(_size_address)); xml.singleton_end(); |
---|
[78] | 30 | xml.balise_close(); |
---|
| 31 | |
---|
| 32 | log_printf(FUNC,Ifetch_unit_Glue,FUNCTION,"End"); |
---|
| 33 | |
---|
| 34 | return xml.get_body(depth); |
---|
| 35 | }; |
---|
| 36 | |
---|
| 37 | #undef FUNCTION |
---|
| 38 | #define FUNCTION "Ifetch_unit_Glue::operator<<" |
---|
| 39 | std::ostream& operator<< (std::ostream& output_stream , |
---|
| 40 | morpheo::behavioural::core::multi_front_end::front_end::ifetch_unit::ifetch_unit_glue::Parameters & x) |
---|
| 41 | { |
---|
| 42 | log_printf(FUNC,Ifetch_unit_Glue,FUNCTION,"Begin"); |
---|
| 43 | |
---|
| 44 | output_stream << x.print(0); |
---|
| 45 | |
---|
| 46 | log_printf(FUNC,Ifetch_unit_Glue,FUNCTION,"End"); |
---|
| 47 | |
---|
| 48 | return output_stream; |
---|
| 49 | }; |
---|
| 50 | |
---|
| 51 | }; // end namespace ifetch_unit_glue |
---|
| 52 | }; // end namespace ifetch_unit |
---|
| 53 | }; // end namespace front_end |
---|
| 54 | }; // end namespace multi_front_end |
---|
| 55 | }; // end namespace core |
---|
| 56 | |
---|
| 57 | }; // end namespace behavioural |
---|
| 58 | }; // end namespace morpheo |
---|