Last change
on this file since 102 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:
1.0 KB
|
Line | |
---|
1 | /* |
---|
2 | * $Id: Interface_print.cpp 81 2008-04-15 18:40:01Z rosiere $ |
---|
3 | * |
---|
4 | * [ Description ] |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | #include "Behavioural/include/Interface.h" |
---|
9 | |
---|
10 | |
---|
11 | namespace morpheo { |
---|
12 | namespace behavioural { |
---|
13 | |
---|
14 | std::ostream& operator<< (std::ostream& output_stream, |
---|
15 | morpheo::behavioural::Interface & x) |
---|
16 | { |
---|
17 | log_printf(FUNC,Behavioural,"operator<<","Begin"); |
---|
18 | #ifdef POSITION |
---|
19 | output_stream << x._name + "\t"+toString(x._localisation)+"\t"+toString(x._direction) << std::endl; |
---|
20 | output_stream << x.get_comment() << std::endl; |
---|
21 | #else |
---|
22 | output_stream << x._name << std::endl; |
---|
23 | #endif |
---|
24 | output_stream << x.get_signal () << std::endl; |
---|
25 | |
---|
26 | // #ifdef VHDL_TESTBENCH |
---|
27 | // if (x._list_cycle->empty()== false) |
---|
28 | // { |
---|
29 | // list<string>::iterator i = x._list_cycle->begin(); |
---|
30 | |
---|
31 | // while (i != x._list_cycle->end()) |
---|
32 | // { |
---|
33 | // output_stream << "\n\t" << *i ; |
---|
34 | // ++i; |
---|
35 | // } |
---|
36 | // } |
---|
37 | // #endif |
---|
38 | |
---|
39 | log_printf(FUNC,Behavioural,"operator<<","End"); |
---|
40 | return output_stream; |
---|
41 | }; |
---|
42 | |
---|
43 | }; // end namespace behavioural |
---|
44 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.