説明を見る。00001
00002
00003 #ifndef OSL_ICONVCONVERT_H
00004 #define OSL_ICONVCONVERT_H
00005
00006 #include <string>
00007
00008 namespace osl
00009 {
00010 namespace misc
00011 {
00012
00013
00014 struct IconvConvert
00015 {
00016 static std::string eucToLang(const std::string& src);
00017 static std::string convert(const std::string& fromcode,
00018 const std::string& tocode,
00019 const std::string& src);
00020
00021 static std::string langToIconvCode(const std::string& lang);
00022 private:
00023 struct IconvCD;
00024 static std::string convert(IconvCD& cd,
00025 const std::string& src);
00026 };
00027 }
00028 using misc::IconvConvert;
00029 }
00030
00031 #endif
00032
00033
00034
00035