#include <stdexcept>
#include <streambuf>
#include <zorba/config.h>
#include <zorba/internal/proxy.h>
#include <zorba/internal/streambuf.h>
#include <zorba/internal/unique_ptr.h>
Go to the source code of this file.
Functions |
ZORBA_DLL_PUBLIC std::streambuf * | zorba::internal::transcode::alloc_streambuf (char const *charset, std::streambuf *orig) |
template<typename charT , typename Traits > |
void | zorba::transcode::attach (std::basic_ios< charT, Traits > &ios, char const *charset) |
| Attaches a transcode::streambuf to a stream.
|
template<typename charT , typename Traits > |
void | zorba::transcode::detach (std::basic_ios< charT, Traits > &ios) |
| Detaches a previously attached transcode::streambuf from a stream.
|
ZORBA_DLL_PUBLIC int | zorba::internal::transcode::get_streambuf_index () |
template<typename charT , typename Traits > |
bool | zorba::transcode::is_attached (std::basic_ios< charT, Traits > &ios) |
| Checks whether the given stream has a transcode::streambuf attached.
|
ZORBA_DLL_PUBLIC bool | zorba::transcode::is_necessary (char const *charset) |
| Checks whether it would be necessary to transcode from the given character encoding to UTF-8.
|
ZORBA_DLL_PUBLIC bool | zorba::transcode::is_supported (char const *charset) |
| Checks whether the given character set is supported for transcoding.
|
template<typename charT , typename Traits > |
std::streambuf * | zorba::transcode::orig_streambuf (std::basic_ios< charT, Traits > &ios) |
| Gets the original streambuf of the given iostream.
|