Next: , Previous: , Up: styled_ostream subclasses   [Contents][Index]


3.5.4.2 The html_styled_ostream class

The html_styled_ostream class supports styled output to any destination, in HTML syntax. Its type is ‘html_styled_ostream_t’. It is a subclass of ‘styled_ostream_t’.

It can be instantiated through this function:

Function: html_styled_ostream_t html_styled_ostream_create (ostream_t destination, const char *css_filename)

Creates an output stream that takes input in the UTF-8 encoding and writes it in HTML form on destination, styled with the file css_filename.

Note: The resulting stream must be closed before destination can be closed.