MCPcopy Create free account
hub / github.com/ashkulz/NppFTP / SetError

Method SetError

tinyxml/src/tinyxmlparser.cpp:798–815  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

796}
797
798void TiXmlDocument::SetError( int err, const char* pError, TiXmlParsingData* data, TiXmlEncoding encoding )
799{
800 // The first error in a chain is more accurate - don't set again!
801 if ( error )
802 return;
803
804 assert( err > 0 && err < TIXML_ERROR_STRING_COUNT );
805 error = true;
806 errorId = err;
807 errorDesc = errorString[ errorId ];
808
809 errorLocation.Clear();
810 if ( pError && data )
811 {
812 data->Stamp( pError, encoding );
813 errorLocation = data->Cursor();
814 }
815}
816
817
818TiXmlNode* TiXmlNode::Identify( const char* p, TiXmlEncoding encoding )

Callers 8

LinkEndChildMethod · 0.80
InsertEndChildMethod · 0.80
InsertBeforeChildMethod · 0.80
InsertAfterChildMethod · 0.80
ReplaceChildMethod · 0.80
StreamInMethod · 0.80
ParseMethod · 0.80
ReadValueMethod · 0.80

Calls 2

StampMethod · 0.80
ClearMethod · 0.45

Tested by

no test coverage detected