/*
 * $Id$
 *
 * [ Description ]
 * 
 */

#include "Behavioural/include/XML.h"

namespace morpheo              {
namespace behavioural          {

#undef  FUNCTION
#define FUNCTION "XML::indent"
  string XML::indent (uint32_t depth)
  {
    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
    string _return = string(depth,'\t');
    log_printf(FUNC,Behavioural,FUNCTION,"End");

    return _return;
  };

  string XML::indent (void)
  {
    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
    string _return = indent(depth());
    log_printf(FUNC,Behavioural,FUNCTION,"End");

    return _return;
  };

}; // end namespace behavioural          
}; // end namespace morpheo              
