MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / SetError

Method SetError

Engine/lib/tinyxml/tinyxmlparser.cpp:775–792  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

773}
774
775void TiXmlDocument::SetError( int err, const char* pError, TiXmlParsingData* data, TiXmlEncoding encoding )
776{
777 // The first error in a chain is more accurate - don't set again!
778 if ( error )
779 return;
780
781 assert( err > 0 && err < TIXML_ERROR_STRING_COUNT );
782 error = true;
783 errorId = err;
784 errorDesc = errorString[ errorId ];
785
786 errorLocation.Clear();
787 if ( pError && data )
788 {
789 data->Stamp( pError, encoding );
790 errorLocation = data->Cursor();
791 }
792}
793
794
795TiXmlNode* TiXmlNode::Identify( const char* p, TiXmlEncoding encoding )

Callers 9

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

Calls 2

StampMethod · 0.80
ClearMethod · 0.45

Tested by

no test coverage detected