MCPcopy Create free account
hub / github.com/bruderstein/nppPluginManager / SetError

Method SetError

TinyXml/src/tinyxmlparser.cpp:481–499  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

479}
480
481void TiXmlDocument::SetError( int err, const TCHAR* pError, TiXmlParsingData* data )
482{
483 // The first error in a chain is more accurate - don't set again!
484 if ( error )
485 return;
486
487 assert( err > 0 && err < TIXML_ERROR_STRING_COUNT );
488 error = true;
489 errorId = err;
490 errorDesc = errorString[ errorId ];
491
492 errorLocation.Clear();
493 if ( pError && data )
494 {
495 //TiXmlParsingData data( pError, prevData );
496 data->Stamp( pError );
497 errorLocation = data->Cursor();
498 }
499}
500
501
502TiXmlNode* TiXmlNode::Identify( const TCHAR* p )

Callers 4

SetAttributeMethod · 0.80
IdentifyMethod · 0.80
ParseMethod · 0.80
ReadValueMethod · 0.80

Calls 2

StampMethod · 0.80
ClearMethod · 0.45

Tested by

no test coverage detected