\section{S\-I\-O\-:\-:S\-I\-O\-Object\-Handler Class Reference}
\label{classSIO_1_1SIOObjectHandler}\index{S\-I\-O\-::\-S\-I\-O\-Object\-Handler@{S\-I\-O\-::\-S\-I\-O\-Object\-Handler}}


Interface for all lcio object S\-I\-O-\/handlers, has to be implemented for all event entities (hits, tracks, clusters,...).  




{\ttfamily \#include $<$S\-I\-O/\-S\-I\-O\-Object\-Handler.\-h$>$}

Inheritance diagram for S\-I\-O\-:\-:S\-I\-O\-Object\-Handler\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=12.000000cm]{classSIO_1_1SIOObjectHandler}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual unsigned int {\bf read} (S\-I\-O\-\_\-stream $\ast$stream, {\bf E\-V\-E\-N\-T\-::\-L\-C\-Object} $\ast$$\ast$obj\-P)=0\label{classSIO_1_1SIOObjectHandler_a1d25906be077d91489ca0013d0e4b23b}

\begin{DoxyCompactList}\small\item\em Reads lcio objects from an \doxyref{S\-I\-O}{p.}{namespaceSIO} stream. \end{DoxyCompactList}\item 
virtual unsigned int {\bf write} (S\-I\-O\-\_\-stream $\ast$stream, const {\bf E\-V\-E\-N\-T\-::\-L\-C\-Object} $\ast$obj)=0\label{classSIO_1_1SIOObjectHandler_aca349383fff2ab223ca9ca6eecd313eb}

\begin{DoxyCompactList}\small\item\em Writes lcio objects to an \doxyref{S\-I\-O}{p.}{namespaceSIO} stream. \end{DoxyCompactList}\item 
virtual unsigned int {\bf init} (S\-I\-O\-\_\-stream $\ast$stream, S\-I\-O\-\_\-operation op, {\bf E\-V\-E\-N\-T\-::\-L\-C\-Collection} $\ast$col, unsigned int vers)
\begin{DoxyCompactList}\small\item\em Initialize the handler and/or the collection. \end{DoxyCompactList}\item 
virtual unsigned int {\bf read\-Base} (S\-I\-O\-\_\-stream $\ast$stream, {\bf E\-V\-E\-N\-T\-::\-L\-C\-Object} $\ast$$\ast$obj\-P)
\begin{DoxyCompactList}\small\item\em Calls \doxyref{read()}{p.}{classSIO_1_1SIOObjectHandler_a1d25906be077d91489ca0013d0e4b23b} if the collection is not a subset otherwise only reads the pointers. \end{DoxyCompactList}\item 
virtual unsigned int {\bf write\-Base} (S\-I\-O\-\_\-stream $\ast$stream, const {\bf E\-V\-E\-N\-T\-::\-L\-C\-Object} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Calls \doxyref{write()}{p.}{classSIO_1_1SIOObjectHandler_aca349383fff2ab223ca9ca6eecd313eb} if the collection is not a subset otherwise only writes the pointers. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
unsigned int {\bfseries \-\_\-flag}\label{classSIO_1_1SIOObjectHandler_a0b6720524baec52d43e85ecfa9e763c6}

\item 
unsigned int {\bfseries \-\_\-vers}\label{classSIO_1_1SIOObjectHandler_a3aa7b6b7e05e60e0e1022f3730041ee7}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Interface for all lcio object S\-I\-O-\/handlers, has to be implemented for all event entities (hits, tracks, clusters,...). 

\begin{DoxyAuthor}{Author}
gaede 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}

\end{DoxyVersion}
\begin{DoxyParagraph}{Id\-:}
\doxyref{S\-I\-O\-Object\-Handler.\-h}{p.}{SIOObjectHandler_8h_source},v 1.\-10 2008-\/11-\/27 16\-:53\-:35 engels Exp 
\end{DoxyParagraph}


\subsection{Member Function Documentation}
\index{S\-I\-O\-::\-S\-I\-O\-Object\-Handler@{S\-I\-O\-::\-S\-I\-O\-Object\-Handler}!init@{init}}
\index{init@{init}!SIO::SIOObjectHandler@{S\-I\-O\-::\-S\-I\-O\-Object\-Handler}}
\subsubsection[{init}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int S\-I\-O\-::\-S\-I\-O\-Object\-Handler\-::init (
\begin{DoxyParamCaption}
\item[{S\-I\-O\-\_\-stream $\ast$}]{stream, }
\item[{S\-I\-O\-\_\-operation}]{op, }
\item[{{\bf E\-V\-E\-N\-T\-::\-L\-C\-Collection} $\ast$}]{col, }
\item[{unsigned int}]{vers}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classSIO_1_1SIOObjectHandler_a085aed71eb24473ac28382f74465dd88}


Initialize the handler and/or the collection. 

Read/write the flag and the parameters. Overwrite for classes that need specific processing. 

Reimplemented in {\bf S\-I\-O\-::\-S\-I\-O\-L\-C\-Generic\-Object\-Handler} \doxyref{}{p.}{classSIO_1_1SIOLCGenericObjectHandler_a1eb709fd8637168e79a4403e8d7fe2aa}, and {\bf S\-I\-O\-::\-S\-I\-O\-Vertex\-Handler} \doxyref{}{p.}{classSIO_1_1SIOVertexHandler_aa853600cb16b407f062bde1f63fdc57f}.



References E\-V\-E\-N\-T\-::\-L\-C\-Collection\-::get\-Flag(), E\-V\-E\-N\-T\-::\-L\-C\-Collection\-::get\-Parameters(), E\-V\-E\-N\-T\-::\-L\-C\-Collection\-::parameters(), and E\-V\-E\-N\-T\-::\-L\-C\-Collection\-::set\-Flag().

\index{S\-I\-O\-::\-S\-I\-O\-Object\-Handler@{S\-I\-O\-::\-S\-I\-O\-Object\-Handler}!read\-Base@{read\-Base}}
\index{read\-Base@{read\-Base}!SIO::SIOObjectHandler@{S\-I\-O\-::\-S\-I\-O\-Object\-Handler}}
\subsubsection[{read\-Base}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int S\-I\-O\-::\-S\-I\-O\-Object\-Handler\-::read\-Base (
\begin{DoxyParamCaption}
\item[{S\-I\-O\-\_\-stream $\ast$}]{stream, }
\item[{{\bf E\-V\-E\-N\-T\-::\-L\-C\-Object} $\ast$$\ast$}]{obj\-P}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classSIO_1_1SIOObjectHandler_a2a6ad175409c6aac99001b01f3257995}


Calls \doxyref{read()}{p.}{classSIO_1_1SIOObjectHandler_a1d25906be077d91489ca0013d0e4b23b} if the collection is not a subset otherwise only reads the pointers. 

\index{S\-I\-O\-::\-S\-I\-O\-Object\-Handler@{S\-I\-O\-::\-S\-I\-O\-Object\-Handler}!write\-Base@{write\-Base}}
\index{write\-Base@{write\-Base}!SIO::SIOObjectHandler@{S\-I\-O\-::\-S\-I\-O\-Object\-Handler}}
\subsubsection[{write\-Base}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int S\-I\-O\-::\-S\-I\-O\-Object\-Handler\-::write\-Base (
\begin{DoxyParamCaption}
\item[{S\-I\-O\-\_\-stream $\ast$}]{stream, }
\item[{const {\bf E\-V\-E\-N\-T\-::\-L\-C\-Object} $\ast$}]{obj}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classSIO_1_1SIOObjectHandler_a1e4449917d187ed29a272fd4e4d3e8f7}


Calls \doxyref{write()}{p.}{classSIO_1_1SIOObjectHandler_aca349383fff2ab223ca9ca6eecd313eb} if the collection is not a subset otherwise only writes the pointers. 



The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
S\-I\-O\-Object\-Handler.\-h\item 
S\-I\-O\-Object\-Handler.\-cc\end{DoxyCompactItemize}
