source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/src/Parameters_print.cpp @ 88

Last change on this file since 88 was 88, checked in by rosiere, 16 years ago

Almost complete design
with Test and test platform

  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1/*
2 * $Id: Parameters_print.cpp 88 2008-12-10 18:31:39Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/Core/Multi_Front_end/Front_end/include/Parameters.h"
9#include "Behavioural/include/XML.h"
10
11namespace morpheo                    {
12namespace behavioural {
13namespace core {
14namespace multi_front_end {
15namespace front_end {
16
17
18#undef  FUNCTION
19#define FUNCTION "Front_end::print"
20  std::string Parameters::print (uint32_t depth)
21  {
22    log_begin(Front_end,FUNCTION);
23
24//     XML xml ("front_end");
25
26//     xml.balise_open("front_end");
27// //  xml.singleton_begin(""); xml.attribut("value",toString(_)); xml.singleton_end();
28//     xml.balise_close();
29
30//     return xml.get_body(depth);
31
32    std::string str = "";
33
34    log_end(Front_end,FUNCTION);
35
36    return str;
37  };
38
39#undef  FUNCTION
40#define FUNCTION "Front_end::operator<<"
41  std::ostream& operator<< (std::ostream& output_stream ,
42                            morpheo::behavioural::core::multi_front_end::front_end::Parameters & x)
43  {
44    log_begin(Front_end,FUNCTION);
45
46    output_stream << x.print(0);
47   
48    log_end(Front_end,FUNCTION);
49
50    return output_stream;
51  };
52
53}; // end namespace front_end
54}; // end namespace multi_front_end
55}; // end namespace core
56
57}; // end namespace behavioural
58}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.