Ignore:
Timestamp:
06/08/10 15:43:19 (14 years ago)
Author:
hozdoba
Message:

Commit intermédiaire.
Ajout d'un systÚme d'indentation trÚs simplifié pour les flux de sortie.
Un problÚme corrigé - seg. fault en cas d'absence de field_definition dans un context donnée.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XMLIO_V2/dev/dev_rv/src/XMLIO/field.hpp

    r104 r105  
    1818         friend ostream& operator<< (ostream& out, const Field& c)  
    1919         { 
    20             out << "<" << c.getName(); 
     20            out << IncIndent << "<" << c.getName(); 
    2121            if(c.hasId()) out << " id=\"" <<  c.getId() << "\""; 
    2222            for(unsigned int i = 0; i < c.attrList.getVectorSize(); i++) out << *c.attrList.getVector()[i]; 
    23             out << "/>"; 
     23            out << "/>" << DecEndl; 
    2424                            
    2525            return (out); 
Note: See TracChangeset for help on using the changeset viewer.