- Timestamp:
- Mar 6, 2007, 3:34:04 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/XML_get_body.cpp
r2 r3 16 16 }; 17 17 18 string XML::get_body (uint32_t depth) 19 { 20 string body = _body; 21 string tabulation = indent(depth); 22 23 body.insert(0,tabulation); 24 for (size_t pos=body.find('\n',0); pos<body.length()-1; pos=body.find('\n',++pos)) 25 body.insert(++pos,tabulation); 26 27 return body; 28 }; 29 18 30 }; // end namespace behavioural 19 31 }; // end namespace morpheo
Note: See TracChangeset
for help on using the changeset viewer.