Xport Interface: stylesheet_item::operator <<

For a derived stylesheet_rule, Inserts a declaration into the rule.

stylesheet_item& stylesheet_itemoperator << (
  const declaration& decl
);

Parameters

decl

A declaration object.

Returns

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

Remarks

This operation is relevent only when called on a derived stylesheet_rule. When called on a derived stylesheet_import or stylesheet_comment object, this operation does nothing.

Although stylesheet_item's insert() operations are overridden and implemented in stylesheet_rule, this operation is implemented in stylesheet_item, and an example will be given here.

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.