summaryrefslogtreecommitdiff
path: root/doc/latex/options_8cpp.tex
diff options
context:
space:
mode:
authorErwin Nindl <nine@wirdorange.org>2007-12-07 17:46:13 +0000
committerErwin Nindl <nine@wirdorange.org>2007-12-07 17:46:13 +0000
commit809b470ce90e53c532dfebc44c2e7c169c33402f (patch)
treefbb0fd7afa2f3b0f214b74b448c411c02121e3c1 /doc/latex/options_8cpp.tex
parentssl comments (diff)
removed doxygen folders from svn
Diffstat (limited to 'doc/latex/options_8cpp.tex')
-rw-r--r--doc/latex/options_8cpp.tex79
1 files changed, 0 insertions, 79 deletions
diff --git a/doc/latex/options_8cpp.tex b/doc/latex/options_8cpp.tex
deleted file mode 100644
index 251b52b..0000000
--- a/doc/latex/options_8cpp.tex
+++ /dev/null
@@ -1,79 +0,0 @@
-\section{options.cpp File Reference}
-\label{options_8cpp}\index{options.cpp@{options.cpp}}
-{\tt \#include $<$iostream$>$}\par
-{\tt \#include $<$string$>$}\par
-{\tt \#include $<$sstream$>$}\par
-{\tt \#include \char`\"{}datatypes.h\char`\"{}}\par
-{\tt \#include \char`\"{}options.h\char`\"{}}\par
-\subsection*{Defines}
-\begin{CompactItemize}
-\item
-\#define {\bf PARSE\_\-BOOL\_\-PARAM}(SHORT, LONG, VALUE)
-\item
-\#define {\bf PARSE\_\-INVERSE\_\-BOOL\_\-PARAM}(SHORT, LONG, VALUE)
-\item
-\#define {\bf PARSE\_\-SCALAR\_\-PARAM}(SHORT, LONG, VALUE)
-\item
-\#define {\bf PARSE\_\-SCALAR\_\-PARAM2}(SHORT, LONG, VALUE1, VALUE2)
-\end{CompactItemize}
-
-
-\subsection{Define Documentation}
-\index{options.cpp@{options.cpp}!PARSE_BOOL_PARAM@{PARSE\_\-BOOL\_\-PARAM}}
-\index{PARSE_BOOL_PARAM@{PARSE\_\-BOOL\_\-PARAM}!options.cpp@{options.cpp}}
-\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define PARSE\_\-BOOL\_\-PARAM(SHORT, LONG, VALUE)}\label{options_8cpp_b2c4e3c2031ae2187d3995f4b4848e10}
-
-
-\textbf{Value:}
-
-\begin{Code}\begin{verbatim}else if(str == SHORT || str == LONG) \
- VALUE = true;
-\end{verbatim}\end{Code}
-\index{options.cpp@{options.cpp}!PARSE_INVERSE_BOOL_PARAM@{PARSE\_\-INVERSE\_\-BOOL\_\-PARAM}}
-\index{PARSE_INVERSE_BOOL_PARAM@{PARSE\_\-INVERSE\_\-BOOL\_\-PARAM}!options.cpp@{options.cpp}}
-\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define PARSE\_\-INVERSE\_\-BOOL\_\-PARAM(SHORT, LONG, VALUE)}\label{options_8cpp_0d965a5094bb6aa3a39c4ff7ea99a13f}
-
-
-\textbf{Value:}
-
-\begin{Code}\begin{verbatim}else if(str == SHORT || str == LONG) \
- VALUE = false;
-\end{verbatim}\end{Code}
-\index{options.cpp@{options.cpp}!PARSE_SCALAR_PARAM@{PARSE\_\-SCALAR\_\-PARAM}}
-\index{PARSE_SCALAR_PARAM@{PARSE\_\-SCALAR\_\-PARAM}!options.cpp@{options.cpp}}
-\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define PARSE\_\-SCALAR\_\-PARAM(SHORT, LONG, VALUE)}\label{options_8cpp_8c39923ab70d37dd4ac5c17b7b41df93}
-
-
-\textbf{Value:}
-
-\begin{Code}\begin{verbatim}else if(str == SHORT || str == LONG) \
- { \
- if(argc < 1 || argv[i+1][0] == '-') \
- return false; \
- std::stringstream tmp; \
- tmp << argv[i+1]; \
- tmp >> VALUE; \
- argc--; \
- i++; \
- }
-\end{verbatim}\end{Code}
-\index{options.cpp@{options.cpp}!PARSE_SCALAR_PARAM2@{PARSE\_\-SCALAR\_\-PARAM2}}
-\index{PARSE_SCALAR_PARAM2@{PARSE\_\-SCALAR\_\-PARAM2}!options.cpp@{options.cpp}}
-\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define PARSE\_\-SCALAR\_\-PARAM2(SHORT, LONG, VALUE1, VALUE2)}\label{options_8cpp_ff99f765434c4a73e4b4b9f5d71022e2}
-
-
-\textbf{Value:}
-
-\begin{Code}\begin{verbatim}else if(str == SHORT || str == LONG) \
- { \
- if(argc < 2 || \
- argv[i+1][0] == '-' || argv[i+2][0] == '-') \
- return false; \
- std::stringstream tmp; \
- tmp << argv[i+1] << " " << argv[i+2]; \
- tmp >> VALUE1; \
- tmp >> VALUE2; \
- argc-=2; \
- i+=2; \
- }
-\end{verbatim}\end{Code}