source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Select/Select_Priority_Fixed/src/Parameters_print.cpp @ 75

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

Update all component (except front_end) to :

  • new statistics model
  • no namespace std
File size: 1.3 KB
Line 
1/*
2 * $Id$
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/Generic/Select/Select_Priority_Fixed/include/Parameters.h"
9#include "Behavioural/include/XML.h"
10
11namespace morpheo                    {
12namespace behavioural {
13namespace generic {
14namespace select {
15namespace select_priority_fixed {
16
17  std::string Parameters::print (uint32_t depth)
18  {
19    log_printf(FUNC,Select_Priority_Fixed,"print","Begin");
20
21    XML xml ("select_priority_fixed");
22
23    xml.balise_open("select_priority_fixed");
24    xml.singleton_begin("nb_entity       "); xml.attribut("value",toString(_nb_entity       )); xml.singleton_end();
25    xml.singleton_begin("encoding_one_hot"); xml.attribut("value",toString(_encoding_one_hot)); xml.singleton_end();
26    xml.singleton_begin("encoding_compact"); xml.attribut("value",toString(_encoding_compact)); xml.singleton_end();
27    xml.balise_close();
28
29    log_printf(FUNC,Select_Priority_Fixed,"print","End");
30   
31    return xml.get_body(depth);
32  };
33
34  std::ostream& operator<< (std::ostream& output_stream ,
35                            morpheo::behavioural::generic::select::select_priority_fixed::Parameters & x)
36  {
37    output_stream << x.print(0);
38   
39    return output_stream;
40  };
41
42}; // end namespace select_priority_fixed
43}; // end namespace select
44}; // end namespace generic
45
46}; // end namespace behavioural
47}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.