/* * $Id$ * * [ Description ] * */ #include "Behavioural/Generic/Victim/Victim_Pseudo_LRU/include/Parameters.h" #include "Behavioural/include/XML.h" #include namespace morpheo { namespace behavioural { namespace generic { namespace victim { namespace victim_pseudo_lru { std::string Parameters::print (uint32_t depth) { XML xml ("victim_pseudo_lru"); xml.balise_open("victim_pseudo_lru"); xml.singleton_begin("nb_entity "); xml.attribut("value",toString(_nb_entity )); xml.singleton_end(); xml.singleton_begin("nb_access "); xml.attribut("value",toString(_nb_access )); xml.singleton_end(); // xml.singleton_begin("nb_update "); xml.attribut("value",toString(_nb_update )); xml.singleton_end(); xml.singleton_begin("size_table "); xml.attribut("value",toString(_size_table )); xml.singleton_end(); xml.singleton_begin("table_global"); xml.attribut("value",toString(_table_global)); xml.singleton_end(); xml.balise_close(); return xml.get_body(depth); }; std::ostream& operator<< (std::ostream& output_stream , morpheo::behavioural::generic::victim::victim_pseudo_lru::Parameters & 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