\section{cppcms\-:\-:form\-\_\-flags Struct Reference}
\label{structcppcms_1_1form__flags}\index{cppcms\-::form\-\_\-flags@{cppcms\-::form\-\_\-flags}}


This struct holds various flags to control the H\-T\-M\-L generation.  




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

Inheritance diagram for cppcms\-:\-:form\-\_\-flags\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=4.057971cm]{structcppcms_1_1form__flags}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum {\bf html\-\_\-type} \{ {\bf as\-\_\-html} = 0, 
{\bf as\-\_\-xhtml} = 1
 \}
\item 
enum {\bf html\-\_\-list\-\_\-type} \{ \\*
{\bf as\-\_\-p} = 0, 
{\bf as\-\_\-table} = 1, 
{\bf as\-\_\-ul} = 2, 
{\bf as\-\_\-dl} = 3, 
\\*
{\bf as\-\_\-space} = 4
 \}
\item 
enum {\bf widget\-\_\-part\-\_\-type} \{ {\bf first\-\_\-part} = 0, 
{\bf second\-\_\-part} = 1
 \}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
This struct holds various flags to control the H\-T\-M\-L generation. 

\subsection{Member Enumeration Documentation}
\index{cppcms\-::form\-\_\-flags@{cppcms\-::form\-\_\-flags}!html\-\_\-list\-\_\-type@{html\-\_\-list\-\_\-type}}
\index{html\-\_\-list\-\_\-type@{html\-\_\-list\-\_\-type}!cppcms::form_flags@{cppcms\-::form\-\_\-flags}}
\subsubsection[{html\-\_\-list\-\_\-type}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf cppcms\-::form\-\_\-flags\-::html\-\_\-list\-\_\-type}}\label{structcppcms_1_1form__flags_a0c305033878375311a7d5df068eef974}
This enum represents the style for the widgets generation. \begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{as\-\_\-p@{as\-\_\-p}!cppcms\-::form\-\_\-flags@{cppcms\-::form\-\_\-flags}}\index{cppcms\-::form\-\_\-flags@{cppcms\-::form\-\_\-flags}!as\-\_\-p@{as\-\_\-p}}\item[{\em 
as\-\_\-p\label{structcppcms_1_1form__flags_a0c305033878375311a7d5df068eef974afa7154882c82adcbbf1946fabbb9e752}
}]Render each widget using paragraphs. \index{as\-\_\-table@{as\-\_\-table}!cppcms\-::form\-\_\-flags@{cppcms\-::form\-\_\-flags}}\index{cppcms\-::form\-\_\-flags@{cppcms\-::form\-\_\-flags}!as\-\_\-table@{as\-\_\-table}}\item[{\em 
as\-\_\-table\label{structcppcms_1_1form__flags_a0c305033878375311a7d5df068eef974a724c3f5e8da50991ec03fed4c59ce334}
}]Render each widget using table. \index{as\-\_\-ul@{as\-\_\-ul}!cppcms\-::form\-\_\-flags@{cppcms\-::form\-\_\-flags}}\index{cppcms\-::form\-\_\-flags@{cppcms\-::form\-\_\-flags}!as\-\_\-ul@{as\-\_\-ul}}\item[{\em 
as\-\_\-ul\label{structcppcms_1_1form__flags_a0c305033878375311a7d5df068eef974a8566d6f2e37fa933e555ee24e227cd01}
}]Render each widget using unordered list. \index{as\-\_\-dl@{as\-\_\-dl}!cppcms\-::form\-\_\-flags@{cppcms\-::form\-\_\-flags}}\index{cppcms\-::form\-\_\-flags@{cppcms\-::form\-\_\-flags}!as\-\_\-dl@{as\-\_\-dl}}\item[{\em 
as\-\_\-dl\label{structcppcms_1_1form__flags_a0c305033878375311a7d5df068eef974acc9f06f4c8632974fd50f0f3a2fceb1a}
}]Render each widget using definitions list. \index{as\-\_\-space@{as\-\_\-space}!cppcms\-::form\-\_\-flags@{cppcms\-::form\-\_\-flags}}\index{cppcms\-::form\-\_\-flags@{cppcms\-::form\-\_\-flags}!as\-\_\-space@{as\-\_\-space}}\item[{\em 
as\-\_\-space\label{structcppcms_1_1form__flags_a0c305033878375311a7d5df068eef974a9453bbd8b11b7a12127ee5db85fd0219}
}]Render each widget using simple blank space separators. \end{description}
\end{Desc}
\index{cppcms\-::form\-\_\-flags@{cppcms\-::form\-\_\-flags}!html\-\_\-type@{html\-\_\-type}}
\index{html\-\_\-type@{html\-\_\-type}!cppcms::form_flags@{cppcms\-::form\-\_\-flags}}
\subsubsection[{html\-\_\-type}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf cppcms\-::form\-\_\-flags\-::html\-\_\-type}}\label{structcppcms_1_1form__flags_abb6b0df6fca9aa846a1dc2a638f029dc}
This enum represents the H\-T\-M\-L/\-X\-H\-T\-M\-L switch. \begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{as\-\_\-html@{as\-\_\-html}!cppcms\-::form\-\_\-flags@{cppcms\-::form\-\_\-flags}}\index{cppcms\-::form\-\_\-flags@{cppcms\-::form\-\_\-flags}!as\-\_\-html@{as\-\_\-html}}\item[{\em 
as\-\_\-html\label{structcppcms_1_1form__flags_abb6b0df6fca9aa846a1dc2a638f029dca22dae8c4c5dd09a83a3b1fa3b0584099}
}]render form/widget as ordinary H\-T\-M\-L \index{as\-\_\-xhtml@{as\-\_\-xhtml}!cppcms\-::form\-\_\-flags@{cppcms\-::form\-\_\-flags}}\index{cppcms\-::form\-\_\-flags@{cppcms\-::form\-\_\-flags}!as\-\_\-xhtml@{as\-\_\-xhtml}}\item[{\em 
as\-\_\-xhtml\label{structcppcms_1_1form__flags_abb6b0df6fca9aa846a1dc2a638f029dca0396633bfa4de75e9de0186b7ba775ff}
}]render form/widget as X\-H\-T\-M\-L \end{description}
\end{Desc}
\index{cppcms\-::form\-\_\-flags@{cppcms\-::form\-\_\-flags}!widget\-\_\-part\-\_\-type@{widget\-\_\-part\-\_\-type}}
\index{widget\-\_\-part\-\_\-type@{widget\-\_\-part\-\_\-type}!cppcms::form_flags@{cppcms\-::form\-\_\-flags}}
\subsubsection[{widget\-\_\-part\-\_\-type}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf cppcms\-::form\-\_\-flags\-::widget\-\_\-part\-\_\-type}}\label{structcppcms_1_1form__flags_ad9bb784f4555eadd91825dc13223c90a}
This special flag is used to partially generate a widget's H\-T\-M\-L. \begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{first\-\_\-part@{first\-\_\-part}!cppcms\-::form\-\_\-flags@{cppcms\-::form\-\_\-flags}}\index{cppcms\-::form\-\_\-flags@{cppcms\-::form\-\_\-flags}!first\-\_\-part@{first\-\_\-part}}\item[{\em 
first\-\_\-part\label{structcppcms_1_1form__flags_ad9bb784f4555eadd91825dc13223c90aab1a8d6383cc6a46590fb188bbce43209}
}]Render part 1\-: H\-T\-M\-L attributes can be inserted after it. \index{second\-\_\-part@{second\-\_\-part}!cppcms\-::form\-\_\-flags@{cppcms\-::form\-\_\-flags}}\index{cppcms\-::form\-\_\-flags@{cppcms\-::form\-\_\-flags}!second\-\_\-part@{second\-\_\-part}}\item[{\em 
second\-\_\-part\label{structcppcms_1_1form__flags_ad9bb784f4555eadd91825dc13223c90aaf182b9b4f04b7c9ddcb37834a2c74559}
}]Render part 2\-: complete part 1. \end{description}
\end{Desc}


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