Xport Interface: stylesheet::iterator::operator *

Dereference operator for stylesheet::iterator and stylesheet::const_iterator.

stylesheet_item& stylesheet::iterator::operator *() const; iterator
const stylesheet_item& stylesheet::const_iterator::operator *() const; const_iterator

Parameters

None

Returns

Returns a reference (or const reference for const_iterator) to the underlying stylesheet item.

Remarks

Dereferences the stylesheet iterator, returning a reference to the underlying stylesheet item (for iterator), and a const reference to the underlying stylesheet item (for const_iterator). This can be very handy, especially for the iterator, as it allows the insertion of declarations using the insertion operator, as shown in the example below.

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.