Boost.Locale
boost::locale::converter< Char > Class Template Referenceabstract

The facet that implements text manipulation. More...

#include <boost/locale/conversion.hpp>

Inheritance diagram for boost::locale::converter< Char >:
boost::locale::converter_base

Public Member Functions

 converter (size_t refs=0)
 Standard constructor.
 
virtual std::basic_string< Char > convert (conversion_type how, const Char *begin, const Char *end, int flags=0) const =0
 

Static Public Attributes

static std::locale::id id
 Locale identification.
 

Additional Inherited Members

- Public Types inherited from boost::locale::converter_base
enum  conversion_type {
  normalization, upper_case, lower_case, case_folding,
  title_case
}
 The flag used for facet - the type of operation to perform. More...
 

Detailed Description

template<typename Char>
class boost::locale::converter< Char >

The facet that implements text manipulation.

It is used to performs text conversion operations defined by converter_base::conversion_type. It is specialized for four types of characters char, wchar_t, char16_t, char32_t

Member Function Documentation

◆ convert()

template<typename Char >
virtual std::basic_string<Char> boost::locale::converter< Char >::convert ( conversion_type  how,
const Char *  begin,
const Char *  end,
int  flags = 0 
) const
pure virtual

Convert text in range [begin, end) according to conversion method how. Parameter flags is used for specification of normalization method like nfd, nfc etc.


The documentation for this class was generated from the following file: