/*
 * $Id$
 *
 * [ Description ]
 * 
 */

#include "Behavioural/include/Signal.h"

namespace morpheo              {
namespace behavioural          {

  XML Signal::toXML (void)
  {
    XML xml ("signal");
    
    xml.singleton_begin ("signal");
    xml.attribut        ("name"     ,_name               );
    xml.attribut        ("direction",toString(_direction));
    xml.attribut        ("size"     ,toString(_size     ));
    xml.singleton_end   ();
     
    return xml;
  };

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