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

#include "Behavioural/Configuration/include/Generator.h"

namespace morpheo {
namespace behavioural {
namespace configuration {

#undef  FUNCTION
#define FUNCTION "Generator::toFile"
  void Generator::toFile (std::string dirname)
  {
    log_begin(Configuration,FUNCTION);

    (toXML()).generate_file(dirname);

    log_end(Configuration,FUNCTION);
  };

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