\hypertarget{classnntrainer_1_1props_1_1FilePath}{}\doxysection{nntrainer\+::props\+::File\+Path Class Reference}
\label{classnntrainer_1_1props_1_1FilePath}\index{nntrainer::props::FilePath@{nntrainer::props::FilePath}}


Props containing file path value.  




{\ttfamily \#include $<$common\+\_\+properties.\+h$>$}



Inheritance diagram for nntrainer\+::props\+::File\+Path\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=218pt]{classnntrainer_1_1props_1_1FilePath__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for nntrainer\+::props\+::File\+Path\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=218pt]{classnntrainer_1_1props_1_1FilePath__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
using \mbox{\hyperlink{classnntrainer_1_1props_1_1FilePath_ad9edf2d3a4f36791151255732ec18056}{prop\+\_\+tag}} = str\+\_\+prop\+\_\+tag
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classnntrainer_1_1props_1_1FilePath_ac64312f1632a799f47226ef5202f4974}\label{classnntrainer_1_1props_1_1FilePath_ac64312f1632a799f47226ef5202f4974}} 
\mbox{\hyperlink{classnntrainer_1_1props_1_1FilePath_ac64312f1632a799f47226ef5202f4974}{File\+Path}} ()
\begin{DoxyCompactList}\small\item\em Construct a new File Path object. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classnntrainer_1_1props_1_1FilePath_a896315caafcc4bd6c63080fb47af0afe}{File\+Path}} (const std\+::string \&path)
\begin{DoxyCompactList}\small\item\em Construct a new File Path object. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{classnntrainer_1_1props_1_1FilePath_a303a5ff27e79912fb40ecfb6b53d9759}{is\+Valid}} (const std\+::string \&v) const override
\begin{DoxyCompactList}\small\item\em check if given value is valid \end{DoxyCompactList}\item 
void \mbox{\hyperlink{classnntrainer_1_1props_1_1FilePath_a2dbb8a0f33b31db1e0494f77b320e41a}{set}} (const std\+::string \&v) override
\begin{DoxyCompactList}\small\item\em setter \end{DoxyCompactList}\item 
std\+::ifstream\+::pos\+\_\+type \mbox{\hyperlink{classnntrainer_1_1props_1_1FilePath_a01e82cfd4e8182fedbfee01b84208c03}{file\+\_\+size}} ()
\begin{DoxyCompactList}\small\item\em return file size \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static constexpr const char $\ast$ \mbox{\hyperlink{classnntrainer_1_1props_1_1FilePath_a2d261780d4955028ffe031b1836ca81b}{key}} = \char`\"{}path\char`\"{}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Props containing file path value. 



Definition at line 550 of file common\+\_\+properties.\+h.



\doxysubsection{Member Typedef Documentation}
\mbox{\Hypertarget{classnntrainer_1_1props_1_1FilePath_ad9edf2d3a4f36791151255732ec18056}\label{classnntrainer_1_1props_1_1FilePath_ad9edf2d3a4f36791151255732ec18056}} 
\index{nntrainer::props::FilePath@{nntrainer::props::FilePath}!prop\_tag@{prop\_tag}}
\index{prop\_tag@{prop\_tag}!nntrainer::props::FilePath@{nntrainer::props::FilePath}}
\doxysubsubsection{\texorpdfstring{prop\_tag}{prop\_tag}}
{\footnotesize\ttfamily using \mbox{\hyperlink{classnntrainer_1_1props_1_1FilePath_ad9edf2d3a4f36791151255732ec18056}{nntrainer\+::props\+::\+File\+Path\+::prop\+\_\+tag}} =  str\+\_\+prop\+\_\+tag}

property type 

Definition at line 564 of file common\+\_\+properties.\+h.



\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classnntrainer_1_1props_1_1FilePath_a896315caafcc4bd6c63080fb47af0afe}\label{classnntrainer_1_1props_1_1FilePath_a896315caafcc4bd6c63080fb47af0afe}} 
\index{nntrainer::props::FilePath@{nntrainer::props::FilePath}!FilePath@{FilePath}}
\index{FilePath@{FilePath}!nntrainer::props::FilePath@{nntrainer::props::FilePath}}
\doxysubsubsection{\texorpdfstring{FilePath()}{FilePath()}}
{\footnotesize\ttfamily nntrainer\+::props\+::\+File\+Path\+::\+File\+Path (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{path }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Construct a new File Path object. 


\begin{DoxyParams}{Parameters}
{\em path} & path to set \\
\hline
\end{DoxyParams}


Definition at line 562 of file common\+\_\+properties.\+h.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classnntrainer_1_1props_1_1FilePath_a896315caafcc4bd6c63080fb47af0afe_cgraph}
\end{center}
\end{figure}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classnntrainer_1_1props_1_1FilePath_a01e82cfd4e8182fedbfee01b84208c03}\label{classnntrainer_1_1props_1_1FilePath_a01e82cfd4e8182fedbfee01b84208c03}} 
\index{nntrainer::props::FilePath@{nntrainer::props::FilePath}!file\_size@{file\_size}}
\index{file\_size@{file\_size}!nntrainer::props::FilePath@{nntrainer::props::FilePath}}
\doxysubsubsection{\texorpdfstring{file\_size()}{file\_size()}}
{\footnotesize\ttfamily std\+::ifstream\+::pos\+\_\+type nntrainer\+::props\+::\+File\+Path\+::file\+\_\+size (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



return file size 

\begin{DoxyReturn}{Returns}
std\+::ifstream\+::pos\+\_\+type size of the file 
\end{DoxyReturn}


Definition at line 70 of file common\+\_\+properties.\+cpp.

\mbox{\Hypertarget{classnntrainer_1_1props_1_1FilePath_a303a5ff27e79912fb40ecfb6b53d9759}\label{classnntrainer_1_1props_1_1FilePath_a303a5ff27e79912fb40ecfb6b53d9759}} 
\index{nntrainer::props::FilePath@{nntrainer::props::FilePath}!isValid@{isValid}}
\index{isValid@{isValid}!nntrainer::props::FilePath@{nntrainer::props::FilePath}}
\doxysubsubsection{\texorpdfstring{isValid()}{isValid()}}
{\footnotesize\ttfamily bool nntrainer\+::props\+::\+File\+Path\+::is\+Valid (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{v }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [override]}}



check if given value is valid 


\begin{DoxyParams}{Parameters}
{\em v} & value to check \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
bool true if valid 
\end{DoxyReturn}


Definition at line 59 of file common\+\_\+properties.\+cpp.

\mbox{\Hypertarget{classnntrainer_1_1props_1_1FilePath_a2dbb8a0f33b31db1e0494f77b320e41a}\label{classnntrainer_1_1props_1_1FilePath_a2dbb8a0f33b31db1e0494f77b320e41a}} 
\index{nntrainer::props::FilePath@{nntrainer::props::FilePath}!set@{set}}
\index{set@{set}!nntrainer::props::FilePath@{nntrainer::props::FilePath}}
\doxysubsubsection{\texorpdfstring{set()}{set()}}
{\footnotesize\ttfamily void nntrainer\+::props\+::\+File\+Path\+::set (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{v }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}}



setter 


\begin{DoxyParams}{Parameters}
{\em v} & value to set \\
\hline
\end{DoxyParams}


Definition at line 64 of file common\+\_\+properties.\+cpp.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classnntrainer_1_1props_1_1FilePath_a2dbb8a0f33b31db1e0494f77b320e41a_icgraph}
\end{center}
\end{figure}


\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{classnntrainer_1_1props_1_1FilePath_a2d261780d4955028ffe031b1836ca81b}\label{classnntrainer_1_1props_1_1FilePath_a2d261780d4955028ffe031b1836ca81b}} 
\index{nntrainer::props::FilePath@{nntrainer::props::FilePath}!key@{key}}
\index{key@{key}!nntrainer::props::FilePath@{nntrainer::props::FilePath}}
\doxysubsubsection{\texorpdfstring{key}{key}}
{\footnotesize\ttfamily constexpr const char$\ast$ nntrainer\+::props\+::\+File\+Path\+::key = \char`\"{}path\char`\"{}\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [constexpr]}}

unique key to access 

Definition at line 563 of file common\+\_\+properties.\+h.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
layers/\mbox{\hyperlink{common__properties_8h}{common\+\_\+properties.\+h}}\item 
layers/\mbox{\hyperlink{common__properties_8cpp}{common\+\_\+properties.\+cpp}}\end{DoxyCompactItemize}
