QuotedStringWriter Class Reference
[Item readers and writers]


Detailed Description

Writer class for quoted strings. It can process the escape sequences in the string.
Author:
Balazs Dezso
#include <lemon/bits/item_writer.h>

List of all members.

Public Member Functions

 QuotedStringWriter (bool _escaped=true, char _quote= '\"')
 Constructor for the writer.
void write (std::ostream &os, const std::string &value) const


Constructor & Destructor Documentation

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.


Member Function Documentation

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

Writes a quoted string to the given stream.


Generated on Thu Jun 4 04:06:43 2009 for LEMON by  doxygen 1.5.9