Last change
on this file since 47 was
15,
checked in by rosiere, 17 years ago
|
Interface normalisé
Début du banc de registres multi niveaux
|
File size:
1006 bytes
|
Line | |
---|
1 | /* |
---|
2 | * $Id$ |
---|
3 | * |
---|
4 | * [ Description ] |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | #include "Behavioural/@DIRECTORY/include/Parameters.h" |
---|
9 | #include "Behavioural/include/XML.h" |
---|
10 | using namespace std; |
---|
11 | |
---|
12 | namespace morpheo { |
---|
13 | namespace behavioural { |
---|
14 | @NAMESPACE_BEGIN |
---|
15 | |
---|
16 | string Parameters::print (uint32_t depth) |
---|
17 | { |
---|
18 | log_printf(FUNC,@COMPONENT,"print","Begin"); |
---|
19 | |
---|
20 | XML xml ("@COMPONENT_LOWER"); |
---|
21 | |
---|
22 | xml.balise_open("@COMPONENT_LOWER"); |
---|
23 | // xml.singleton_begin("size_data"); xml.attribut("value",toString(_size_data)); xml.singleton_end(); |
---|
24 | // xml.singleton_begin("nb_port "); xml.attribut("value",toString(_nb_port )); xml.singleton_end(); |
---|
25 | xml.balise_close(); |
---|
26 | |
---|
27 | log_printf(FUNC,@COMPONENT,"print","End"); |
---|
28 | |
---|
29 | return xml.get_body(depth); |
---|
30 | }; |
---|
31 | |
---|
32 | ostream& operator<< (ostream& output_stream , |
---|
33 | morpheo::behavioural::@NAMESPACE_USE::Parameters & x) |
---|
34 | { |
---|
35 | output_stream << x.print(0); |
---|
36 | |
---|
37 | return output_stream; |
---|
38 | }; |
---|
39 | |
---|
40 | @NAMESPACE_END |
---|
41 | }; // end namespace behavioural |
---|
42 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.