source: trunk/IPs/systemC/Environment/Sim2OS/src/Sim2OS_print.cpp

Last change on this file 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: 468 bytes
Line 
1#include "../include/Sim2OS.h"
2
3namespace environment {
4namespace sim2os {
5
6  std::ostream& operator<< (std::ostream& output, Sim2OS &x)
7  {
8    output << "<" << x.name << ">" << std::endl;
9    output << " * num_service : " << x.num_service << std::endl;
10   
11    for (std::map<uint32_t,void *>::iterator it = x.arguments.begin();
12         it != x.arguments.end();
13         it ++)
14      output << "[" << it->first << "] : " << it->second << std::endl;
15    return output;
16  }
17
18};
19};
Note: See TracBrowser for help on using the repository browser.