#ifdef STATISTICS /* * $Id$ * * [ Description ] * */ #include "Behavioural/@DIRECTORY/include/Statistics.h" #include using namespace std; namespace morpheo { namespace behavioural { @NAMESPACE_BEGIN string Statistics::print (uint32_t depth) { log_printf(FUNC,@COMPONENT,"print","Begin"); string tab = string(depth,'\t'); ostringstream msg; msg << tab << "<@COMPONENT_LOWER name=\"" << _name << "\" >" << endl << print_body(depth+1) << endl << tab << "" << endl; log_printf(FUNC,@COMPONENT,"print","End"); return msg.str(); }; ostream& operator<< (ostream& output_stream , morpheo::behavioural::@NAMESPACE_USE::Statistics & x) { output_stream << x.print(0); return output_stream; }; @NAMESPACE_END }; // end namespace behavioural }; // end namespace morpheo #endif