source:
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/XML_indent.cpp
@
12
Last change on this file since 12 was 2, checked in by , 18 years ago | |
---|---|
File size: 376 bytes |
Rev | Line | |
---|---|---|
[2] | 1 | /* |
2 | * $Id$ | |
3 | * | |
4 | * [ Description ] | |
5 | * | |
6 | */ | |
7 | ||
8 | #include "Behavioural/include/XML.h" | |
9 | ||
10 | namespace morpheo { | |
11 | namespace behavioural { | |
12 | ||
13 | string XML::indent (uint32_t depth) | |
14 | { | |
15 | return string(depth,'\t'); | |
16 | }; | |
17 | ||
18 | string XML::indent (void) | |
19 | { | |
20 | return indent(depth()); | |
21 | }; | |
22 | ||
23 | }; // end namespace behavioural | |
24 | }; // end namespace morpheo |
Note: See TracBrowser
for help on using the repository browser.