Sophie

Sophie

distrib > Mandriva > 2007.0 > i586 > by-pkgid > ad1ba1135a9c9eeffc2e538163e00373 > files > 634

libCommonC++2_1.4-devel-1.4.1-1mdv2007.0.i586.rpm

\section{ost::Command\-Option\-Collect Class Reference}
\label{classost_1_1_command_option_collect}\index{ost::CommandOptionCollect@{ost::CommandOptionCollect}}
It only makes sense to have a single one of these set and it is also exclusive with {\bf Command\-Option\-Rest.Command\-Option}{\rm (p.\,\pageref{classost_1_1_command_option_989bf900aed6323812ae6922edcdc4af})} to collect parameters that are not options.  


{\tt \#include $<$cmdoptns.h$>$}

Inheritance diagram for ost::Command\-Option\-Collect::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3cm]{classost_1_1_command_option_collect}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Command\-Option\-Collect} (const char $\ast$in\-Option\-Name, const char $\ast$in\-Option\-Letter, const char $\ast$in\-Description, bool in\-Required=false, {\bf Command\-Option} $\ast$$\ast$pp\-Next=\&{\bf default\-Command\-Option\-List})
\begin{CompactList}\small\item\em {\bf Command\-Option\-Rest}{\rm (p.\,\pageref{classost_1_1_command_option_rest})} contructor. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
It only makes sense to have a single one of these set and it is also exclusive with {\bf Command\-Option\-Rest.Command\-Option}{\rm (p.\,\pageref{classost_1_1_command_option_989bf900aed6323812ae6922edcdc4af})} to collect parameters that are not options. 

This makes parameter collecting behave line the Unix \char`\"{}cat\char`\"{} command. \begin{Desc}
\item[Examples: ]\par


{\bf cmdlineopt.cpp}.\end{Desc}




\subsection{Constructor \& Destructor Documentation}
\index{ost::CommandOptionCollect@{ost::Command\-Option\-Collect}!CommandOptionCollect@{CommandOptionCollect}}
\index{CommandOptionCollect@{CommandOptionCollect}!ost::CommandOptionCollect@{ost::Command\-Option\-Collect}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}ost::Command\-Option\-Collect::Command\-Option\-Collect (const char $\ast$ {\em in\-Option\-Name}, const char $\ast$ {\em in\-Option\-Letter}, const char $\ast$ {\em in\-Description}, bool {\em in\-Required} = {\tt false}, {\bf Command\-Option} $\ast$$\ast$ {\em pp\-Next} = {\tt \&{\bf default\-Command\-Option\-List}})}\label{classost_1_1_command_option_collect_66e2f7634e3f155499bdc561ae5adf12}


{\bf Command\-Option\-Rest}{\rm (p.\,\pageref{classost_1_1_command_option_rest})} contructor. 

This sets the option\-Type for this object to Collect.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em in\-Option\-Name}]long option name \item[{\em in\-Option\-Letter}]short letter name \item[{\em in\-Description}]short description of the option \item[{\em in\-Required}]true if option is required \item[{\em pp\-Next}]the linked list header \end{description}
\end{Desc}


The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
{\bf cmdoptns.h}\end{CompactItemize}