![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
Boost.Locale: boost/locale/conversion.hpp Source FileBoost , ,
conversion.hpp 71 virtual std::basic_string<Char> convert(conversion_type how,Char const *begin,Char const *end,int flags = 0) const = 0;
86 virtual std::string convert(conversion_type how,char const *begin,char const *end,int flags = 0) const = 0;
99 virtual std::wstring convert(conversion_type how,wchar_t const *begin,wchar_t const *end,int flags = 0) const = 0;
107 class BOOST_LOCALE_DECL converter<char16_t> : public converter_base, public std::locale::facet {
113 virtual std::u16string convert(conversion_type how,char16_t const *begin,char16_t const *end,int flags = 0) const = 0;
122 class BOOST_LOCALE_DECL converter<char32_t> : public converter_base, public std::locale::facet {
128 virtual std::u32string convert(conversion_type how,char32_t const *begin,char32_t const *end,int flags = 0) const = 0;
159 std::basic_string<CharType> normalize(std::basic_string<CharType> const &str,norm_type n=norm_default,std::locale const &loc=std::locale())
161 return std::use_facet<converter<CharType> >(loc).convert(converter_base::normalization,str.data(),str.data() + str.size(),n);
174 std::basic_string<CharType> normalize(CharType const *str,norm_type n=norm_default,std::locale const &loc=std::locale())
179 return std::use_facet<converter<CharType> >(loc).convert(converter_base::normalization,str,end,n);
197 return std::use_facet<converter<CharType> >(loc).convert(converter_base::normalization,begin,end,n);
209 std::basic_string<CharType> to_upper(std::basic_string<CharType> const &str,std::locale const &loc=std::locale())
211 return std::use_facet<converter<CharType> >(loc).convert(converter_base::upper_case,str.data(),str.data()+str.size());
234 std::basic_string<CharType> to_upper(CharType const *begin,CharType const *end,std::locale const &loc=std::locale())
248 std::basic_string<CharType> to_lower(std::basic_string<CharType> const &str,std::locale const &loc=std::locale())
250 return std::use_facet<converter<CharType> >(loc).convert(converter_base::lower_case,str.data(),str.data()+str.size());
273 std::basic_string<CharType> to_lower(CharType const *begin,CharType const *end,std::locale const &loc=std::locale())
286 std::basic_string<CharType> to_title(std::basic_string<CharType> const &str,std::locale const &loc=std::locale())
288 return std::use_facet<converter<CharType> >(loc).convert(converter_base::title_case,str.data(),str.data()+str.size());
311 std::basic_string<CharType> to_title(CharType const *begin,CharType const *end,std::locale const &loc=std::locale())
325 std::basic_string<CharType> fold_case(std::basic_string<CharType> const &str,std::locale const &loc=std::locale())
327 return std::use_facet<converter<CharType> >(loc).convert(converter_base::case_folding,str.data(),str.data()+str.size());
350 std::basic_string<CharType> fold_case(CharType const *begin,CharType const *end,std::locale const &loc=std::locale())
352 return std::use_facet<converter<CharType> >(loc).convert(converter_base::case_folding,begin,end);
std::basic_string< CharType > fold_case(std::basic_string< CharType > const &str, std::locale const &loc=std::locale()) Definition: conversion.hpp:325 Apply Unicode normalization on the text. Definition: conversion.hpp:39 std::basic_string< CharType > to_title(std::basic_string< CharType > const &str, std::locale const &loc=std::locale()) Definition: conversion.hpp:286 converter(size_t refs=0) Standard constructor. Definition: conversion.hpp:64 std::basic_string< CharType > to_upper(std::basic_string< CharType > const &str, std::locale const &loc=std::locale()) Definition: conversion.hpp:209 This class provides base flags for text manipulation. It is used as base for converter facet... Definition: conversion.hpp:33 Compatibility decomposition followed by canonical composition. Definition: conversion.hpp:145 static std::locale::id id Locale identification. Definition: conversion.hpp:61 std::basic_string< CharType > to_lower(std::basic_string< CharType > const &str, std::locale const &loc=std::locale()) Definition: conversion.hpp:248 std::basic_string< CharType > normalize(std::basic_string< CharType > const &str, norm_type n=norm_default, std::locale const &loc=std::locale()) Definition: conversion.hpp:159 Canonical decomposition followed by canonical composition. Definition: conversion.hpp:143 Default normalization - canonical decomposition followed by canonical composition. Definition: conversion.hpp:146 Статья Boost.Locale: boost/locale/conversion.hpp Source File раздела может быть полезна для разработчиков на c++ и boost. Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта. :: Главная :: ::
|
||||||
©KANSoftWare (разработка программного обеспечения, создание программ, создание интерактивных сайтов), 2007 |