MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / LoadFile

Method LoadFile

sourcecommon/tinyxml2.cpp:1718–1729  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1716}
1717
1718XMLError XMLDocument::LoadFile( const char* filename )
1719{
1720 Clear();
1721 FILE* fp = callfopen( filename, "rb" );
1722 if ( !fp ) {
1723 SetError( XML_ERROR_FILE_NOT_FOUND, filename, 0 );
1724 return _errorID;
1725 }
1726 LoadFile( fp );
1727 fclose( fp );
1728 return _errorID;
1729}
1730
1731
1732XMLError XMLDocument::LoadFile( FILE* fp )

Callers 4

LoadMethod · 0.80
LoadMethod · 0.80
LoadMethod · 0.80
LoadMethod · 0.80

Calls 1

callfopenFunction · 0.85

Tested by

no test coverage detected