Changeset 53 for trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/Parameters_print.cpp
- Timestamp:
- Sep 6, 2007, 6:30:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/Parameters_print.cpp
r15 r53 14 14 @NAMESPACE_BEGIN 15 15 16 #undef FUNCTION 17 #define FUNCTION "@COMPONENT::print" 16 18 string Parameters::print (uint32_t depth) 17 19 { 18 log_printf(FUNC,@COMPONENT, "print","Begin");20 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 19 21 20 22 XML xml ("@COMPONENT_LOWER"); 21 23 22 24 xml.balise_open("@COMPONENT_LOWER"); 23 // xml.singleton_begin("size_data"); xml.attribut("value",toString(_size_data)); xml.singleton_end(); 24 // xml.singleton_begin("nb_port "); xml.attribut("value",toString(_nb_port )); xml.singleton_end(); 25 // xml.singleton_begin(""); xml.attribut("value",toString(_)); xml.singleton_end(); 25 26 xml.balise_close(); 26 27 27 log_printf(FUNC,@COMPONENT, "print","End");28 log_printf(FUNC,@COMPONENT,FUNCTION,"End"); 28 29 29 30 return xml.get_body(depth); 30 31 }; 31 32 33 #undef FUNCTION 34 #define FUNCTION "@COMPONENT::operator<<" 32 35 ostream& operator<< (ostream& output_stream , 33 36 morpheo::behavioural::@NAMESPACE_USE::Parameters & x) 34 37 { 38 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 39 35 40 output_stream << x.print(0); 36 41 42 log_printf(FUNC,@COMPONENT,FUNCTION,"End"); 43 37 44 return output_stream; 38 45 };
Note: See TracChangeset
for help on using the changeset viewer.