Sophie

Sophie

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

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

\section{ost::Command\-Option\-No\-Arg Class Reference}
\label{classost_1_1_command_option_no_arg}\index{ost::CommandOptionNoArg@{ost::CommandOptionNoArg}}
{\bf Command\-Option}{\rm (p.\,\pageref{classost_1_1_command_option})} type for flags.  


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

Inheritance diagram for ost::Command\-Option\-No\-Arg::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{classost_1_1_command_option_no_arg}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Command\-Option\-No\-Arg} (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\-Arg}{\rm (p.\,\pageref{classost_1_1_command_option_arg})} contructor. \item\end{CompactList}\item 
virtual void {\bf found\-Option} ({\bf Command\-Option\-Parse} $\ast$cop, const char $\ast$value=0)
\begin{CompactList}\small\item\em {\bf Command\-Option\-No\-Arg::found\-Option}{\rm (p.\,\pageref{classost_1_1_command_option_no_arg_5762755aabab3298e9e9d2fe45f4de61})} will evpect a nil \char`\"{}value\char`\"{} passed in. \item\end{CompactList}\end{CompactItemize}
\subsection*{Public Attributes}
\begin{CompactItemize}
\item 
int {\bf num\-Set}
\begin{CompactList}\small\item\em The number of times this value has been set. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
{\bf Command\-Option}{\rm (p.\,\pageref{classost_1_1_command_option})} type for flags. \begin{Desc}
\item[Examples: ]\par


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




\subsection{Constructor \& Destructor Documentation}
\index{ost::CommandOptionNoArg@{ost::Command\-Option\-No\-Arg}!CommandOptionNoArg@{CommandOptionNoArg}}
\index{CommandOptionNoArg@{CommandOptionNoArg}!ost::CommandOptionNoArg@{ost::Command\-Option\-No\-Arg}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}ost::Command\-Option\-No\-Arg::Command\-Option\-No\-Arg (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_no_arg_1dcb38419a79d85aad39b58b5f5b6ece}


{\bf Command\-Option\-Arg}{\rm (p.\,\pageref{classost_1_1_command_option_arg})} contructor. 

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

\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}


\subsection{Member Function Documentation}
\index{ost::CommandOptionNoArg@{ost::Command\-Option\-No\-Arg}!foundOption@{foundOption}}
\index{foundOption@{foundOption}!ost::CommandOptionNoArg@{ost::Command\-Option\-No\-Arg}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual void ost::Command\-Option\-No\-Arg::found\-Option ({\bf Command\-Option\-Parse} $\ast$ {\em cop}, const char $\ast$ {\em value} = {\tt 0})\hspace{0.3cm}{\tt  [virtual]}}\label{classost_1_1_command_option_no_arg_5762755aabab3298e9e9d2fe45f4de61}


{\bf Command\-Option\-No\-Arg::found\-Option}{\rm (p.\,\pageref{classost_1_1_command_option_no_arg_5762755aabab3298e9e9d2fe45f4de61})} will evpect a nil \char`\"{}value\char`\"{} passed in. 



Reimplemented from {\bf ost::Command\-Option} {\rm (p.\,\pageref{classost_1_1_command_option_70394fb2a025443e6890e0e076a94477})}.

\subsection{Member Data Documentation}
\index{ost::CommandOptionNoArg@{ost::Command\-Option\-No\-Arg}!numSet@{numSet}}
\index{numSet@{numSet}!ost::CommandOptionNoArg@{ost::Command\-Option\-No\-Arg}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf ost::Command\-Option\-No\-Arg::num\-Set}}\label{classost_1_1_command_option_no_arg_34ad5c00e41da5cb4b113e5f5c989436}


The number of times this value has been set. 



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