SwNumberTree.hxx (1d2dbeb0) | SwNumberTree.hxx (24b62240) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 464 unchanged lines hidden (view full) --- 473 */ 474 bool mbPhantom; 475 476 /** 477 Iterator to the last valid element. All children that are less 478 than or equal to the referenced child are valid. All children 479 greater than the referenced child are invalid. 480 */ | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 464 unchanged lines hidden (view full) --- 473 */ 474 bool mbPhantom; 475 476 /** 477 Iterator to the last valid element. All children that are less 478 than or equal to the referenced child are valid. All children 479 greater than the referenced child are invalid. 480 */ |
481 mutable tSwNumberTreeChildren::iterator mItLastValid; | 481 mutable tSwNumberTreeChildren::const_iterator mItLastValid; |
482 483#ifdef DBG_UTIL 484 /** 485 Counter for the number of created instances. 486 */ 487 static unsigned long nInstances; 488 489 /** --- 52 unchanged lines hidden (view full) --- 542 Set the last valid child of this node. 543 544 @param aItLastValid iterator pointing to the new last valid child 545 @param bValidating - true always set the last valid node to 546 aItLastValid 547 - false only set if aItLastValid is preceeding 548 the current last valid node 549 */ | 482 483#ifdef DBG_UTIL 484 /** 485 Counter for the number of created instances. 486 */ 487 static unsigned long nInstances; 488 489 /** --- 52 unchanged lines hidden (view full) --- 542 Set the last valid child of this node. 543 544 @param aItLastValid iterator pointing to the new last valid child 545 @param bValidating - true always set the last valid node to 546 aItLastValid 547 - false only set if aItLastValid is preceeding 548 the current last valid node 549 */ |
550 void SetLastValid(tSwNumberTreeChildren::iterator aItLastValid, | 550 void SetLastValid(tSwNumberTreeChildren::const_iterator aItLastValid, |
551 bool bValidating = false) const; 552 553 /** 554 Set this node as last valid child of its parent. 555 556 @param bValidation see aboce 557 */ 558 void SetLastValid(bool bValidating) const; --- 147 unchanged lines hidden (view full) --- 706 /** 707 Removes recursively phantoms that have no children. 708 709 The resulting tree has no phantoms that either have no children or 710 whose descendancy consist entirely of phantoms. 711 */ 712 void ClearObsoletePhantoms(); 713 | 551 bool bValidating = false) const; 552 553 /** 554 Set this node as last valid child of its parent. 555 556 @param bValidation see aboce 557 */ 558 void SetLastValid(bool bValidating) const; --- 147 unchanged lines hidden (view full) --- 706 /** 707 Removes recursively phantoms that have no children. 708 709 The resulting tree has no phantoms that either have no children or 710 whose descendancy consist entirely of phantoms. 711 */ 712 void ClearObsoletePhantoms(); 713 |
714 tSwNumberTreeChildren::iterator GetIterator(const SwNumberTreeNode * pChild) const; | 714 tSwNumberTreeChildren::const_iterator GetIterator(const SwNumberTreeNode * pChild) const; |
715 716 /** 717 Moves all children to a given destination node. 718 719 @param pDest the destination node 720 */ 721 void MoveChildren(SwNumberTreeNode * pDest); 722 --- 41 unchanged lines hidden --- | 715 716 /** 717 Moves all children to a given destination node. 718 719 @param pDest the destination node 720 */ 721 void MoveChildren(SwNumberTreeNode * pDest); 722 --- 41 unchanged lines hidden --- |