#include <lemon/bits/item_writer.h>
Public Member Functions | |
QuotedStringWriter (bool _escaped=true, char _quote= '\"') | |
Constructor for the writer. | |
void | write (std::ostream &os, const std::string &value) const |
QuotedStringWriter | ( | bool | _escaped = true , |
|
char | _quote = '\"' | |||
) | [inline] |
Constructor for the writer. If the given parameter is true the writer creates escape sequences from special characters.
void write | ( | std::ostream & | os, | |
const std::string & | value | |||
) | const [inline] |
Writes a quoted string to the given stream.