\section{atlas::commands::Command\-Mode Class Reference}
\label{classatlas_1_1commands_1_1CommandMode}\index{atlas::commands::CommandMode@{atlas::commands::CommandMode}}
{\tt \#include $<$commands.h$>$}

Collaboration diagram for atlas::commands::Command\-Mode:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=130pt]{classatlas_1_1commands_1_1CommandMode__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{CompactItemize}
\item 
typedef Command\-Dict::iterator {\bf iterator}
\item 
typedef Command\-Dict::const\_\-iterator {\bf const\_\-iterator}
\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Command\-Mode} (const char $\ast$, void($\ast$entry)()=\&relax\_\-f, void($\ast$exit)()=\&relax\_\-f, void($\ast$error)(const char $\ast$)=\&default\-Error)
\item 
virtual {\bf $\sim$Command\-Mode} ()
\item 
{\bf const\_\-iterator} {\bf begin} () const 
\item 
{\bf const\_\-iterator} {\bf end} () const 
\item 
{\bf const\_\-iterator} {\bf find} (const char $\ast$name) const 
\item 
const char $\ast$ {\bf prompt} () const 
\item 
void {\bf entry} () const 
\item 
void {\bf error} (const char $\ast$str) const 
\item 
void {\bf exit} () const 
\item 
void {\bf extensions} (std::set$<$ const char $\ast$, {\bf Str\-Cmp} $>$ \&, const char $\ast$) const 
\item 
void {\bf extensions} (std::vector$<$ const char $\ast$ $>$ \&, const char $\ast$) const 
\item 
{\bf const\_\-iterator} {\bf find\-Name} (const char $\ast$name) const 
\item 
virtual const std::vector$<$ const {\bf Command\-Mode} $\ast$ $>$ \& {\bf next} () const 
\item 
const {\bf Command\-Mode} \& {\bf next\-Mode} (size\_\-t j) const 
\item 
const {\bf Command\-Mode} \& {\bf prev} () const 
\item 
void {\bf add} (const char $\ast$const name, void($\ast$action)())
\item 
void {\bf add} (const char $\ast$const, const {\bf Command} \&)
\item 
{\bf iterator} {\bf find} (const char $\ast$name)
\item 
void {\bf set\-Action} (const char $\ast$, void($\ast$)())
\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
const {\bf Command\-Mode} $\ast$ {\bf d\_\-prev}
\end{CompactItemize}
\subsection*{Private Types}
\begin{CompactItemize}
\item 
typedef std::map$<$ const char $\ast$, {\bf Command}, {\bf Str\-Cmp} $>$ {\bf Command\-Dict}
\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
{\bf Command\-Dict} {\bf d\_\-map}
\item 
const char $\ast$ {\bf d\_\-prompt}
\item 
void($\ast$ {\bf d\_\-entry} )()
\item 
void($\ast$ {\bf d\_\-exit} )()
\item 
void($\ast$ {\bf d\_\-error} )(const char $\ast$)
\end{CompactItemize}
\subsection*{Static Private Attributes}
\begin{CompactItemize}
\item 
static std::vector$<$ const {\bf Command\-Mode} $\ast$ $>$ {\bf d\_\-empty}
\end{CompactItemize}


\subsection{Member Typedef Documentation}
\index{atlas::commands::CommandMode@{atlas::commands::Command\-Mode}!CommandDict@{CommandDict}}
\index{CommandDict@{CommandDict}!atlas::commands::CommandMode@{atlas::commands::Command\-Mode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}typedef std::map$<$const char$\ast$,{\bf Command},{\bf Str\-Cmp}$>$ {\bf atlas::commands::Command\-Mode::Command\-Dict}\hspace{0.3cm}{\tt  [private]}}\label{classatlas_1_1commands_1_1CommandMode_6011e24ce617532530771fb13c6fb201}


\index{atlas::commands::CommandMode@{atlas::commands::Command\-Mode}!const_iterator@{const\_\-iterator}}
\index{const_iterator@{const\_\-iterator}!atlas::commands::CommandMode@{atlas::commands::Command\-Mode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}typedef Command\-Dict::const\_\-iterator {\bf atlas::commands::Command\-Mode::const\_\-iterator}}\label{classatlas_1_1commands_1_1CommandMode_cfbcdd75e96581b4582e33b388cf8cd5}


\index{atlas::commands::CommandMode@{atlas::commands::Command\-Mode}!iterator@{iterator}}
\index{iterator@{iterator}!atlas::commands::CommandMode@{atlas::commands::Command\-Mode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}typedef Command\-Dict::iterator {\bf atlas::commands::Command\-Mode::iterator}}\label{classatlas_1_1commands_1_1CommandMode_6219448dd272ad0d1a0f3bf7847e853f}




\subsection{Constructor \& Destructor Documentation}
\index{atlas::commands::CommandMode@{atlas::commands::Command\-Mode}!CommandMode@{CommandMode}}
\index{CommandMode@{CommandMode}!atlas::commands::CommandMode@{atlas::commands::Command\-Mode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}atlas::commands::Command\-Mode::Command\-Mode (const char $\ast$, void($\ast$)() {\em entry} = {\tt \&relax\_\-f}, void($\ast$)() {\em exit} = {\tt \&relax\_\-f}, void($\ast$)(const char $\ast$) {\em error} = {\tt \&defaultError})}\label{classatlas_1_1commands_1_1CommandMode_adac7021f04bc8e72313f2e4e1b6b5fa}


\index{atlas::commands::CommandMode@{atlas::commands::Command\-Mode}!~CommandMode@{$\sim$CommandMode}}
\index{~CommandMode@{$\sim$CommandMode}!atlas::commands::CommandMode@{atlas::commands::Command\-Mode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}atlas::commands::Command\-Mode::$\sim$Command\-Mode ()\hspace{0.3cm}{\tt  [virtual]}}\label{classatlas_1_1commands_1_1CommandMode_f6607c92e1657553d2f344919417e5e0}




\subsection{Member Function Documentation}
\index{atlas::commands::CommandMode@{atlas::commands::Command\-Mode}!add@{add}}
\index{add@{add}!atlas::commands::CommandMode@{atlas::commands::Command\-Mode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void atlas::commands::Command\-Mode::add (const char $\ast$ {\em const}, const {\bf Command} \&)}\label{classatlas_1_1commands_1_1CommandMode_65fb92ab1ef8613b4afda24569d08309}


\index{atlas::commands::CommandMode@{atlas::commands::Command\-Mode}!add@{add}}
\index{add@{add}!atlas::commands::CommandMode@{atlas::commands::Command\-Mode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void atlas::commands::Command\-Mode::add (const char $\ast$const  {\em name}, void($\ast$)() {\em action})\hspace{0.3cm}{\tt  [inline]}}\label{classatlas_1_1commands_1_1CommandMode_846d6535c3222b6dac58d038f4a282fb}


\index{atlas::commands::CommandMode@{atlas::commands::Command\-Mode}!begin@{begin}}
\index{begin@{begin}!atlas::commands::CommandMode@{atlas::commands::Command\-Mode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf const\_\-iterator} atlas::commands::Command\-Mode::begin () const\hspace{0.3cm}{\tt  [inline]}}\label{classatlas_1_1commands_1_1CommandMode_9f7bf119c996193f4ecad007df6402b6}


\index{atlas::commands::CommandMode@{atlas::commands::Command\-Mode}!end@{end}}
\index{end@{end}!atlas::commands::CommandMode@{atlas::commands::Command\-Mode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf const\_\-iterator} atlas::commands::Command\-Mode::end () const\hspace{0.3cm}{\tt  [inline]}}\label{classatlas_1_1commands_1_1CommandMode_efd1813784bc72c02f0a1bca091adcec}


\index{atlas::commands::CommandMode@{atlas::commands::Command\-Mode}!entry@{entry}}
\index{entry@{entry}!atlas::commands::CommandMode@{atlas::commands::Command\-Mode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void atlas::commands::Command\-Mode::entry () const\hspace{0.3cm}{\tt  [inline]}}\label{classatlas_1_1commands_1_1CommandMode_6fed6a706449ccae4574f1dd69506e99}


\index{atlas::commands::CommandMode@{atlas::commands::Command\-Mode}!error@{error}}
\index{error@{error}!atlas::commands::CommandMode@{atlas::commands::Command\-Mode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void atlas::commands::Command\-Mode::error (const char $\ast$ {\em str}) const\hspace{0.3cm}{\tt  [inline]}}\label{classatlas_1_1commands_1_1CommandMode_6aad807b9051ceb9d221245ac538b358}


\index{atlas::commands::CommandMode@{atlas::commands::Command\-Mode}!exit@{exit}}
\index{exit@{exit}!atlas::commands::CommandMode@{atlas::commands::Command\-Mode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void atlas::commands::Command\-Mode::exit () const\hspace{0.3cm}{\tt  [inline]}}\label{classatlas_1_1commands_1_1CommandMode_3362522f8bb982b9f5304b2e1edb3fff}


\index{atlas::commands::CommandMode@{atlas::commands::Command\-Mode}!extensions@{extensions}}
\index{extensions@{extensions}!atlas::commands::CommandMode@{atlas::commands::Command\-Mode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void atlas::commands::Command\-Mode::extensions (std::vector$<$ const char $\ast$ $>$ \&, const char $\ast$) const}\label{classatlas_1_1commands_1_1CommandMode_2ff1ef12e3d9fcbacb312062af7430b8}


\index{atlas::commands::CommandMode@{atlas::commands::Command\-Mode}!extensions@{extensions}}
\index{extensions@{extensions}!atlas::commands::CommandMode@{atlas::commands::Command\-Mode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void atlas::commands::Command\-Mode::extensions (std::set$<$ const char $\ast$, {\bf Str\-Cmp} $>$ \&, const char $\ast$) const}\label{classatlas_1_1commands_1_1CommandMode_8dbbe1aab9245620d889f03b565bcedb}


\index{atlas::commands::CommandMode@{atlas::commands::Command\-Mode}!find@{find}}
\index{find@{find}!atlas::commands::CommandMode@{atlas::commands::Command\-Mode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf iterator} atlas::commands::Command\-Mode::find (const char $\ast$ {\em name})\hspace{0.3cm}{\tt  [inline]}}\label{classatlas_1_1commands_1_1CommandMode_41b20841f8e22336b683115c49a4b931}


\index{atlas::commands::CommandMode@{atlas::commands::Command\-Mode}!find@{find}}
\index{find@{find}!atlas::commands::CommandMode@{atlas::commands::Command\-Mode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf const\_\-iterator} atlas::commands::Command\-Mode::find (const char $\ast$ {\em name}) const\hspace{0.3cm}{\tt  [inline]}}\label{classatlas_1_1commands_1_1CommandMode_b7e71e4e13fd94e5029e9cf78b088c2c}


\index{atlas::commands::CommandMode@{atlas::commands::Command\-Mode}!findName@{findName}}
\index{findName@{findName}!atlas::commands::CommandMode@{atlas::commands::Command\-Mode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Command\-Mode::const\_\-iterator} atlas::commands::Command\-Mode::find\-Name (const char $\ast$ {\em name}) const}\label{classatlas_1_1commands_1_1CommandMode_414d14f031f4af7272bc8d4025b65dc4}


\index{atlas::commands::CommandMode@{atlas::commands::Command\-Mode}!next@{next}}
\index{next@{next}!atlas::commands::CommandMode@{atlas::commands::Command\-Mode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual const std::vector$<$const {\bf Command\-Mode}$\ast$$>$\& atlas::commands::Command\-Mode::next () const\hspace{0.3cm}{\tt  [inline, virtual]}}\label{classatlas_1_1commands_1_1CommandMode_ac8b4e4be2c559d2e8917425354e8151}


\index{atlas::commands::CommandMode@{atlas::commands::Command\-Mode}!nextMode@{nextMode}}
\index{nextMode@{nextMode}!atlas::commands::CommandMode@{atlas::commands::Command\-Mode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf Command\-Mode}\& atlas::commands::Command\-Mode::next\-Mode (size\_\-t {\em j}) const\hspace{0.3cm}{\tt  [inline]}}\label{classatlas_1_1commands_1_1CommandMode_844b8c7fe1d64c1cf4fa1c639fa384e5}


\index{atlas::commands::CommandMode@{atlas::commands::Command\-Mode}!prev@{prev}}
\index{prev@{prev}!atlas::commands::CommandMode@{atlas::commands::Command\-Mode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf Command\-Mode}\& atlas::commands::Command\-Mode::prev () const\hspace{0.3cm}{\tt  [inline]}}\label{classatlas_1_1commands_1_1CommandMode_a33afa56af0111658a6e8f641b768614}


\index{atlas::commands::CommandMode@{atlas::commands::Command\-Mode}!prompt@{prompt}}
\index{prompt@{prompt}!atlas::commands::CommandMode@{atlas::commands::Command\-Mode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ atlas::commands::Command\-Mode::prompt () const\hspace{0.3cm}{\tt  [inline]}}\label{classatlas_1_1commands_1_1CommandMode_08f653c2204e02dee9336a09c70b61a2}


\index{atlas::commands::CommandMode@{atlas::commands::Command\-Mode}!setAction@{setAction}}
\index{setAction@{setAction}!atlas::commands::CommandMode@{atlas::commands::Command\-Mode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void atlas::commands::Command\-Mode::set\-Action (const char $\ast$, void($\ast$)())}\label{classatlas_1_1commands_1_1CommandMode_183a8beb68012aea85a76459647425cb}




\subsection{Member Data Documentation}
\index{atlas::commands::CommandMode@{atlas::commands::Command\-Mode}!d_empty@{d\_\-empty}}
\index{d_empty@{d\_\-empty}!atlas::commands::CommandMode@{atlas::commands::Command\-Mode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}std::vector$<$ const {\bf Command\-Mode} $\ast$ $>$ {\bf atlas::commands::Command\-Mode::d\_\-empty}\hspace{0.3cm}{\tt  [static, private]}}\label{classatlas_1_1commands_1_1CommandMode_e8040b4de834069b93f2b5cf7efaa288}


\index{atlas::commands::CommandMode@{atlas::commands::Command\-Mode}!d_entry@{d\_\-entry}}
\index{d_entry@{d\_\-entry}!atlas::commands::CommandMode@{atlas::commands::Command\-Mode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void($\ast$ {\bf atlas::commands::Command\-Mode::d\_\-entry})()\hspace{0.3cm}{\tt  [private]}}\label{classatlas_1_1commands_1_1CommandMode_dae60721cc429d7a063088c9db9ba084}


\index{atlas::commands::CommandMode@{atlas::commands::Command\-Mode}!d_error@{d\_\-error}}
\index{d_error@{d\_\-error}!atlas::commands::CommandMode@{atlas::commands::Command\-Mode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void($\ast$ {\bf atlas::commands::Command\-Mode::d\_\-error})(const char $\ast$)\hspace{0.3cm}{\tt  [private]}}\label{classatlas_1_1commands_1_1CommandMode_5c06226ac2b3de373fdb453110a1a55b}


\index{atlas::commands::CommandMode@{atlas::commands::Command\-Mode}!d_exit@{d\_\-exit}}
\index{d_exit@{d\_\-exit}!atlas::commands::CommandMode@{atlas::commands::Command\-Mode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void($\ast$ {\bf atlas::commands::Command\-Mode::d\_\-exit})()\hspace{0.3cm}{\tt  [private]}}\label{classatlas_1_1commands_1_1CommandMode_75789a66a99ea21eaf3a9739dccbbe44}


\index{atlas::commands::CommandMode@{atlas::commands::Command\-Mode}!d_map@{d\_\-map}}
\index{d_map@{d\_\-map}!atlas::commands::CommandMode@{atlas::commands::Command\-Mode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Command\-Dict} {\bf atlas::commands::Command\-Mode::d\_\-map}\hspace{0.3cm}{\tt  [private]}}\label{classatlas_1_1commands_1_1CommandMode_6a18e1541b7db5972ec0c8989b59b1d4}


\index{atlas::commands::CommandMode@{atlas::commands::Command\-Mode}!d_prev@{d\_\-prev}}
\index{d_prev@{d\_\-prev}!atlas::commands::CommandMode@{atlas::commands::Command\-Mode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf Command\-Mode}$\ast$ {\bf atlas::commands::Command\-Mode::d\_\-prev}\hspace{0.3cm}{\tt  [protected]}}\label{classatlas_1_1commands_1_1CommandMode_ee37f456b4417057056a479a30121aee}


\index{atlas::commands::CommandMode@{atlas::commands::Command\-Mode}!d_prompt@{d\_\-prompt}}
\index{d_prompt@{d\_\-prompt}!atlas::commands::CommandMode@{atlas::commands::Command\-Mode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ {\bf atlas::commands::Command\-Mode::d\_\-prompt}\hspace{0.3cm}{\tt  [private]}}\label{classatlas_1_1commands_1_1CommandMode_cd3852b5924553c6b422cd1bce7d0ed6}




The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
sources/interface/{\bf commands.h}\item 
sources/interface/{\bf commands.cpp}\end{CompactItemize}
