/* * $Id: Interfaces_test_map.cpp 139 2010-07-30 14:47:27Z rosiere $ * * [ Description ] * */ #include "Behavioural/include/Interfaces.h" #include "Common/include/Tabulation.h" namespace morpheo { namespace behavioural { #undef FUNCTION #define FUNCTION "Interfaces::test_map" bool Interfaces::test_map (bool top_level, bool is_behavioural) { log_printf(FUNC,Behavioural,FUNCTION,"Begin"); // std::string tab = morpheo::tab(depth); bool _return = true; // log_printf(INFO,Interface,FUNCTION, "%s* Interfaces \"%s\"",tab.c_str(),_name.c_str()); for (std::list::iterator i = _list_interface->begin(); i != _list_interface->end(); ++i) _return &= (*i)->test_map(_name, top_level, is_behavioural); log_printf(FUNC,Behavioural,FUNCTION,"End"); return _return; }; // #undef FUNCTION // #define FUNCTION "Interfaces::test_equi" // bool Interfaces::test_equi (uint32_t depth) // { // log_printf(FUNC,Behavioural,FUNCTION,"Begin"); // std::string tab = tab(depth); // bool _return = true; // log_printf(INFO,Behavioural,FUNCTION, "%s* Interfaces \"%s\"",tab.c_str(),_name.c_str()); // for (std::list::iterator i = _list_interface->begin(); // i != _list_interface->end(); // ++i) // _return &= (*i)->test_equi(depth+1); // log_printf(FUNC,Behavioural,FUNCTION,"End"); // return _return; // }; }; // end namespace behavioural }; // end namespace morpheo