|
fastcgi++
A C++ FastCGI/Web API
|
Stream buffer class for output of HTML/Web stream. More...
#include <fastcgi++/webstreambuf.hpp>
Public Member Functions | |
| WebStreambuf () | |
Private Types | |
| typedef std::basic_streambuf< charT, traits >::char_type | char_type |
Private Member Functions | |
| std::streamsize | xsputn (const char_type *s, std::streamsize n) |
| Derived from std::basic_streambuf<charT, traits> More... | |
| template<> | |
| const std::map< char, const std::basic_string< char > > | htmlCharacters |
| template<> | |
| const std::map< wchar_t, const std::basic_string< wchar_t > > | htmlCharacters |
| template<> | |
| const std::map< char, const std::basic_string< char > > | urlCharacters |
| template<> | |
| const std::map< wchar_t, const std::basic_string< wchar_t > > | urlCharacters |
Private Attributes | |
| Encoding | m_encoding |
| Output encoding for stream buffer. More... | |
Static Private Attributes | |
| static const std::map< charT, const std::basic_string< charT > > | htmlCharacters |
| Needed for html encoding of stream data. More... | |
| static const std::map< charT, const std::basic_string< charT > > | urlCharacters |
| Needed for url encoding of stream data. More... | |
Friends | |
| std::basic_ostream< charT, traits > & | operator (std::basic_ostream< charT, traits > &os, const Encoding &encoding) |
Stream buffer class for output of HTML/Web stream.
This class is derived from std::basic_streambuf<charT, traits>. It simply adds the ability to handle the Encoding modifier.
| charT | Character type (char or wchar_t) |
| traits | Character traits |
Definition at line 206 of file webstreambuf.hpp.
|
private |
Definition at line 208 of file webstreambuf.hpp.
|
inline |
Definition at line 226 of file webstreambuf.hpp.
|
private |
Definition at line 66 of file webstreambuf.cpp.
|
private |
Definition at line 77 of file webstreambuf.cpp.
|
private |
Definition at line 88 of file webstreambuf.cpp.
|
private |
Definition at line 117 of file webstreambuf.cpp.
|
private |
Derived from std::basic_streambuf<charT, traits>
Definition at line 145 of file webstreambuf.cpp.
|
friend |
|
staticprivate |
Needed for html encoding of stream data.
Definition at line 211 of file webstreambuf.hpp.
|
private |
Output encoding for stream buffer.
Definition at line 220 of file webstreambuf.hpp.
Referenced by Fastcgipp::operator<<().
|
staticprivate |
Needed for url encoding of stream data.
Definition at line 214 of file webstreambuf.hpp.
1.8.14