- Timestamp:
- Jan 19, 2008, 12:09:01 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/XML_get_body.cpp
r43 r71 13 13 #undef FUNCTION 14 14 #define FUNCTION "XML::get_body" 15 st ring XML::get_body (void)15 std::string XML::get_body (void) 16 16 { 17 17 log_printf(FUNC,Behavioural,FUNCTION,"Begin"); … … 20 20 }; 21 21 22 st ring XML::get_body (uint32_t depth)22 std::string XML::get_body (uint32_t depth) 23 23 { 24 24 log_printf(FUNC,Behavioural,FUNCTION,"Begin"); 25 25 26 st ring body = _body;27 st ring tabulation = indent(depth);26 std::string body = _body; 27 std::string tabulation = indent(depth); 28 28 29 body.insert(0,tabulation);29 // body.insert(0,tabulation); 30 30 for (size_t pos=body.find('\n',0); pos<body.length()-1; pos=body.find('\n',++pos)) 31 31 body.insert(++pos,tabulation);
Note: See TracChangeset
for help on using the changeset viewer.