#include <stdexcept>
#include <streambuf>
#include <string>
#include <zorba/config.h>
#include <zorba/internal/proxy.h>
#include <zorba/internal/unique_ptr.h>
Go to the source code of this file.
Functions |
ZORBA_DLL_PUBLIC
zorba::transcode::streambuf * | zorba::internal::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.
|
ZORBA_DLL_PUBLIC void | zorba::internal::dealloc_streambuf (zorba::transcode::streambuf *) |
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::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.
|
ZORBA_DLL_PUBLIC void | zorba::internal::stream_callback (std::ios_base::event, std::ios_base &, int index) |