MCPcopy Create free account
hub / github.com/OpenMW/openmw / SetError

Method SetError

extern/oics/tinyxml/tinyxmlparser.cpp:790–807  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 9

LinkEndChildMethod · 0.80
InsertEndChildMethod · 0.80
InsertBeforeChildMethod · 0.80
InsertAfterChildMethod · 0.80
SetAttributeMethod · 0.80
IdentifyMethod · 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