Xport Interface: stylesheet::iterator::operator ->

Pointer 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 pointer (or const pointer for const_iterator) to the underlying stylesheet item.

Remarks

Returns a pointer to the underlying stylesheet item (for iterator), and a const pointer to the stylesheet item (for const_iterator). This can be very handy, especially for the non-const stylesheet iterator, as it allows you to insert declarations into an underlying stylesheet rule, 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.