\hypertarget{classnntrainer_1_1props_1_1Name}{}\doxysection{nntrainer\+::props\+::Name Class Reference}
\label{classnntrainer_1_1props_1_1Name}\index{nntrainer::props::Name@{nntrainer::props::Name}}


\mbox{\hyperlink{classnntrainer_1_1props_1_1Name}{Name}} property, name is an identifier of an object.  




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



Inheritance diagram for nntrainer\+::props\+::Name\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classnntrainer_1_1props_1_1Name__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for nntrainer\+::props\+::Name\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=209pt]{classnntrainer_1_1props_1_1Name__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
using \mbox{\hyperlink{classnntrainer_1_1props_1_1Name_ac19a7850b939e21e5cd78bcaba7eb53d}{prop\+\_\+tag}} = str\+\_\+prop\+\_\+tag
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classnntrainer_1_1props_1_1Name_a99d97a93e07364328ad89060507c4c56}{Name}} ()
\begin{DoxyCompactList}\small\item\em Construct a new \mbox{\hyperlink{classnntrainer_1_1props_1_1Name}{Name}} object without a default value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classnntrainer_1_1props_1_1Name_a3f9e2fc7d0399aa575910d9b124f0664}{Name}} (const std\+::string \&\mbox{\hyperlink{namespacenntrainer_a41fadbe61bee85682a61d2251b89f8ccaa7b575b9206729df489556c378b86544}{value}})
\begin{DoxyCompactList}\small\item\em Construct a new \mbox{\hyperlink{classnntrainer_1_1props_1_1Name}{Name}} object with a default value. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{classnntrainer_1_1props_1_1Name_a3b2098b7273bd8ea302352f9a20efd75}{set}} (const std\+::string \&\mbox{\hyperlink{namespacenntrainer_a41fadbe61bee85682a61d2251b89f8ccaa7b575b9206729df489556c378b86544}{value}}) override
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{classnntrainer_1_1props_1_1Name}{Name}} setter. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{classnntrainer_1_1props_1_1Name_a11b741829735216b61cdc08736bb453d}{is\+Valid}} (const std\+::string \&v) const override
\begin{DoxyCompactList}\small\item\em name validator \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static constexpr const char $\ast$ \mbox{\hyperlink{classnntrainer_1_1props_1_1Name_a2f8f859f4af7877f8a13ce493a420fa4}{key}} = \char`\"{}name\char`\"{}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\mbox{\hyperlink{classnntrainer_1_1props_1_1Name}{Name}} property, name is an identifier of an object. 



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



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

property type 

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



\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classnntrainer_1_1props_1_1Name_a99d97a93e07364328ad89060507c4c56}\label{classnntrainer_1_1props_1_1Name_a99d97a93e07364328ad89060507c4c56}} 
\index{nntrainer::props::Name@{nntrainer::props::Name}!Name@{Name}}
\index{Name@{Name}!nntrainer::props::Name@{nntrainer::props::Name}}
\doxysubsubsection{\texorpdfstring{Name()}{Name()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily nntrainer\+::props\+::\+Name\+::\+Name (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Construct a new \mbox{\hyperlink{classnntrainer_1_1props_1_1Name}{Name}} object without a default value. 



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

\mbox{\Hypertarget{classnntrainer_1_1props_1_1Name_a3f9e2fc7d0399aa575910d9b124f0664}\label{classnntrainer_1_1props_1_1Name_a3f9e2fc7d0399aa575910d9b124f0664}} 
\index{nntrainer::props::Name@{nntrainer::props::Name}!Name@{Name}}
\index{Name@{Name}!nntrainer::props::Name@{nntrainer::props::Name}}
\doxysubsubsection{\texorpdfstring{Name()}{Name()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily nntrainer\+::props\+::\+Name\+::\+Name (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{value }\end{DoxyParamCaption})}



Construct a new \mbox{\hyperlink{classnntrainer_1_1props_1_1Name}{Name}} object with a default value. 


\begin{DoxyParams}{Parameters}
{\em value} & value to contrusct the property \\
\hline
\end{DoxyParams}


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

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


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classnntrainer_1_1props_1_1Name_a11b741829735216b61cdc08736bb453d}\label{classnntrainer_1_1props_1_1Name_a11b741829735216b61cdc08736bb453d}} 
\index{nntrainer::props::Name@{nntrainer::props::Name}!isValid@{isValid}}
\index{isValid@{isValid}!nntrainer::props::Name@{nntrainer::props::Name}}
\doxysubsubsection{\texorpdfstring{isValid()}{isValid()}}
{\footnotesize\ttfamily bool nntrainer\+::props\+::\+Name\+::is\+Valid (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{v }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [override]}}



name validator 


\begin{DoxyParams}{Parameters}
{\em v} & string to validate \\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em true} & if it contains alphanumeric and/or \textquotesingle{}-\/\textquotesingle{}, \textquotesingle{}\+\_\+\textquotesingle{}, \textquotesingle{}/\textquotesingle{} \\
\hline
{\em false} & if it is empty or contains non-\/valid character \\
\hline
\end{DoxyRetVals}


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

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



\mbox{\hyperlink{classnntrainer_1_1props_1_1Name}{Name}} setter. 


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


Definition at line 34 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_1Name_a3b2098b7273bd8ea302352f9a20efd75_icgraph}
\end{center}
\end{figure}


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

unique key to access 

Definition at line 64 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}
