\hypertarget{kblib__icu_8h}{}\section{kblib\+\_\+icu.\+h File Reference} \label{kblib__icu_8h}\index{kblib\+\_\+icu.\+h@{kblib\+\_\+icu.\+h}} {\ttfamily \#include $<$unicode/unistr.\+h$>$}\newline {\ttfamily \#include $<$ostream$>$}\newline {\ttfamily \#include $<$string$>$}\newline {\ttfamily \#include $<$typeinfo$>$}\newline Include dependency graph for kblib\+\_\+icu.\+h\+:\nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=350pt]{kblib__icu_8h__incl} \end{center} \end{figure} This graph shows which files directly or indirectly include this file\+:\nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=143pt]{kblib__icu_8h__dep__incl} \end{center} \end{figure} \subsection*{Namespaces} \begin{DoxyCompactItemize} \item \hyperlink{namespacekblib}{kblib} \item \hyperlink{namespacekblib_1_1icu__str__ops}{kblib\+::icu\+\_\+str\+\_\+ops} \end{DoxyCompactItemize} \subsection*{Functions} \begin{DoxyCompactItemize} \item {\footnotesize template$<$typename string = std\+::string$>$ }\\string \hyperlink{namespacekblib_a2d7fecc72b77e7059d8296f6b6159c16}{kblib\+::to\+U\+T\+F8} (const icu\+::\+Unicode\+String \&s) \begin{DoxyCompactList}\small\item\em Convert a Unicode\+String to a U\+T\+F-\/8 string. \end{DoxyCompactList}\item {\footnotesize template$<$typename string $>$ }\\icu\+::\+Unicode\+String \hyperlink{namespacekblib_a16154cf9dde3eafd3ed5c06e63ccece3}{kblib\+::from\+U\+T\+F8} (string s) \begin{DoxyCompactList}\small\item\em Convert a U\+T\+F-\/8 string into a Unicode\+String. \end{DoxyCompactList}\item {\footnotesize template$<$typename string = std\+::u32string$>$ }\\string \hyperlink{namespacekblib_a165c23a6755969c9618053a161c879c9}{kblib\+::to\+U\+T\+F32} (const icu\+::\+Unicode\+String \&s) \begin{DoxyCompactList}\small\item\em Converts a Unicode\+String to U\+T\+F-\/32. \end{DoxyCompactList}\item {\footnotesize template$<$typename string $>$ }\\icu\+::\+Unicode\+String \hyperlink{namespacekblib_aec32368f01b8dbbbfdad6b6057dad4e0}{kblib\+::from\+U\+T\+F32} (string s) \begin{DoxyCompactList}\small\item\em Converts a U\+T\+F-\/32 string into a Unicode\+String. \end{DoxyCompactList}\item std\+::ostream \& \hyperlink{namespacekblib_1_1icu__str__ops_a511c9ece9098b7e61328f3f74b405b33}{kblib\+::icu\+\_\+str\+\_\+ops\+::operator$<$$<$} (std\+::ostream \&os, const icu\+::\+Unicode\+String \&str) \begin{DoxyCompactList}\small\item\em Provides a transcoding stream insertion operator for Unicode\+Strings. \end{DoxyCompactList}\item std\+::string \hyperlink{namespacekblib_1_1icu__str__ops_a2dadf2c7cc0511474323e7650e03ffa6}{kblib\+::icu\+\_\+str\+\_\+ops\+::operator+} (std\+::string lhs, const icu\+::\+Unicode\+String \&str) \begin{DoxyCompactList}\small\item\em Give the strange I\+CU interface for concatenating U\+T\+F-\/8 and Unicode\+Strings a more idiomatic name in the form of operator+. \end{DoxyCompactList}\item icu\+::\+Unicode\+String \hyperlink{namespacekblib_1_1icu__str__ops_ac3981419e5a790eb2b93c827a2bca7f3}{kblib\+::icu\+\_\+str\+\_\+ops\+::operator+} (icu\+::\+Unicode\+String lhs, const std\+::string \&rhs) \item {\footnotesize template$<$typename T $>$ }\\T \hyperlink{namespacekblib_a445a25ba67c0a735d2278b9b81027ba8}{kblib\+::from\+Str} (const icu\+::\+Unicode\+String \&val, const char $\ast$type=typeid(T).name()) \begin{DoxyCompactList}\small\item\em Reencodes val to U\+T\+F-\/8 and then converts it to T using the primary overload. \end{DoxyCompactList}\end{DoxyCompactItemize}