Xport Interface: markup::begin

Returns a child iterator pointing to the first child markup object in the element.

markup::iterator markup::begin();1st Variety
markup::const_iterator markup::begin() const;2nd Variety

Parameters

none

Returns

When called from a derived element object, returns a child markup iterator (or const_iterator in the second variety) pointing to the first child markup object in the element. If called from any other markup derived markup object or if the element contains no children, returns markup::end().

Remarks

This operation is revelant only if it is called on a derived element derived object. When called from any other object derived from markup, returns markup::end(). When called from a derived element, this operation returns an iterator to the first child markup object in the element, which can be used for traversing the element's children, retrieving information on the children, or inserting content into the children. If the called element is a const object, a const_iterator will be returned.

Complexity

Constant

Example

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.