• Home
  • Raw
  • Download

Lines Matching refs:addThis

863 XMLNode* XMLNode::InsertEndChild( XMLNode* addThis )  in InsertEndChild()  argument
865 TIXMLASSERT( addThis ); in InsertEndChild()
866 if ( addThis->_document != _document ) { in InsertEndChild()
870 InsertChildPreamble( addThis ); in InsertEndChild()
875 _lastChild->_next = addThis; in InsertEndChild()
876 addThis->_prev = _lastChild; in InsertEndChild()
877 _lastChild = addThis; in InsertEndChild()
879 addThis->_next = 0; in InsertEndChild()
883 _firstChild = _lastChild = addThis; in InsertEndChild()
885 addThis->_prev = 0; in InsertEndChild()
886 addThis->_next = 0; in InsertEndChild()
888 addThis->_parent = this; in InsertEndChild()
889 return addThis; in InsertEndChild()
893 XMLNode* XMLNode::InsertFirstChild( XMLNode* addThis ) in InsertFirstChild() argument
895 TIXMLASSERT( addThis ); in InsertFirstChild()
896 if ( addThis->_document != _document ) { in InsertFirstChild()
900 InsertChildPreamble( addThis ); in InsertFirstChild()
906 _firstChild->_prev = addThis; in InsertFirstChild()
907 addThis->_next = _firstChild; in InsertFirstChild()
908 _firstChild = addThis; in InsertFirstChild()
910 addThis->_prev = 0; in InsertFirstChild()
914 _firstChild = _lastChild = addThis; in InsertFirstChild()
916 addThis->_prev = 0; in InsertFirstChild()
917 addThis->_next = 0; in InsertFirstChild()
919 addThis->_parent = this; in InsertFirstChild()
920 return addThis; in InsertFirstChild()
924 XMLNode* XMLNode::InsertAfterChild( XMLNode* afterThis, XMLNode* addThis ) in InsertAfterChild() argument
926 TIXMLASSERT( addThis ); in InsertAfterChild()
927 if ( addThis->_document != _document ) { in InsertAfterChild()
938 if ( afterThis == addThis ) { in InsertAfterChild()
943 return addThis; in InsertAfterChild()
948 return InsertEndChild( addThis ); in InsertAfterChild()
950 InsertChildPreamble( addThis ); in InsertAfterChild()
951 addThis->_prev = afterThis; in InsertAfterChild()
952 addThis->_next = afterThis->_next; in InsertAfterChild()
953 afterThis->_next->_prev = addThis; in InsertAfterChild()
954 afterThis->_next = addThis; in InsertAfterChild()
955 addThis->_parent = this; in InsertAfterChild()
956 return addThis; in InsertAfterChild()