winstl/conversion/char_conversions.hpp File Reference


Detailed Description

[C++ only] Definition of the winstl::multibyte2wide and winstl::wide2multibyte class templates (Conversion Library).

#include <winstl/winstl.h>
#include <winstl/memory/processheap_allocator.hpp>
#include <stlsoft/shims/access/string.hpp>
#include <winstl/shims/access/string.hpp>
#include <stlsoft/memory/auto_buffer.hpp>
#include <winstl/error/conversion_error.hpp>
#include <errno.h>

Go to the source code of this file.

Namespaces

namespace  winstl

Classes

class  multibyte2wide
 Converts a multibyte (char-based) string to a wide (whar_t-based) string. More...
class  wide2multibyte
 Converts a wide (whar_t-based) string to a multibyte (char-based) string. More...

Typedefs

typedef multibyte2wide< 256 > m2w
 Type that converts a multibyte string to a wide string.
typedef wide2multibyte< 256 > w2m
 Type that converts a wide string to a multibyte string.
typedef multibyte2wide< 256 > a2w
 [Deprecated] Type that converts a multibyte string to a wide string.
typedef wide2multibyte< 256 > w2a
 [Deprecated] Type that converts a wide string to a multibyte string.

Functions

template<size_t CCH>
wchar_t const * c_str_ptr_null (winstl_ns_qual(multibyte2wide)< CCH > const &b)
 c_str_ptr_null String Access Shim for winstl::multibyte2wide
template<size_t CCH>
wchar_t const * c_str_ptr (winstl_ns_qual(multibyte2wide)< CCH > const &b)
 c_str_ptr String Access Shim for winstl::multibyte2wide
template<size_t CCH>
wchar_t const * c_str_data (winstl_ns_qual(multibyte2wide)< CCH > const &b)
 c_str_data String Access Shim for winstl::multibyte2wide
template<size_t CCH>
size_t c_str_len (winstl_ns_qual(multibyte2wide)< CCH > const &b)
 c_str_len String Access Shim for winstl::multibyte2wide
template<size_t CCH>
char const * c_str_ptr_null (winstl_ns_qual(wide2multibyte)< CCH > const &b)
 c_str_ptr_null String Access Shim for winstl::wide2multibyte
template<size_t CCH>
char const * c_str_ptr (winstl_ns_qual(wide2multibyte)< CCH > const &b)
 c_str_ptr String Access Shim for winstl::wide2multibyte
template<size_t CCH>
char const * c_str_data (winstl_ns_qual(wide2multibyte)< CCH > const &b)
 c_str_data String Access Shim for winstl::wide2multibyte
template<size_t CCH>
size_t c_str_len (winstl_ns_qual(wide2multibyte)< CCH > const &b)
 c_str_len String Access Shim for winstl::wide2multibyte
template<typename S, size_t CCH>
S & operator<< (S &s, winstl_ns_qual(multibyte2wide)< CCH > const &b)
 stream insertion shim for winstl::multibyte2wide
template<typename S, size_t CCH>
S & operator<< (S &s, winstl_ns_qual(wide2multibyte)< CCH > const &b)
 stream insertion shim for winstl::wide2multibyte


Generated on Thu Jun 10 08:58:02 2010 for STLSoft by  doxygen 1.5.6