#ifdef STATISTICS
/*
 * $Id$
 *
 * [ Description ]
 * 
 */

#include "Behavioural/Generic/Victim/Victim_Pseudo_LRU/include/Statistics.h"

#include <sstream>
using namespace std;

namespace morpheo                    {
namespace behavioural {
namespace generic {
namespace victim {
namespace victim_pseudo_lru {


  string Statistics::print (uint32_t depth)
  {
    string        tab = string(depth,'\t');
    ostringstream msg;

    msg << tab << "<victim_pseudo_lru name=\"" << _name << "\" >" << endl
	<< print_body (depth+1)
	<< tab << "</victim_pseudo_lru>" << endl;
    
    return msg.str();
  };

  ostream& operator<< (ostream& output_stream ,
		       morpheo::behavioural::generic::victim::victim_pseudo_lru::Statistics & x)
  {
    output_stream << x.print(0);

    return output_stream;
  };

}; // end namespace victim_pseudo_lru
}; // end namespace victim
}; // end namespace generic

}; // end namespace behavioural
}; // end namespace morpheo              
#endif
