\section{cppcms\+:\+:widgets\+:\+:password Class Reference}
\label{classcppcms_1_1widgets_1_1password}\index{cppcms\+::widgets\+::password@{cppcms\+::widgets\+::password}}


The password widget is a simple text widget with few, obvious differences.  




{\ttfamily \#include $<$cppcms/form.\+h$>$}

Inheritance diagram for cppcms\+:\+:widgets\+:\+:password\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=4.057971cm]{classcppcms_1_1widgets_1_1password}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void {\bf check\+\_\+equal} ({\bf password} \&p2)
\item 
virtual bool {\bf validate} ()
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
The password widget is a simple text widget with few, obvious differences. 

\subsection{Member Function Documentation}
\index{cppcms\+::widgets\+::password@{cppcms\+::widgets\+::password}!check\+\_\+equal@{check\+\_\+equal}}
\index{check\+\_\+equal@{check\+\_\+equal}!cppcms\+::widgets\+::password@{cppcms\+::widgets\+::password}}
\subsubsection[{check\+\_\+equal(password \&p2)}]{\setlength{\rightskip}{0pt plus 5cm}void cppcms\+::widgets\+::password\+::check\+\_\+equal (
\begin{DoxyParamCaption}
\item[{{\bf password} \&}]{p2}
\end{DoxyParamCaption}
)}\label{classcppcms_1_1widgets_1_1password_a0172ddf7edfb559963977e24bfca8012}
Set the equality constraint to another password widget. This password should be equal to the one in {\itshape p2}. It is usefull when creating new passwords\+: if the passwords are not equal, the validation will fail. \index{cppcms\+::widgets\+::password@{cppcms\+::widgets\+::password}!validate@{validate}}
\index{validate@{validate}!cppcms\+::widgets\+::password@{cppcms\+::widgets\+::password}}
\subsubsection[{validate()}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool cppcms\+::widgets\+::password\+::validate (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classcppcms_1_1widgets_1_1password_a62059db5f0ff7c43635f2a6ae3455d11}
Validate the widget content according to the rules and to the charset encoding.

Notes\+:


\begin{DoxyItemize}
\item The charset validation is very efficient for variable length U\+T\+F-\/8 encoding as well as for most popular fixed length encodings like I\+S\+O-\/8859-\/$\ast$, windows-\/125$\ast$ and koi8$\ast$. For other encodings, character set conversion is used for the actual validation.
\item Special characters (that are not allowed in H\+T\+ML) are assumed to be forbidden, even if they are valid code points (like N\+UL = 0 or D\+EL=127). 
\end{DoxyItemize}

Reimplemented from {\bf cppcms\+::widgets\+::base\+\_\+text} \doxyref{}{p.}{classcppcms_1_1widgets_1_1base__text_a8accbd9e605d1e4dc87337afff6d5b38}.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
cppcms/form.\+h\end{DoxyCompactItemize}
