QuotedStringWriter Class Reference

#include <lemon/bits/item_writer.h>

Inherited by DefaultWriter< std::string >.

List of all members.


Detailed Description

Writer class for quoted strings. It can process the escape sequences in the string.
Author:
Balazs Dezso


Public Member Functions

 QuotedStringWriter (bool _escaped=true)
 Constructor for the writer.
void write (std::ostream &os, const std::string &value) const
 Writes a quoted string to the given stream.


Constructor & Destructor Documentation

QuotedStringWriter bool  _escaped = true  )  [inline]
 

Constructor for the writer. If the given parameter is true the writer creates escape sequences from special characters.


Member Function Documentation

void write std::ostream &  os,
const std::string &  value
const [inline]
 

Writes a quoted string to the given stream.


The documentation for this class was generated from the following file:
Generated on Fri Feb 3 18:42:54 2006 for LEMON by  doxygen 1.4.6