Lines Matching refs:cfile
766 void TiXmlElement::Print( FILE* cfile, int depth ) const
771 fprintf( cfile, " " );
774 fprintf( cfile, "<%s", value.c_str() );
779 fprintf( cfile, " " );
780 attrib->Print( cfile, depth );
790 fprintf( cfile, " />" );
794 fprintf( cfile, ">" );
795 firstChild->Print( cfile, depth + 1 );
796 fprintf( cfile, "</%s>", value.c_str() );
800 fprintf( cfile, ">" );
806 fprintf( cfile, "\n" );
808 node->Print( cfile, depth+1 );
810 fprintf( cfile, "\n" );
812 fprintf( cfile, " " );
813 fprintf( cfile, "</%s>", value.c_str() );
1136 void TiXmlDocument::Print( FILE* cfile, int depth ) const
1141 node->Print( cfile, depth );
1142 fprintf( cfile, "\n" );
1198 void TiXmlAttribute::Print( FILE* cfile, int /*depth*/ ) const
1206 fprintf (cfile, "%s=\"%s\"", n.c_str(), v.c_str() );
1208 fprintf (cfile, "%s='%s'", n.c_str(), v.c_str() );
1290 void TiXmlComment::Print( FILE* cfile, int depth ) const
1294 fputs( " ", cfile );
1296 fprintf( cfile, "<!--%s-->", value.c_str() );
1326 void TiXmlText::Print( FILE* cfile, int depth ) const
1331 fprintf( cfile, "\n" );
1333 fprintf( cfile, " " );
1335 fprintf( cfile, "<![CDATA[\n" );
1337 fprintf( cfile, "%s", value.c_str() ); // unformatted output
1339 fprintf( cfile, "\n" );
1341 fprintf( cfile, " " );
1343 fprintf( cfile, "]]>\n" );
1349 fprintf( cfile, "%s", buffer.c_str() );
1425 void TiXmlDeclaration::Print( FILE* cfile, int /*depth*/ ) const
1427 fprintf (cfile, "<?xml ");
1430 fprintf (cfile, "version=\"%s\" ", version.c_str ());
1432 fprintf (cfile, "encoding=\"%s\" ", encoding.c_str ());
1434 fprintf (cfile, "standalone=\"%s\" ", standalone.c_str ());
1435 fprintf (cfile, "?>");
1486 void TiXmlUnknown::Print( FILE* cfile, int depth ) const
1489 fprintf( cfile, " " );
1490 fprintf( cfile, "<%s>", value.c_str() );