source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/XML_indent.cpp @ 94

Last change on this file since 94 was 94, checked in by rosiere, 15 years ago

Update document on Vhdl generation.

  • Property svn:keywords set to Id
File size: 737 bytes
Line 
1/*
2 * $Id: XML_indent.cpp 94 2008-12-15 11:04:03Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/XML.h"
9#include "Common/include/Tabulation.h"
10
11namespace morpheo              {
12namespace behavioural          {
13
14#undef  FUNCTION
15#define FUNCTION "XML::indent"
16  std::string XML::indent (uint32_t depth)
17  {
18    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
19    std::string _return = tab(depth);
20    log_printf(FUNC,Behavioural,FUNCTION,"End");
21
22    return _return;
23  };
24
25  std::string XML::indent (void)
26  {
27    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
28    std::string _return = indent(depth());
29    log_printf(FUNC,Behavioural,FUNCTION,"End");
30
31    return _return;
32  };
33
34}; // end namespace behavioural         
35}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.