My Project
std
osl
misc
iconvConvert.h
Go to the documentation of this file.
1
/* iconvConvert.h
2
*/
3
#ifndef OSL_ICONVCONVERT_H
4
#define OSL_ICONVCONVERT_H
5
6
#include <string>
7
8
namespace
osl
9
{
10
namespace
misc
11
{
12
// Since IconvConvert uses iconv, this does not work on Windows.
13
// If you just want to use eucToLang, use osl/misc/eucToLang.h instead.
14
struct
IconvConvert
15
{
16
static
std::string
eucToLang
(
const
std::string& src);
17
static
std::string
convert
(
const
std::string& fromcode,
18
const
std::string& tocode,
19
const
std::string& src);
20
21
static
std::string
langToIconvCode
(
const
std::string& lang);
22
private
:
23
struct
IconvCD;
24
static
std::string
convert
(IconvCD& cd,
25
const
std::string& src);
26
};
27
}
28
using
misc::IconvConvert
;
29
}
30
31
#endif
/* OSL_ICONVCONVERT_H */
32
// ;;; Local Variables:
33
// ;;; mode:c++
34
// ;;; c-basic-offset:2
35
// ;;; End:
osl::misc::IconvConvert::convert
static std::string convert(const std::string &fromcode, const std::string &tocode, const std::string &src)
Definition:
iconvConvert.cc:60
osl::misc::IconvConvert::langToIconvCode
static std::string langToIconvCode(const std::string &lang)
Definition:
iconvConvert.cc:24
osl::misc::IconvConvert::eucToLang
static std::string eucToLang(const std::string &src)
Definition:
iconvConvert.cc:45
misc::IconvConvert
misc
osl::misc::IconvConvert
Definition:
iconvConvert.h:15
osl
Definition:
additionalEffect.h:6
Generated by
1.8.20