yast2-core
y2string.h
Go to the documentation of this file.
1 
2 
3 /*
4  * Author: Arvin Schnell <arvin@suse.de>
5  */
6 
7 
8 #ifndef _y2string_h
9 #define _y2string_h
10 
11 
12 #include <iconv.h>
13 
14 #include <string>
15 
16 
17 namespace YaST
18 {
19 
20 bool
21 recode (iconv_t cd, const std::string& in, std::string* out);
22 
23 bool
24 recode (iconv_t cd, const std::string& in, std::wstring* out);
25 
26 bool
27 recode (iconv_t cd, const std::wstring& in, std::string* out);
28 
29 bool
30 recode (iconv_t cd, const std::wstring& in, std::wstring* out);
31 
32 
44 bool
45 utf82wchar (const std::string& in, std::wstring* out);
46 
47 
59 bool
60 wchar2utf8 (const std::wstring& in, std::string* out);
61 
62 }
63 
64 #endif
bool wchar2utf8(const std::wstring &in, std::string *out)
Definition: y2string.cc:140
bool recode(iconv_t cd, const std::string &in, std::string *out)
Definition: y2string.cc:84
Definition: quotes.cc:39
bool utf82wchar(const std::string &in, std::wstring *out)
Definition: y2string.cc:112

Generated on a sunny day for yast2-core by doxygen 1.8.8