\section{Sadie\_\-Index.c File Reference}
\label{Sadie__Index_8c}\index{Sadie_Index.c@{Sadie\_\-Index.c}}
Indexes to application-wide data structures such as lists of images. 

{\tt \#include \char`\"{}logerr.h\char`\"{}}\par
{\tt \#include $<$unistd.h$>$}\par
{\tt \#include $<$errno.h$>$}\par
{\tt \#include $<$stdlib.h$>$}\par
{\tt \#include $<$string.h$>$}\par
{\tt \#include $<$inttypes.h$>$}\par
{\tt \#include $<$sadie.h$>$}\par
{\tt \#include \char`\"{}Sadie\_\-Index.h\char`\"{}}\par
\subsection*{Classes}
\begin{CompactItemize}
\item 
struct {\bf Sad\_\-doclist}
\begin{CompactList}\small\item\em A hash table implements the list of documents. \item\end{CompactList}\item 
struct {\bf Sad\_\-docitem}
\begin{CompactList}\small\item\em One node of the singly-linked list of documents hanging off a hash bucket. \item\end{CompactList}\item 
struct {\bf Sad\_\-property}
\item 
struct {\bf Sad\_\-propertyitem}
\begin{CompactList}\small\item\em One node of the singly-linked list of properties hanging off a hash bucket. \item\end{CompactList}\item 
struct {\bf Sad\_\-doc}
\begin{CompactList}\small\item\em Each document contains a SADIE image with its property hash table. \item\end{CompactList}\end{CompactItemize}
\subsection*{Typedefs}
\begin{CompactItemize}
\item 
typedef Sad\_\-property $\ast$ {\bf sad\_\-propertyp\_\-t}\label{Sadie__Index_8c_a3}

\item 
typedef {\bf Sad\_\-docitem} $\ast$ {\bf sad\_\-docitemp\_\-t}\label{Sadie__Index_8c_a4}

\item 
typedef {\bf Sad\_\-doc} $\ast$ {\bf sad\_\-docp\_\-t}\label{Sadie__Index_8c_a5}

\item 
typedef {\bf Sad\_\-propertyitem} $\ast$ {\bf sad\_\-propertyitemp\_\-t}\label{Sadie__Index_8c_a6}

\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
void {\bf dispose\_\-doclist} ({\bf sad\_\-doclistp\_\-t} thedoclist)\label{Sadie__Index_8c_a11}

\item 
sad\_\-propertyp\_\-t {\bf make\_\-property} (sad\_\-property\_\-data\_\-destructor\_\-t yourdestruct, void $\ast$yourdata)\label{Sadie__Index_8c_a13}

\item 
{\bf sad\_\-doclistp\_\-t} {\bf make\_\-doclist} (int logsize)\label{Sadie__Index_8c_a14}

\begin{CompactList}\small\item\em Create a new empty document list. \item\end{CompactList}\item 
int {\bf sad\_\-put\_\-doc} ({\bf sad\_\-doclistp\_\-t} doclist, const char $\ast$dkey, int logpsize, const IMAGE $\ast$img)\label{Sadie__Index_8c_a17}

\item 
int {\bf sad\_\-dispose\_\-doc} ({\bf sad\_\-doclistp\_\-t} doclist, const char $\ast$dkey)\label{Sadie__Index_8c_a18}

\item 
int {\bf sad\_\-put\_\-doc\_\-property} ({\bf sad\_\-doclistp\_\-t} doclist, const char $\ast$dkey, const char $\ast$pkey, sad\_\-property\_\-data\_\-destructor\_\-t destruct, void $\ast$data)\label{Sadie__Index_8c_a21}

\item 
void $\ast$ {\bf sad\_\-get\_\-doc\_\-property} (const {\bf sad\_\-doclistp\_\-t} doclist, const char $\ast$dkey, const char $\ast$pkey)\label{Sadie__Index_8c_a22}

\end{CompactItemize}


\subsection{Detailed Description}
Indexes to application-wide data structures such as lists of images. 

SADIE represents images as structures that contain the pixel data and a limited range of other information. A simple in-memory database can however associate arbitrary metadata with the images, and track additional information not associated with a particular image.

\begin{Desc}
\item[Author:]University of Arizona Digital Image Analysis Lab \end{Desc}
\begin{Desc}
\item[Date:]2004 \end{Desc}
\begin{Desc}
\item[Version:]\begin{Desc}
\item[Id]{\bf Sadie\_\-Index.c}{\rm (p.\,\pageref{Sadie__Index_8c})},v 1.4 2004/09/07 23:35:08 mmunro Exp \end{Desc}
\end{Desc}
