#ifndef morpheo_behavioural_configuration_Link_affectation_h
#define morpheo_behavioural_configuration_Link_affectation_h

/*
 * $Id: Link_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 Link_affectation 
  {
    // -----[ fields ]----------------------------------------------------
    // Constant
  public   : const std::string _name;
  public   : const std::string _src ;
  public   : const std::string _dest;
  public   :       bool        _use ;

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

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

#endif
