#ifndef morpheo_behavioural_configuration_Parameter_affectation_h
#define morpheo_behavioural_configuration_Parameter_affectation_h

/*
 * $Id: Parameter_affectation.h 109 2009-02-16 20:28:31Z 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   :       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
