source: trunk/IPs/systemC/Environment/Data/src/Data_print.cpp @ 139

Last change on this file since 139 was 81, checked in by rosiere, 17 years ago
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
  • Property svn:keywords set to Id
File size: 440 bytes
Line 
1#include "../include/Data.h"
2
3namespace environment {
4namespace data {
5
6  std::ostream& operator<< (std::ostream& output, const Data & x)
7    {
8      output << "<" << x.name << ">" << std::endl
9             << "  * nb_seg  : " << x.nb_seg  << std::endl
10             << "  * max_seg : " << x.param->max_seg << std::endl;
11     
12      for (uint32_t it = 0; it < x.nb_seg; it ++)
13        output << *x.segment[it] << std::endl;
14      return output;
15    };
16
17
18};
19};
Note: See TracBrowser for help on using the repository browser.