Changeset 3 for trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/Parameters_print.cpp
- Timestamp:
- Mar 6, 2007, 3:34:04 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/Parameters_print.cpp
r2 r3 7 7 8 8 #include "Behavioural/@DIRECTORY/include/Parameters.h" 9 #include <sstream>9 #include "Behavioural/include/XML.h" 10 10 using namespace std; 11 11 … … 18 18 log_printf(FUNC,@COMPONENT,"print","Begin"); 19 19 20 string tab = string(depth,'\t'); 21 ostringstream msg; 22 msg << tab << "<@COMPONENT_LOWER>" << endl 23 << tab << "</@COMPONENT_LOWER>" << endl; 20 XML xml ("@COMPONENT_LOWER"); 21 22 xml.balise_open("@COMPONENT_LOWER"); 23 // xml. singleton_begin("size_data"); 24 // xml. attribut("value",toString(_size_data)); 25 // xml. singleton_end(); 26 // xml. singleton_begin("nb_port "); 27 // xml. attribut("value",toString(_nb_port)); 28 // xml. singleton_end(); 29 xml.balise_close(); 24 30 25 31 log_printf(FUNC,@COMPONENT,"print","End"); 26 32 27 return msg.str();33 return xml.get_body(depth); 28 34 }; 29 35
Note: See TracChangeset
for help on using the changeset viewer.