ngscopeclient v0.2.1
Loading...
Searching...
No Matches
Functions
StringUtil.h File Reference

Declaration of global string utility functions. More...

#include <string>
Include dependency graph for StringUtil.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

std::string WstringToString (const std::wstring &wstr)
 Convert a std::wstring into an std::string.
 
std::wstring StringToWstring (const std::string &str)
 Convert a std::string into an std::wstring.
 

Detailed Description

Declaration of global string utility functions.

Author
Frederic BORRY

Function Documentation

◆ StringToWstring()

std::wstring StringToWstring ( const std::string &  str)

Convert a std::string into an std::wstring.

Parameters
wstrthe string to convert
Returns
the converted wstring

◆ WstringToString()

std::string WstringToString ( const std::wstring &  wstr)

Convert a std::wstring into an std::string.

Parameters
wstrthe wstring to convert
Returns
the converted string