Last change
on this file since 114 was
81,
checked in by rosiere, 16 years ago
|
- Finish Environment (and test)
- Continue predictor_unit
- Add external tools
- svn keyword "Id" set
|
-
Property svn:keywords set to
Id
|
File size:
804 bytes
|
Line | |
---|
1 | /* |
---|
2 | * $Id: Entity_print.cpp 81 2008-04-15 18:40:01Z rosiere $ |
---|
3 | * |
---|
4 | * [ Description ] |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | #include "Behavioural/include/Entity.h" |
---|
9 | |
---|
10 | |
---|
11 | namespace morpheo { |
---|
12 | namespace behavioural { |
---|
13 | |
---|
14 | #undef FUNCTION |
---|
15 | #define FUNCTION "Entity::operator<<" |
---|
16 | std::ostream& operator<< (std::ostream& output_stream, |
---|
17 | morpheo::behavioural::Entity & x) |
---|
18 | { |
---|
19 | log_printf(FUNC,Behavioural,FUNCTION,"Begin"); |
---|
20 | |
---|
21 | #ifdef POSITION |
---|
22 | output_stream << x._name + "\t"+x._type+"\t"+toString(x._schema) << std::endl; |
---|
23 | output_stream << x.get_comment() << std::endl; |
---|
24 | #else |
---|
25 | output_stream << x._name + "\t"+x._type<< std::endl; |
---|
26 | #endif |
---|
27 | output_stream << x.get_interfaces() << std::endl; |
---|
28 | |
---|
29 | log_printf(FUNC,Behavioural,FUNCTION,"End"); |
---|
30 | return output_stream; |
---|
31 | }; |
---|
32 | |
---|
33 | }; // end namespace behavioural |
---|
34 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.