Classes | Namespaces | Typedefs | Functions
transcode_stream.h File Reference
#include <stdexcept>
#include <streambuf>
#include <string>
#include <zorba/config.h>
#include <zorba/internal/proxy.h>
#include <zorba/internal/unique_ptr.h>
Include dependency graph for transcode_stream.h:

Go to the source code of this file.

Classes

class  zorba::transcode::stream< StreamType >
 A transcode::stream is used to wrap a C++ standard I/O stream with a transcode::streambuf so that transcoding and the management of the streambuf happens automatically. More...
class  zorba::transcode::streambuf
 A transcode::streambuf is-a std::streambuf for transcoding character encodings from/to UTF-8 on-the-fly. More...

Namespaces

namespace  zorba
 Copyright 2006-2011 The FLWOR Foundation.
namespace  zorba::transcode

Typedefs

typedef internal::ztd::proxy
< std::streambuf > 
zorba::proxy_streambuf

Functions

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.
blog comments powered by Disqus