stlsoft/conversion/char_conversions.hpp File Reference


Detailed Description

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

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

Go to the source code of this file.

Namespaces

namespace  stlsoft

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 (stlsoft::multibyte2wide< CCH > const &b)
 c_str_ptr_null String Access Shim for stlsoft::multibyte2wide
template<size_t CCH>
wchar_t const * c_str_ptr (stlsoft::multibyte2wide< CCH > const &b)
 c_str_ptr String Access Shim for stlsoft::multibyte2wide
template<size_t CCH>
wchar_t const * c_str_data (stlsoft::multibyte2wide< CCH > const &b)
 c_str_data String Access Shim for stlsoft::multibyte2wide
template<size_t CCH>
size_t c_str_len (stlsoft::multibyte2wide< CCH > const &b)
 c_str_len String Access Shim for stlsoft::multibyte2wide
template<size_t CCH>
char const * c_str_ptr_null (stlsoft::wide2multibyte< CCH > const &b)
 c_str_ptr_null String Access Shim for stlsoft::wide2multibyte
template<size_t CCH>
char const * c_str_ptr (stlsoft::wide2multibyte< CCH > const &b)
 c_str_ptr String Access Shim for stlsoft::wide2multibyte
template<size_t CCH>
char const * c_str_data (stlsoft::wide2multibyte< CCH > const &b)
 c_str_data String Access Shim for stlsoft::wide2multibyte
template<size_t CCH>
size_t c_str_len (stlsoft::wide2multibyte< CCH > const &b)
 c_str_len String Access Shim for stlsoft::wide2multibyte
template<typename S, size_t CCH>
S & operator<< (S &s, stlsoft::multibyte2wide< CCH > const &b)
 stream insertion shim for stlsoft::multibyte2wide
template<typename S, size_t CCH>
S & operator<< (S &s, stlsoft::wide2multibyte< CCH > const &b)
 stream insertion shim for stlsoft::wide2multibyte


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