\hypertarget{kblib__convert_8h}{}\section{kblib\+\_\+convert.\+h File Reference} \label{kblib__convert_8h}\index{kblib\+\_\+convert.\+h@{kblib\+\_\+convert.\+h}} {\ttfamily \#include $<$array$>$}\newline {\ttfamily \#include $<$chrono$>$}\newline {\ttfamily \#include $<$exception$>$}\newline {\ttfamily \#include $<$iomanip$>$}\newline {\ttfamily \#include $<$sstream$>$}\newline {\ttfamily \#include $<$stdexcept$>$}\newline {\ttfamily \#include $<$string$>$}\newline {\ttfamily \#include $<$typeinfo$>$}\newline {\ttfamily \#include $<$variant$>$}\newline {\ttfamily \#include \char`\"{}kblib\+\_\+traits.\+h\char`\"{}}\newline Include dependency graph for kblib\+\_\+convert.\+h\+:\nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=350pt]{kblib__convert_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=229pt]{kblib__convert_8h__dep__incl} \end{center} \end{figure} \subsection*{Classes} \begin{DoxyCompactItemize} \item struct \hyperlink{structkblib_1_1lexical__caster}{kblib\+::lexical\+\_\+caster$<$ To, From $>$} \item struct \hyperlink{structkblib_1_1lexical__caster_3_01_same_00_01_same_01_4}{kblib\+::lexical\+\_\+caster$<$ Same, Same $>$} \item struct \hyperlink{structkblib_1_1lexical__caster_3_01std_1_1string_00_01std_1_1string_01_4}{kblib\+::lexical\+\_\+caster$<$ std\+::string, std\+::string $>$} \item struct \hyperlink{structkblib_1_1lexical__caster_3_01std_1_1string_00_01_from_01_4}{kblib\+::lexical\+\_\+caster$<$ std\+::string, From $>$} \item struct \hyperlink{structkblib_1_1lexical__caster_3_01_to_00_01std_1_1string_01_4}{kblib\+::lexical\+\_\+caster$<$ To, std\+::string $>$} \end{DoxyCompactItemize} \subsection*{Namespaces} \begin{DoxyCompactItemize} \item \hyperlink{namespacekblib}{kblib} \end{DoxyCompactItemize} \subsection*{Functions} \begin{DoxyCompactItemize} \item {\footnotesize template$<$typename T $>$ }\\T \hyperlink{namespacekblib_ab883f841b68b6d5b6b338f25f5d474df}{kblib\+::from\+Str} (const std\+::string \&val, const char $\ast$type=typeid(T).name()) \item {\footnotesize template$<$typename T $>$ }\\std\+::string \hyperlink{namespacekblib_a890aac23b2dbb6ccefb452ac97b957cc}{kblib\+::to\+Str} (T val) \item std\+::string \hyperlink{namespacekblib_aa93ecfa24cde0ce6852a405b7bbc3969}{kblib\+::to\+Str} (std\+::string val) \item {\footnotesize template$<$typename To , typename From $>$ }\\To \hyperlink{namespacekblib_a831784622ce76737d51d5a5151936f3c}{kblib\+::lexical\+\_\+cast} (const From \&val, const char $\ast$type=typeid(To).name()) \item {\footnotesize template$<$int base, typename Int $>$ }\\std\+::string \hyperlink{namespacekblib_a54fefacab1737f80dc6bf037f1c8c745}{kblib\+::to\+\_\+string} (Int num) \item {\footnotesize template$<$typename Int $>$ }\\std\+::string \hyperlink{namespacekblib_a5004af4fa07c205c3f36ab71182cf3f6}{kblib\+::to\+\_\+string} (Int num, int base) \item {\footnotesize template$<$typename E , typename = typename std\+::enable\+\_\+if$<$std\+::is\+\_\+enum$<$\+E$>$\+::value$>$\+::type$>$ }\\constexpr auto \hyperlink{namespacekblib_affe037a0e9eb794b78f56ff2cb6b5405}{kblib\+::etoi} (E e) \item {\footnotesize template$<$int max\+Buf\+Len = 4096, typename clock , typename duration $>$ }\\std\+::string \hyperlink{namespacekblib_a81f6a252d046e76367ba2796381b7d3a}{kblib\+::time\+\_\+to\+\_\+str} (std\+::chrono\+::time\+\_\+point$<$ clock, duration $>$ \&tp, const std\+::string \&fmt=\char`\"{}\%F \%T\char`\"{}) \item std\+::string \hyperlink{namespacekblib_a0710d117efac748ee47241fb5ba5ac0b}{kblib\+::url\+\_\+encode} (const std\+::string \&value) \item std\+::string \hyperlink{namespacekblib_aa7707e3d13518193fb3a4886710fc452}{kblib\+::html\+\_\+encode} (const std\+::string data) \item std\+::string \hyperlink{namespacekblib_a9dfb47a9645b9b0783ef9ff72b39fda0}{kblib\+::escapify} (char c) \item {\footnotesize template$<$typename string $>$ }\\std\+::string \hyperlink{namespacekblib_a12f80229dc2005fa7fba81a617346d98}{kblib\+::escapify} (string value) \item {\footnotesize template$<$typename string $>$ }\\int \hyperlink{namespacekblib_a79427104739c3640ba3829e8d94fc090}{kblib\+::calculate\+\_\+translated\+\_\+index} (string \&\&value, const char $\ast$p) \item int \hyperlink{namespacekblib_a6f968a52189e184b3ffd5979e76777c9}{kblib\+::calculate\+\_\+translated\+\_\+index} (const char $\ast$value, const char $\ast$p) \item {\footnotesize template$<$typename string $>$ }\\std\+::string \hyperlink{namespacekblib_a70d68a88d3dd6d9b317c76d51a6863f8}{kblib\+::quoted} (string \&\&in) \end{DoxyCompactItemize}