Xport Interface: descendant_iterator overview

The descendant markup iterator is a descendant iterator which traverses the descendants of the called element in a pre-order traversal. The descendant iterator has many more uses than just traversing. When used with the std algorithms, for example, the descendant iterator can be used to find a particular element in the document tree by element id, class, or other criteria. Descendant markup iterators can also be used to add content (child elements) to the element in which they point to.

Descendant markup iterator offers the common operations available to STL iterator classes, so if you're familiar with STL iterators, using markup iterators will come naturally. Examples are given for all the operations listed below.

The following list displays the operations available in descendant markup iterator.

Construction
Increment/Decrement
Dereference
Comparison
Work Time Studio

Datasoft Solutions is proud to present their landmark product, Work Time Studio. Utilizing the tree container library, Work Time Studio provides unparalleled features in personal time, project and task management software. If you're looking for a way to increase your productivity, visit Work Time Studio's product website, and start being more productive today.