MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / InsertEndChild

Method InsertEndChild

Dependencies/tinyxml2/src/tinyxml2.cpp:841–868  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

839
840
841XMLNode* XMLNode::InsertEndChild( XMLNode* addThis )
842{
843 TIXMLASSERT( addThis );
844 if ( addThis->_document != _document ) {
845 TIXMLASSERT( false );
846 return 0;
847 }
848 InsertChildPreamble( addThis );
849
850 if ( _lastChild ) {
851 TIXMLASSERT( _firstChild );
852 TIXMLASSERT( _lastChild->_next == 0 );
853 _lastChild->_next = addThis;
854 addThis->_prev = _lastChild;
855 _lastChild = addThis;
856
857 addThis->_next = 0;
858 }
859 else {
860 TIXMLASSERT( _firstChild == 0 );
861 _firstChild = _lastChild = addThis;
862
863 addThis->_prev = 0;
864 addThis->_next = 0;
865 }
866 addThis->_parent = this;
867 return addThis;
868}
869
870
871XMLNode* XMLNode::InsertFirstChild( XMLNode* addThis )

Callers 15

OnSerializeMethod · 0.80
OnSerializeMethod · 0.80
SerializeBooleanMethod · 0.80
SerializeStringMethod · 0.80
SerializeFloatMethod · 0.80
SerializeDoubleMethod · 0.80
SerializeIntMethod · 0.80
SerializeUint32Method · 0.80
SerializeInt64Method · 0.80
SerializeVec2Method · 0.80
SerializeVec3Method · 0.80
SerializeVec4Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected