/*
 * $Id: Parameters_print.cpp 112 2009-03-18 22:36:26Z rosiere $
 *
 * [ Description ]
 * 
 */

#include "Behavioural/Generic/Multiplier/include/Parameters.h"
#include "Behavioural/include/XML.h"

namespace morpheo                    {
namespace behavioural {
namespace generic {
namespace multiplier {


#undef  FUNCTION
#define FUNCTION "Multiplier::print"
  std::string Parameters::print (uint32_t depth)
  {
    log_begin(Multiplier,FUNCTION);

    XML xml ("multiplier");

    xml.balise_open("multiplier");
//  xml.singleton_begin(""); xml.attribut("value",toString(_)); xml.singleton_end();
    xml.balise_close();

    log_end(Multiplier,FUNCTION);
    
    return xml.get_body(depth);
  };

#undef  FUNCTION
#define FUNCTION "Multiplier::operator<<"
  std::ostream& operator<< (std::ostream& output_stream ,
			    morpheo::behavioural::generic::multiplier::Parameters & x)
  {
    log_begin(Multiplier,FUNCTION);

    output_stream << x.print(0);
    
    log_end(Multiplier,FUNCTION);

    return output_stream;
  };

}; // end namespace multiplier
}; // end namespace generic

}; // end namespace behavioural
}; // end namespace morpheo              
