dbp::wstring2string Class Reference

Wide string to string convert. More...

#include <strutils.h>

List of all members.

Public Member Functions

std::string operator() (const std::wstring &text, std::locale const &loc=std::locale()) const
 Convert wide string to the string.

Detailed Description

Wide string to string convert.

The wstring2string functor class is used for converting widen (unicode) strings to strings according specified locale.


Member Function Documentation

std::string dbp::wstring2string::operator() ( const std::wstring &  text,
std::locale const &  loc = std::locale() 
) const

Convert wide string to the string.

Parameters:
source the wide string to convert
loc the string locale (default: current locale)
Returns:
the converted string

The documentation for this class was generated from the following file:

 
Support This Project
SourceForge.net Logo