\section{KCmd\-Line\-Options Struct Reference}
\label{structKCmdLineOptions}\index{KCmdLineOptions@{KCmdLineOptions}}
Structure that holds command line options.  


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

\subsection*{Public Attributes}
\begin{CompactItemize}
\item 
const char $\ast$ {\bf name}
\item 
const char $\ast$ {\bf description}
\item 
const char $\ast$ {\bf def}
\end{CompactItemize}


\subsection{Detailed Description}
Structure that holds command line options. 

This class is intended to be used with the {\bf KCmd\-Line\-Args}{\rm (p.\,\pageref{classKCmdLineArgs})} class, which provides convenient and powerful command line argument parsing and handling functionality.

\begin{Desc}
\item[See also:]{\bf KCmd\-Line\-Args}{\rm (p.\,\pageref{classKCmdLineArgs})} for additional usage information \end{Desc}




Definition at line 40 of file kcmdlineargs.h.

\subsection{Member Data Documentation}
\index{KCmdLineOptions@{KCmd\-Line\-Options}!name@{name}}
\index{name@{name}!KCmdLineOptions@{KCmd\-Line\-Options}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ {\bf KCmd\-Line\-Options::name}}\label{structKCmdLineOptions_o0}


The name of the argument as it should be called on the command line and appear in {\em myapp --help\/}. 

Note that if this option starts with \char`\"{}no\char`\"{} that you will need to test for the name without the \char`\"{}no\char`\"{} and the result will be the inverse of what is specified. i.e. if \char`\"{}nofoo\char`\"{} is the name of the option and {\em myapp --nofoo\/} is called:



\footnotesize\begin{verbatim} KCmdLineArgs::parsedArgs()->isSet("foo"); // false
\end{verbatim}
\normalsize
 

Definition at line 55 of file kcmdlineargs.h.

Referenced by KCmd\-Line\-Args::usage().\index{KCmdLineOptions@{KCmd\-Line\-Options}!description@{description}}
\index{description@{description}!KCmdLineOptions@{KCmd\-Line\-Options}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ {\bf KCmd\-Line\-Options::description}}\label{structKCmdLineOptions_o1}


The text description of the option as should appear in {\em myapp --help\/}. 

This value should be wrapped with I18N\_\-NOOP(). 

Definition at line 60 of file kcmdlineargs.h.

Referenced by KCmd\-Line\-Args::usage().\index{KCmdLineOptions@{KCmd\-Line\-Options}!def@{def}}
\index{def@{def}!KCmdLineOptions@{KCmd\-Line\-Options}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ {\bf KCmd\-Line\-Options::def}}\label{structKCmdLineOptions_o2}


The default value for the option, if it is not specified on the command line. 



Definition at line 65 of file kcmdlineargs.h.

Referenced by KCmd\-Line\-Args::usage().

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