Last change
on this file since 61 was
43,
checked in by rosiere, 17 years ago
|
Modif mineur : ajout d'info de débug
Release non stable
|
File size:
776 bytes
|
Rev | Line | |
---|
[31] | 1 | /* |
---|
| 2 | * $Id$ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/include/Entity.h" |
---|
| 9 | |
---|
| 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | |
---|
[43] | 14 | #undef FUNCTION |
---|
| 15 | #define FUNCTION "Entity::operator<<" |
---|
[31] | 16 | ostream& operator<< (ostream& output_stream, |
---|
| 17 | morpheo::behavioural::Entity & x) |
---|
| 18 | { |
---|
[43] | 19 | log_printf(FUNC,Behavioural,FUNCTION,"Begin"); |
---|
| 20 | |
---|
[42] | 21 | #ifdef POSITION |
---|
[31] | 22 | output_stream << x._name + "\t"+x._type+"\t"+toString(x._schema) << endl; |
---|
| 23 | output_stream << x.get_comment() << endl; |
---|
[42] | 24 | #else |
---|
| 25 | output_stream << x._name + "\t"+x._type<< endl; |
---|
| 26 | #endif |
---|
[31] | 27 | output_stream << x.get_interfaces() << endl; |
---|
[43] | 28 | |
---|
| 29 | log_printf(FUNC,Behavioural,FUNCTION,"End"); |
---|
[31] | 30 | return output_stream; |
---|
| 31 | }; |
---|
| 32 | |
---|
| 33 | }; // end namespace behavioural |
---|
| 34 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.