/* * $Id: XML_get_body.cpp 88 2008-12-10 18:31:39Z rosiere $ * * [ Description ] * */ #include "Behavioural/include/XML.h" namespace morpheo { namespace behavioural { #undef FUNCTION #define FUNCTION "XML::get_body" std::string XML::get_body (void) { log_printf(FUNC,Behavioural,FUNCTION,"Begin"); log_printf(FUNC,Behavioural,FUNCTION,"End"); return _body; }; std::string XML::get_body (uint32_t depth) { log_printf(FUNC,Behavioural,FUNCTION,"Begin"); std::string body = _body; std::string tab = indent(depth); body.insert(0,tab); for (size_t pos=body.find('\n',0); (pos