QuotedStringWriter Class Reference
[Item readers and writers]

#include <lemon/bits/item_writer.h>

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, char _quote= '\"')
 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,
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.


The documentation for this class was generated from the following file:

Generated on Sat Apr 19 14:21:32 2008 for LEMON by  doxygen 1.5.5