mrdocs::OutputRef

Reference to output stream used by handlebars

Synopsis

Declared in <mrdocs/Support/Handlebars.hpp>

class OutputRef;

Description

This class is used to internally pass an output stream to the handlebars environment.

It allows many types to be used as output streams, including std::string, std::ostream, llvm::raw_string_ostream, and others.

Member Functions

NameDescription
OutputRef [constructor]Constructors
getIndent Return the current indentation level.
setIndent Set the indentation level applied to writes.

Friends

NameDescription
mrdocs::operator<<Write to output
mrdocs::operator<<Write to output
mrdocs::operator<<Write to output
mrdocs::operator<<Write to output
mrdocs::HandlebarsA handlebars environment

Non-Member Functions

NameDescription
HTMLEscapeHTML escapes the specified string