#ifdef VHDL /* * $Id: Vhdl_set_body.cpp 88 2008-12-10 18:31:39Z rosiere $ * * [ Description ] * */ #include "Behavioural/include/Vhdl.h" #include namespace morpheo { namespace behavioural { #undef FUNCTION #define FUNCTION "Vhdl::set_body" void Vhdl::set_body (std::string text) { log_printf(FUNC,Behavioural,FUNCTION,"Begin"); set_list(_list_body, text); log_printf(FUNC,Behavioural,FUNCTION,"End"); }; #undef FUNCTION #define FUNCTION "Vhdl::set_body" void Vhdl::set_body (Vhdl * vhdl) { log_printf(FUNC,Behavioural,FUNCTION,"Begin"); for (std::list::iterator it=vhdl->_list_body.begin(); it!=vhdl->_list_body.end(); ++it) set_list(_list_body, *it); log_printf(FUNC,Behavioural,FUNCTION,"End"); }; }; // end namespace behavioural }; // end namespace morpheo #endif