#ifndef ENVIRONNEMENT_CACHE_CACHE_ONELEVEL_WRITE_BUFFER_H
#define ENVIRONNEMENT_CACHE_CACHE_ONELEVEL_WRITE_BUFFER_H

#include <iostream>
#include "Cache_OneLevel_Address.h"

namespace environnement {
namespace cache {
namespace cache_onelevel {

  class Write_Buffer
  {
    public    : Address  address;
    public    : uint32_t trdid;

    public    : Write_Buffer ()
      {
      }

    public    : Write_Buffer (Address address, uint32_t trdid)
      {
	this->address = address;
	this->trdid   = trdid;
      }
    friend std::ostream& operator<< (std::ostream& output, const Write_Buffer &x)
    {
      output << x.address << " "
	     << x.trdid;
      
      return output;
    }
  };

};
};
};
#endif
