Xport Interface: stylesheet::push_back

Inserts a stylesheet rule, comment, or import rule into the called stylesheet.

void stylesheet::push_back(
  const stylesheet_item& item
);

Parameters

item

A stylesheet_item object to be inserted. As stylesheet_item is a base class, the passed object will actually be one of the following types, stylesheet_rule, stylesheet_import, or stylesheet_comment.

Returns

Nothing.

Remarks

This operation is used to insert stylesheet items into the called stylesheet. The most common stylesheet item you'll insert into a stylesheet is a stylesheet_rule. This operation is similar to stylesheet::insert(item), except this operation does not return an iterator to the inserted stylesheet item.

Complexity

Logarithmic

Examples

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.