Logo Search packages:      
Sourcecode: lame version File versions  Download package

void TiXmlUnknown::Print ( FILE *  cfile,
int  depth 
) const [virtual]

All TinyXml classes can print themselves to a filestream. This is a formatted print, and will insert tabs and newlines.

(For an unformatted stream, use the << operator.)

Implements TiXmlBase.

Definition at line 922 of file tinyxml.cpp.

      ostringstream stream( ostringstream::out );
      stream.str().reserve( 200 );
      StreamOut( &stream );

      for ( int i=0; i<depth; i++ )
            fprintf( cfile, "    " );
      fprintf( cfile, "%s", stream.str().c_str() );

Generated by  Doxygen 1.6.0   Back to index