#ifndef morpheo_behavioural_configuration_Parameter_affectation_h
#define morpheo_behavioural_configuration_Parameter_affectation_h

/*
 * $Id: Parameter_affectation.h 88 2008-12-10 18:31:39Z rosiere $
 *
 * [ Description ]
 * 
 */

#include "Behavioural/include/XML.h"
#include "Common/include/ErrorMorpheo.h"
#include "Common/include/ToString.h"
#include "Common/include/Debug.h"

#include <iostream>

namespace morpheo {
namespace behavioural {
namespace configuration {

  class Parameter_affectation 
  {
    // -----[ fields ]----------------------------------------------------
    // Constant
  public   : const std::string _name ;
  public   : const std::string _value;
  public   :       bool        _use  ;

    // -----[ methods ]---------------------------------------------------
  public   :                      Parameter_affectation (std::string name,
                                                         std::string value
                                                         );
  public   :                     ~Parameter_affectation ();
    
  public   : XML                  toXML                (void);
  private  : std::string          print                (uint32_t depth);
  public   : friend std::ostream& operator<<           (std::ostream& output,
                                                        morpheo::behavioural::configuration::Parameter_affectation & x);
  };

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

#endif
