\section{lccd\-:\-:V\-Collection\-Streamer Class Reference}
\label{classlccd_1_1VCollectionStreamer}\index{lccd\-::\-V\-Collection\-Streamer@{lccd\-::\-V\-Collection\-Streamer}}


Base class for L\-C\-Collection streamer classes.  




{\ttfamily \#include $<$V\-Collection\-Streamer.\-hh$>$}

Inheritance diagram for lccd\-:\-:V\-Collection\-Streamer\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{classlccd_1_1VCollectionStreamer}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual void {\bf set\-Collection} (lcio\-::\-L\-C\-Collection $\ast$col)\label{classlccd_1_1VCollectionStreamer_ab61c112ec59ec20074b70e6a18c0643b}

\begin{DoxyCompactList}\small\item\em Set the collection that will be stored in the database. \end{DoxyCompactList}\item 
virtual lcio\-::\-L\-C\-Collection $\ast$ {\bf get\-Collection} ()
\begin{DoxyCompactList}\small\item\em Get the collection retrieved from the database. \end{DoxyCompactList}\item 
virtual {\bf V\-Collection\-Streamer} $\ast$ {\bf create} ()=0
\begin{DoxyCompactList}\small\item\em Covariant factory method. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual void {\bf write\-Parameters} (std\-::string \&s) const \label{classlccd_1_1VCollectionStreamer_a7cdfbbae633b65a7b70e6af78bda5d77}

\begin{DoxyCompactList}\small\item\em Write the collection's parameters to the string/stream. \end{DoxyCompactList}\item 
virtual unsigned {\bf read\-Parameters} (const std\-::string \&s, unsigned index)\label{classlccd_1_1VCollectionStreamer_a5f4de73fe0c7f33faf2497bb652a6eef}

\begin{DoxyCompactList}\small\item\em Read the collection's parameters from the stream. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
lcio\-::\-L\-C\-Collection $\ast$ {\bfseries \-\_\-col}\label{classlccd_1_1VCollectionStreamer_abd6942543179cda6dc3276e2e195da71}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Base class for L\-C\-Collection streamer classes. 

\begin{DoxyAuthor}{Author}
F.\-Gaede, D\-E\-S\-Y 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}

\end{DoxyVersion}
\begin{DoxyParagraph}{Id\-:}
\doxyref{V\-Collection\-Streamer.\-hh}{p.}{VCollectionStreamer_8hh_source},v 1.\-2 2007-\/04-\/27 13\-:21\-:31 gaede Exp 
\end{DoxyParagraph}


\subsection{Member Function Documentation}
\index{lccd\-::\-V\-Collection\-Streamer@{lccd\-::\-V\-Collection\-Streamer}!create@{create}}
\index{create@{create}!lccd::VCollectionStreamer@{lccd\-::\-V\-Collection\-Streamer}}
\subsubsection[{create}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf V\-Collection\-Streamer}$\ast$ lccd\-::\-V\-Collection\-Streamer\-::create (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classlccd_1_1VCollectionStreamer_af8568ac40446a97ef0bfea9d1ff43854}


Covariant factory method. 

Subclasses need to return a new instance of their type. 

Implemented in {\bf lccd\-::\-L\-C\-Generic\-Object\-Streamer} \doxyref{}{p.}{classlccd_1_1LCGenericObjectStreamer_a1ba50f00ffd4b7ccadb184408589982c}.



Referenced by lccd\-::\-Streamer\-Mgr\-::get\-Streamer().

\index{lccd\-::\-V\-Collection\-Streamer@{lccd\-::\-V\-Collection\-Streamer}!get\-Collection@{get\-Collection}}
\index{get\-Collection@{get\-Collection}!lccd::VCollectionStreamer@{lccd\-::\-V\-Collection\-Streamer}}
\subsubsection[{get\-Collection}]{\setlength{\rightskip}{0pt plus 5cm}virtual lcio\-::\-L\-C\-Collection$\ast$ lccd\-::\-V\-Collection\-Streamer\-::get\-Collection (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}\label{classlccd_1_1VCollectionStreamer_af9c525dba76ba581af545b9b0c15c053}


Get the collection retrieved from the database. 

It is the callers responsibility to delete the collection. F\-I\-X\-M\-E\-: is this reasonable ? 

The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
V\-Collection\-Streamer.\-hh\item 
V\-Collection\-Streamer.\-cc\end{DoxyCompactItemize}
