Lines Matching refs:cfile
800 void TiXmlElement::Print( FILE* cfile, int depth ) const in Print() argument
803 assert( cfile ); in Print()
805 fprintf( cfile, " " ); in Print()
808 fprintf( cfile, "<%s", value.c_str() ); in Print()
813 fprintf( cfile, " " ); in Print()
814 attrib->Print( cfile, depth ); in Print()
824 fprintf( cfile, " />" ); in Print()
828 fprintf( cfile, ">" ); in Print()
829 firstChild->Print( cfile, depth + 1 ); in Print()
830 fprintf( cfile, "</%s>", value.c_str() ); in Print()
834 fprintf( cfile, ">" ); in Print()
840 fprintf( cfile, "\n" ); in Print()
842 node->Print( cfile, depth+1 ); in Print()
844 fprintf( cfile, "\n" ); in Print()
846 fprintf( cfile, " " ); in Print()
848 fprintf( cfile, "</%s>", value.c_str() ); in Print()
1145 void TiXmlDocument::Print( FILE* cfile, int depth ) const in Print() argument
1147 assert( cfile ); in Print()
1150 node->Print( cfile, depth ); in Print()
1151 fprintf( cfile, "\n" ); in Print()
1210 void TiXmlAttribute::Print( FILE* cfile, int /*depth*/, TIXML_STRING* str ) const in Print() argument
1218 if ( cfile ) { in Print()
1219 fprintf (cfile, "%s=\"%s\"", n.c_str(), v.c_str() ); in Print()
1226 if ( cfile ) { in Print()
1227 fprintf (cfile, "%s='%s'", n.c_str(), v.c_str() ); in Print()
1297 void TiXmlComment::Print( FILE* cfile, int depth ) const in Print() argument
1299 assert( cfile ); in Print()
1302 fprintf( cfile, " " ); in Print()
1304 fprintf( cfile, "<!--%s-->", value.c_str() ); in Print()
1332 void TiXmlText::Print( FILE* cfile, int depth ) const in Print() argument
1334 assert( cfile ); in Print()
1338 fprintf( cfile, "\n" ); in Print()
1340 fprintf( cfile, " " ); in Print()
1342 fprintf( cfile, "<![CDATA[%s]]>\n", value.c_str() ); // unformatted output in Print()
1348 fprintf( cfile, "%s", buffer.c_str() ); in Print()
1418 void TiXmlDeclaration::Print( FILE* cfile, int /*depth*/, TIXML_STRING* str ) const in Print() argument
1420 if ( cfile ) fprintf( cfile, "<?xml " ); in Print()
1424 if ( cfile ) fprintf (cfile, "version=\"%s\" ", version.c_str ()); in Print()
1428 if ( cfile ) fprintf (cfile, "encoding=\"%s\" ", encoding.c_str ()); in Print()
1432 if ( cfile ) fprintf (cfile, "standalone=\"%s\" ", standalone.c_str ()); in Print()
1435 if ( cfile ) fprintf( cfile, "?>" ); in Print()
1468 void TiXmlUnknown::Print( FILE* cfile, int depth ) const in Print() argument
1471 fprintf( cfile, " " ); in Print()
1472 fprintf( cfile, "<%s>", value.c_str() ); in Print()