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

Method InsertEndChild

cpp/tinyxml/tinyxml.cpp:213–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211
212
213TiXmlNode* TiXmlNode::InsertEndChild( const TiXmlNode& addThis )
214{
215 if ( addThis.Type() == TiXmlNode::DOCUMENT )
216 {
217 if ( GetDocument() ) GetDocument()->SetError( TIXML_ERROR_DOCUMENT_TOP_ONLY, 0, 0, TIXML_ENCODING_UNKNOWN );
218 return 0;
219 }
220 TiXmlNode* node = addThis.Clone();
221 if ( !node )
222 return 0;
223
224 return LinkEndChild( node );
225}
226
227
228TiXmlNode* TiXmlNode::InsertBeforeChild( TiXmlNode* beforeThis, const TiXmlNode& addThis )

Callers

nothing calls this directly

Calls 3

TypeMethod · 0.80
SetErrorMethod · 0.80
CloneMethod · 0.45

Tested by

no test coverage detected