#ifdef VHDL /* * $Id: Vhdl_get_library_work.cpp 94 2008-12-15 11:04:03Z rosiere $ * * [ Description ] * */ #include "Behavioural/include/Vhdl.h" #include "Common/include/Tabulation.h" #include namespace morpheo { namespace behavioural { #undef FUNCTION #define FUNCTION "Vhdl::get_library_work" std::string Vhdl::get_library_work (uint32_t depth) { log_printf(FUNC,Behavioural,FUNCTION,"Begin"); std::list::iterator i = _list_library_work.begin(); std::string tab = morpheo::tab(depth); std::ostringstream text; if (i != _list_library_work.end()) text << tab << std::endl << tab << "library work;" << std::endl << get_list(_list_library_work,depth,";",true); log_printf(FUNC,Behavioural,FUNCTION,"End"); return text.str(); }; }; // end namespace behavioural }; // end namespace morpheo #endif