#include <ngiter.h>
Inheritance diagram for NotSelectSource:
Protected Member Functions | |
virtual Node * | GetFirst () |
Identical to Node::DocFindFirstDepthFirst but skips over hidden nodes. NB. the first node in the document tree is guaranteed to never be hidden. | |
virtual Node * | GetNext (Node *) |
Identical to Node::DocFindNextDepthFirst but skips over hidden nodes. To be precise, it doesn't follow child links for NodeHiddens. |
Definition at line 257 of file ngiter.h.
|
Identical to Node::DocFindFirstDepthFirst but skips over hidden nodes. NB. the first node in the document tree is guaranteed to never be hidden.
Reimplemented from SelectDocSource. Definition at line 436 of file ngiter.cpp. 00437 { 00438 Node* pNode = SelectDocSource::GetFirst(); 00439 if (pNode != 0 && pNode->IsSelected()) pNode = GetNext(pNode); 00440 return pNode; 00441 }
|
|
Identical to Node::DocFindNextDepthFirst but skips over hidden nodes. To be precise, it doesn't follow child links for NodeHiddens.
Reimplemented from DocTreeSource. Definition at line 457 of file ngiter.cpp. 00458 { 00459 do { 00460 if (pNode->FindNext() == 0) 00461 pNode = pNode->FindParent(); 00462 else 00463 { 00464 pNode = pNode->FindNext(); 00465 while (!pNode->IsNodeHidden() && pNode->FindFirstChild() != 0) 00466 pNode = pNode->FindFirstChild(); 00467 } 00468 } while (pNode != 0 && (!pNode->IsSetCandidate() || pNode->IsSelected())); 00469 00470 return pNode; 00471 }
|