Xport Interface: stylesheet_comment::write

Writes the called stylesheet_comment to a file or output stream, through a stylesheet_formatter object.

virtual bool stylesheet_comment::write(
  const stylesheet_formatter& fmtr
);

Parameters

fmtr

A formatter object, which allows the user to set specific formatting options before writing the stylesheet_comment.

Returns

true if the stylesheet_comment is written successfully, false otherwise.

Remarks

This operation is used to write a stylesheet_comment. Normally, however, you will not use this operation to write a single stylesheet comment. You'll normally use stylesheet::write() which writes the whole stylesheet, rather than a single comment. This operations was added for completeness, however, in case users would like to write portions of the stylesheet rather than the whole stylesheet.

In this operation, you pass a stylesheet_formatter which writes the stylesheet_comment to the file or output stream that was specified when creating the stylesheet_formatter object. A stylesheet_formatter is first created, and in it's constructor, the filename or output stream is specified.

Complexity

Linear

Example

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.