Xport Interface: stylesheet::operator <<

Inserts a stylesheet item into a stylesheet.

stylesheet& stylesheet::operator << (
  const_stylesheet_item& item
);

Parameters

item

A stylesheet_item object, which can be one of the following derived objects: stylesheet_rule, stylesheet_import, or stylesheet_comment.

Returns

Returns a reference to the stylesheet object. Thus, this operation can be chained for multiple insertions.

Remarks

This operation offers an alternate method for inserting stylesheet items into a stylesheet. Although this method doesn't return an iterator like the insert() operation, it does allow the chaining of insertions, which the insert() operation does not. With this operation, the inserted item is inserted at the end of the stylesheet.

Complexity

Logarithmic

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.