\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 $<$EFC/TFC\_\-geometryPrint.h$>$}\par
{\tt \#include $<$EFC/TFC\_\-geometry.h$>$}\par
{\tt \#include $<$GEO\_\-DB/GEO\_\-DB\_\-schema.h$>$}\par
{\tt \#include $<$CDM/CDM\_\-pubdefs.h$>$}\par
\subsection*{Functions}
\begin{CompactItemize}
\item 
int \hyperlink{geoprint_8c_f6a03ec13368a885d2e931b3375068a4}{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_490f516ea3835fd9264b518b0f6502bb}{
static void \hyperlink{geoprint_8c_490f516ea3835fd9264b518b0f6502bb}{reportUsage} (void)}
\label{geoprint_8c_490f516ea3835fd9264b518b0f6502bb}

\begin{CompactList}\small\item\em Prints a terse message on usage. \item\end{CompactList}\item 
int \hyperlink{geoprint_8c_3c04138a5bfe5d72780bb7e82a18e627}{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.4 2011/03/27 04:55:31 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}


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

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



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


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}


Referenced by main().\hypertarget{geoprint_8c_3c04138a5bfe5d72780bb7e82a18e627}{
\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_3c04138a5bfe5d72780bb7e82a18e627}


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]

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

 \end{Desc}


References geoprint(), and reportUsage().