29 #ifndef FASTCGIPP_WEBSTREAMBUF_HPP 30 #define FASTCGIPP_WEBSTREAMBUF_HPP 189 template<
class charT,
class traits>
190 std::basic_ostream<charT, traits>&
operator<<(
191 std::basic_ostream<charT, traits>& os,
205 template <
class charT,
class traits = std::
char_traits<
charT>>
208 typedef typename std::basic_streambuf<charT, traits>::char_type
char_type;
222 friend std::basic_ostream<charT, traits>& operator<< <charT, traits>(
223 std::basic_ostream<charT, traits>& os,
Encoding
Stream manipulator for setting output encoding.
Encoding m_encoding
Output encoding for stream buffer.
std::basic_streambuf< charT, traits >::char_type char_type
Topmost namespace for the fastcgi++ library.
Stream buffer class for output of HTML/Web stream.
std::basic_ostream< charT, traits > & operator<<(std::basic_ostream< charT, traits > &os, const Encoding &encoding)
static const std::map< charT, const std::basic_string< charT > > htmlCharacters
Needed for html encoding of stream data.
static const std::map< charT, const std::basic_string< charT > > urlCharacters
Needed for url encoding of stream data.
std::streamsize xsputn(const char_type *s, std::streamsize n)
Derived from std::basic_streambuf<charT, traits>