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, 16 years ago

Update document on Vhdl generation.

  • Property svn:keywords set to Id
File size: 737 bytes
RevLine 
[2]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"
[94]9#include "Common/include/Tabulation.h"
[2]10
11namespace morpheo              {
12namespace behavioural          {
13
[43]14#undef  FUNCTION
15#define FUNCTION "XML::indent"
[71]16  std::string XML::indent (uint32_t depth)
[2]17  {
[43]18    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
[94]19    std::string _return = tab(depth);
[43]20    log_printf(FUNC,Behavioural,FUNCTION,"End");
21
22    return _return;
[2]23  };
24
[71]25  std::string XML::indent (void)
[2]26  {
[43]27    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
[71]28    std::string _return = indent(depth());
[43]29    log_printf(FUNC,Behavioural,FUNCTION,"End");
30
31    return _return;
[2]32  };
33
34}; // end namespace behavioural         
35}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.