Ignore:
Timestamp:
05/24/13 12:38:54 (12 years ago)
Author:
Eric.Larour
Message:

CHG: greatly simplified the shared/io/Print routines. Replaced
_printf_ by _pprintString_ , then replaced all _printLine_ by _printString_
and _pprintLine_ by _pprintString_
We will then replace the _printString_ by _printf_ and _pprintString_ by _printf0_

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/kml/KML_LineString.cpp

    r15069 r15099  
    4646        bool  flag=true;
    4747
    48         if(flag) _pprintLine_("KML_LineString:");
     48        if(flag) _pprintString_("KML_LineString:" << "\n");
    4949        KML_Geometry::Echo();
    5050
    51         if(flag) _pprintLine_("       extrude: " << (extrude ? "true" : "false"));
    52         if(flag) _pprintLine_("    tessellate: " << (tessellate ? "true" : "false"));
    53         if(flag) _pprintLine_("       altmode: \"" << altmode << "\"");
    54         if(flag) _pprintLine_("        coords: (ncoord=" << ncoord << ")");
     51        if(flag) _pprintString_("       extrude: " << (extrude ? "true" : "false") << "\n");
     52        if(flag) _pprintString_("    tessellate: " << (tessellate ? "true" : "false") << "\n");
     53        if(flag) _pprintString_("       altmode: \"" << altmode << "\"" << "\n");
     54        if(flag) _pprintString_("        coords: (ncoord=" << ncoord << ")" << "\n");
    5555
    5656        return;
     
    7373        bool  flag=true;
    7474
    75         if(flag) _pprintLine_(indent << "KML_LineString:");
     75        if(flag) _pprintString_(indent << "KML_LineString:" << "\n");
    7676        KML_Geometry::DeepEcho(indent);
    7777
    78         if(flag) _pprintLine_(indent << "       extrude: " << (extrude ? "true" : "false"));
    79         if(flag) _pprintLine_(indent << "    tessellate: " << (tessellate ? "true" : "false"));
    80         if(flag) _pprintLine_(indent << "       altmode: \"" << altmode << "\"");
    81         if(flag) _pprintLine_(indent << "        coords: (ncoord=" << ncoord << ")");
     78        if(flag) _pprintString_(indent << "       extrude: " << (extrude ? "true" : "false") << "\n");
     79        if(flag) _pprintString_(indent << "    tessellate: " << (tessellate ? "true" : "false") << "\n");
     80        if(flag) _pprintString_(indent << "       altmode: \"" << altmode << "\"" << "\n");
     81        if(flag) _pprintString_(indent << "        coords: (ncoord=" << ncoord << ")" << "\n");
    8282        for (i=0; i<ncoord; i++)
    83                 if(flag) _pprintLine_(indent << "                (" << coords[3*i+0] << "," << coords[3*i+1] << "," << coords[3*i+2] << ")");
     83                if(flag) _pprintString_(indent << "                (" << coords[3*i+0] << "," << coords[3*i+1] << "," << coords[3*i+2] << ")" << "\n");
    8484
    8585        return;
Note: See TracChangeset for help on using the changeset viewer.