#include "../include/Data.h"

namespace environment {
namespace data {

  std::ostream& operator<< (std::ostream& output, const Data & x)
    {
      output << "<" << x.name << ">" << std::endl
	     << "  * nb_seg  : " << x.nb_seg  << std::endl 
	     << "  * max_seg : " << x.param->max_seg << std::endl;
      
      for (uint32_t it = 0; it < x.nb_seg; it ++)
	output << *x.segment[it] << std::endl;
      return output;
    };


};
};
