\section{/var/www/mlpack.ratml.\+org/mlpack.org/\+\_\+src/mlpack-\/3.3.1/src/mlpack/bindings/cli/add\+\_\+to\+\_\+po.hpp File Reference}
\label{add__to__po_8hpp}\index{/var/www/mlpack.\+ratml.\+org/mlpack.\+org/\+\_\+src/mlpack-\/3.\+3.\+1/src/mlpack/bindings/cli/add\+\_\+to\+\_\+po.\+hpp@{/var/www/mlpack.\+ratml.\+org/mlpack.\+org/\+\_\+src/mlpack-\/3.\+3.\+1/src/mlpack/bindings/cli/add\+\_\+to\+\_\+po.\+hpp}}
Include dependency graph for add\+\_\+to\+\_\+po.\+hpp\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{add__to__po_8hpp__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=178pt]{add__to__po_8hpp__dep__incl}
\end{center}
\end{figure}
\subsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
 \textbf{ mlpack}
\begin{DoxyCompactList}\small\item\em strip\+\_\+type.\+hpp \end{DoxyCompactList}\item 
 \textbf{ mlpack\+::bindings}
\item 
 \textbf{ mlpack\+::bindings\+::cli}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$typename T $>$ }\\void \textbf{ Add\+To\+PO} (const std\+::string \&boost\+Name, const std\+::string \&descr, boost\+::program\+\_\+options\+::options\+\_\+description \&desc, const typename boost\+::disable\+\_\+if$<$ util\+::\+Is\+Std\+Vector$<$ T $>$$>$\+::type $\ast$=0, const typename boost\+::disable\+\_\+if$<$ std\+::is\+\_\+same$<$ T, bool $>$$>$\+::type $\ast$=0)
\begin{DoxyCompactList}\small\item\em Add a non-\/vector option to boost\+::program\+\_\+options. \end{DoxyCompactList}\item 
{\footnotesize template$<$typename T $>$ }\\void \textbf{ Add\+To\+PO} (const std\+::string \&boost\+Name, const std\+::string \&descr, boost\+::program\+\_\+options\+::options\+\_\+description \&desc, const typename boost\+::enable\+\_\+if$<$ util\+::\+Is\+Std\+Vector$<$ T $>$$>$\+::type $\ast$=0, const typename boost\+::disable\+\_\+if$<$ std\+::is\+\_\+same$<$ T, bool $>$$>$\+::type $\ast$=0)
\begin{DoxyCompactList}\small\item\em Add a vector option to boost\+::program\+\_\+options. \end{DoxyCompactList}\item 
{\footnotesize template$<$typename T $>$ }\\void \textbf{ Add\+To\+PO} (const std\+::string \&boost\+Name, const std\+::string \&descr, boost\+::program\+\_\+options\+::options\+\_\+description \&desc, const typename boost\+::disable\+\_\+if$<$ util\+::\+Is\+Std\+Vector$<$ T $>$$>$\+::type $\ast$=0, const typename boost\+::enable\+\_\+if$<$ std\+::is\+\_\+same$<$ T, bool $>$$>$\+::type $\ast$=0)
\begin{DoxyCompactList}\small\item\em Add a boolean option to boost\+::program\+\_\+options. \end{DoxyCompactList}\item 
{\footnotesize template$<$typename T $>$ }\\void \textbf{ Add\+To\+PO} (const util\+::\+Param\+Data \&d, const void $\ast$, void $\ast$output)
\begin{DoxyCompactList}\small\item\em Add an option to boost\+::program\+\_\+options. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyAuthor}{Author}
Ryan Curtin
\end{DoxyAuthor}
Utility functions to add options to boost\+::program\+\_\+options based on their type.

mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-\/clause B\+SD license. You should have received a copy of the 3-\/clause B\+SD license along with mlpack. If not, see {\tt http\+://www.\+opensource.\+org/licenses/\+B\+S\+D-\/3-\/\+Clause} for more information. 