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

|===
Name Description
operator<< Write to output
operator<< Write to output
operator<< Write to output
operator<< Write to output
Handlebars A handlebars environment

Non-Member Functions

Name Description
HTMLEscapeHTML escapes the specified string