source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Component_print.cpp @ 146

Last change on this file since 146 was 82, checked in by rosiere, 16 years ago
  • support locale (now must "just" translate)
  • update all component with new test format
  • update all component with usage
  • New component : decod queue and prediction_unit
  • Property svn:keywords set to Id
File size: 650 bytes
RevLine 
[31]1/*
2 * $Id: Component_print.cpp 82 2008-05-01 16:48:45Z rosiere $
3 *
[82]4 * [ Description ]
[31]5 *
6 */
7
[42]8#include "Behavioural/include/Component.h"
[31]9
10
11namespace morpheo              {
12namespace behavioural          {
13
[43]14#undef  FUNCTION
15#define FUNCTION "Component::operator<<"
[75]16  std::ostream& operator<< (std::ostream& output_stream,
17                            morpheo::behavioural::Component & x)
[31]18  {
[43]19    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
20
[75]21    output_stream << x.get_entity    () << std::endl;
22    output_stream << x.get_component () << std::endl;
[43]23
24    log_printf(FUNC,Behavioural,FUNCTION,"End");
25   
[31]26    return output_stream;
27  };
28 
29}; // end namespace behavioural         
30}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.