Ignore:
Timestamp:
May 28, 2007, 10:38:18 PM (17 years ago)
Author:
rosiere
Message:

Class Position qui encapsule la génération des fichiers de positions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Interfaces_toXML.cpp

    r29 r31  
    1515    XML xml ("interfaces");
    1616   
    17 //     xml.balise_open ("interfaces");
     17    if (_list_interface->empty()== false)
     18      {
     19        list<Interface>::iterator i     = _list_interface->begin();
    1820
    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())
    2422          {
    2523            xml.  insert_XML ((*i).toXML());
     
    2725          }
    2826      }
    29 
    30 //     xml.balise_close      ();
    3127     
    3228    return xml;
    3329  };
    3430
     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
    3550}; // end namespace behavioural         
    3651}; // end namespace morpheo             
Note: See TracChangeset for help on using the changeset viewer.