#include "../include/Segment.h"

namespace environment {
namespace data {
  
  std::ostream& operator<< (std::ostream& output, Segment & x)
  {
    output << "Segment \"" << x.name << "\""     << std::endl
	   << std::hex
	   << "  * base     : " << std::setw(8) << std::setfill('0') << x.base << std::endl
	   << "  * size     : " << std::setw(8) << std::setfill('0') << x.size << std::endl
	   << std::dec
	   << "  * uncached : " << x.uncached    << std::endl
	   << "  * type     : " << x.type;
	
    return output;
  };
  
};
};
