- Timestamp:
- May 31, 2007, 11:22:29 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Interface_toXML.cpp
r31 r38 14 14 XML Interface::toXML (void) 15 15 { 16 log_printf(FUNC,Behavioural,"toXML","Begin"); 17 16 18 XML xml ("interface"); 17 19 … … 25 27 if (_list_signal->empty()== false) 26 28 { 27 list<Signal >::iterator i = _list_signal->begin();29 list<Signal*>::iterator i = _list_signal->begin(); 28 30 29 31 while (i != _list_signal->end()) 30 32 { 31 xml. insert_XML ((*i) .toXML());33 xml. insert_XML ((*i)->toXML()); 32 34 ++i; 33 35 } … … 35 37 36 38 xml.balise_close (); 37 39 40 log_printf(FUNC,Behavioural,"toXML","End"); 41 38 42 return xml; 39 43 }; … … 42 46 XML Interface::toXML_mapping (void) 43 47 { 48 log_printf(FUNC,Behavioural,"toXML_mapping","Begin"); 49 44 50 if (_is_map != true) 45 51 throw (ErrorMorpheo ("Interface \""+_name+"\" is never mapped")); … … 52 58 xml. attribut ("port" ,(static_cast<Interface *>(_interface_map))->_name); 53 59 xml.singleton_end (); 60 61 log_printf(FUNC,Behavioural,"toXML_mapping","End"); 54 62 55 63 return xml;
Note: See TracChangeset
for help on using the changeset viewer.