Rev | Line | |
---|
[2] | 1 | #ifdef STATISTICS |
---|
| 2 | /* |
---|
| 3 | * $Id$ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "Behavioural/@DIRECTORY/include/Statistics.h" |
---|
| 10 | |
---|
| 11 | #include <sstream> |
---|
| 12 | using namespace std; |
---|
| 13 | |
---|
| 14 | namespace morpheo { |
---|
| 15 | namespace behavioural { |
---|
| 16 | @NAMESPACE_BEGIN |
---|
| 17 | |
---|
| 18 | string Statistics::print_body (uint32_t depth) |
---|
| 19 | { |
---|
| 20 | log_printf(FUNC,@COMPONENT,"print_body","Begin"); |
---|
| 21 | |
---|
| 22 | string tab = string(depth,'\t'); |
---|
| 23 | ostringstream msg; |
---|
| 24 | |
---|
| 25 | msg << tab << ""; |
---|
| 26 | |
---|
| 27 | log_printf(FUNC,@COMPONENT,"print_body","End"); |
---|
| 28 | |
---|
| 29 | return msg.str(); |
---|
| 30 | }; |
---|
| 31 | |
---|
| 32 | @NAMESPACE_END |
---|
| 33 | }; // end namespace behavioural |
---|
| 34 | }; // end namespace morpheo |
---|
| 35 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.