- Timestamp:
- Jan 31, 2008, 6:46:41 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Interface_get_signal.cpp
r43 r75 12 12 namespace behavioural { 13 13 14 st ring Interface::get_signal (void)14 std::string Interface::get_signal (void) 15 15 { 16 16 log_printf(FUNC,Behavioural,"get_signal","Begin"); 17 17 18 18 uint32_t depth = 0; 19 st ring separator = ",\n";19 std::string separator = ",\n"; 20 20 bool last_separator = false; 21 21 22 22 23 list<Signal*>::iterator i = _list_signal->begin();24 bool empty = _list_signal->empty();23 std::list<Signal*>::iterator i = _list_signal->begin(); 24 bool empty = _list_signal->empty(); 25 25 26 st ring tab =string(depth,'\t');27 ostringstream text;26 std::string tab = std::string(depth,'\t'); 27 std::ostringstream text; 28 28 29 29 if (not empty) … … 56 56 #undef FUNCTION 57 57 #define FUNCTION "Interface::get_signal" 58 void Interface::get_signal ( list<string> * & list_signal)58 void Interface::get_signal (std::list<std::string> * & list_signal) 59 59 { 60 60 log_printf(FUNC,Behavioural,FUNCTION,"Begin"); … … 62 62 if (not _list_signal->empty()) 63 63 { 64 list<Signal*>::iterator i = _list_signal->begin();64 std::list<Signal*>::iterator i = _list_signal->begin(); 65 65 66 66 while (i != _list_signal->end()) … … 78 78 #undef FUNCTION 79 79 #define FUNCTION "Interface::get_signal_list" 80 list<Signal *> * Interface::get_signal_list (void)80 std::list<Signal *> * Interface::get_signal_list (void) 81 81 { 82 82 log_printf(FUNC,Behavioural,FUNCTION,"Begin"); 83 list<Signal *> * _return = _list_signal;83 std::list<Signal *> * _return = _list_signal; 84 84 log_printf(FUNC,Behavioural,FUNCTION,"End"); 85 85
Note: See TracChangeset
for help on using the changeset viewer.