- Timestamp:
- May 28, 2007, 10:38:18 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Interfaces_toXML.cpp
r29 r31 15 15 XML xml ("interfaces"); 16 16 17 // xml.balise_open ("interfaces"); 17 if (_list_interface->empty()== false) 18 { 19 list<Interface>::iterator i = _list_interface->begin(); 18 20 19 if (_list_interface.empty()== false) 20 { 21 list<Interface>::iterator i = _list_interface.begin(); 22 23 while (i != _list_interface.end()) 21 while (i != _list_interface->end()) 24 22 { 25 23 xml. insert_XML ((*i).toXML()); … … 27 25 } 28 26 } 29 30 // xml.balise_close ();31 27 32 28 return xml; 33 29 }; 34 30 31 #ifdef POSITION 32 XML Interfaces::toXML_mapping (void) 33 { 34 XML xml ("interfaces"); 35 36 if (_list_interface->empty()== false) 37 { 38 list<Interface>::iterator i = _list_interface->begin(); 39 40 while (i != _list_interface->end()) 41 { 42 xml. insert_XML ((*i).toXML_mapping()); 43 ++i; 44 } 45 } 46 47 return xml; 48 }; 49 #endif 35 50 }; // end namespace behavioural 36 51 }; // end namespace morpheo
Note: See TracChangeset
for help on using the changeset viewer.