|
Returns a descendant iterator pointing just past the last pre-order descendant markup object in the document.
markup::descendant_iterator document::descendant_end();1st Variety
markup::const_descendant_iterator document::descendant_end() const;2nd Variety
Returns a descendant_iterator
, (or const_descendant_iterator
in the 2nd variety), which points just past the last
descendant markup object in the document. By nature of pre-order traversals, this the last pre-order descendant node would be the right most
descendant node at the deepest level.
This operation is normally used to mark the end of a descendant iteration. For this to work properly, the descendant iterator should be compared to
descendant_end()
. When this condition is true, the descendant iterator has already reached the end. This is consistant with the
iterators of the STL.
Constant