Xport Interface: stylesheet::begin

Returns a stylesheet iterator pointing to the first stylesheet item in the stylesheet.

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

Parameters

none

Returns

A stylesheet iterator (or const_iterator in the second variety) pointing to the first stylesheet item in the stylesheet. A stylesheet item can be a stylesheet_rule, stylesheet_comment, or a stylesheet_import object. If the stylesheet is empty, returns stylesheet::end().

Remarks

stylesheet_iterators can be used to traverse the objects in a stylesheet, and in standard algorithms. stylesheet::begin() returns an iterator which points to the first stylesheet object, if any, or stylesheet::end() if the stylesheet is empty.

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.