\hypertarget{geoprint_8c}{
\section{geoprint.c File Reference}
\label{geoprint_8c}\index{geoprint.c@{geoprint.c}}
}
Prints the geometry used by the filter program. 

{\tt \#include $<$stdlib.h$>$}\par
{\tt \#include $<$stdio.h$>$}\par
{\tt \#include \char`\"{}EFC/TFC\_\-geometry\-Print.h\char`\"{}}\par
{\tt \#include \char`\"{}EFC/TFC\_\-geometry.h\char`\"{}}\par
{\tt \#include \char`\"{}GEO\_\-DB/GEO\_\-DB\_\-schema.h\char`\"{}}\par
{\tt \#include \char`\"{}CDM/CDM\_\-pubdefs.h\char`\"{}}\par


Include dependency graph for geoprint.c:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=155pt]{geoprint_8c__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{CompactItemize}
\item 
int \hyperlink{geoprint_8c_a0}{geoprint} (void)
\begin{CompactList}\small\item\em Acts as both the business end for host platforms or the entry point for embedded systems. \item\end{CompactList}\item 
\hypertarget{geoprint_8c_a1}{
static void \hyperlink{geoprint_8c_a1}{report\-Usage} (void)}
\label{geoprint_8c_a1}

\begin{CompactList}\small\item\em Prints a terse message on usage. \item\end{CompactList}\item 
int \hyperlink{geoprint_8c_a2}{main} (int argc, char $\ast$$\ast$argv)
\begin{CompactList}\small\item\em Main program to print the contents of a GEO\_\-DB. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Prints the geometry used by the filter program. 

\begin{Desc}
\item[Author:]JJRussell - \href{mailto:russell@slac.stanford.edu}{\tt russell@slac.stanford.edu}\end{Desc}


\footnotesize\begin{verbatim}    CVS $Id: geoprint.c,v 1.3 2007/06/17 22:21:33 russell Exp $
\end{verbatim}
\normalsize


\begin{Desc}
\item[]This is a simply program to check the geometry. It mainly useful when developing new geometries and during debugging of those sections of the filter program that depend on the geometry.\end{Desc}
\begin{Desc}
\item[]To run the program\end{Desc}


\footnotesize\begin{verbatim}    $ geoprint <geometry>

      where
      geometry  The full name of the CDM geometry shareable
\end{verbatim}
\normalsize


\begin{Desc}
\item[]This works at for both hosts and VXWORKS embedded systems. It assumes the geometry (DB) instance is 0.\end{Desc}


\subsection{Function Documentation}
\hypertarget{geoprint_8c_a0}{
\index{geoprint.c@{geoprint.c}!geoprint@{geoprint}}
\index{geoprint@{geoprint}!geoprint.c@{geoprint.c}}
\subsubsection[geoprint]{\setlength{\rightskip}{0pt plus 5cm}int geoprint (void)}}
\label{geoprint_8c_a0}


Acts as both the business end for host platforms or the entry point for embedded systems. 

\begin{Desc}
\item[Warning:]Currently this program assumes that the geometry is instance 0.\end{Desc}
\hypertarget{geoprint_8c_a2}{
\index{geoprint.c@{geoprint.c}!main@{main}}
\index{main@{main}!geoprint.c@{geoprint.c}}
\subsubsection[main]{\setlength{\rightskip}{0pt plus 5cm}int main (int {\em argc}, char $\ast$$\ast$ {\em argv})}}
\label{geoprint_8c_a2}


Main program to print the contents of a GEO\_\-DB. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em argc}]The argument count \item[{\em argv}]The vector of arguments\end{description}
\end{Desc}
\begin{Desc}
\item[Usage]

\footnotesize\begin{verbatim}      $ geoprint $CMX_B_GGF/sun-gcc/geo_db_data/libgeo_db_data.so
\end{verbatim}
\normalsize
\end{Desc}
