MCPcopy Create free account
hub / github.com/OpenZWave/open-zwave / SetError

Method SetError

cpp/tinyxml/tinyxmlparser.cpp:799–816  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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