<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\section{S\-I\-O\-:\-:Run\-Event\-Map Class Reference}
\label{classSIO_1_1RunEventMap}\index{S\-I\-O\-::\-Run\-Event\-Map@{S\-I\-O\-::\-Run\-Event\-Map}}


Map that holds positions of Run and Event records.  




{\ttfamily \#include $&lt;$S\-I\-O/\-Run\-Event\-Map.\-h$&gt;$}

\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef std\-::map$&lt;$ {\bf Run\-Event}, \\*
long64 $&gt;$ {\bfseries Map\-Type}\label{classSIO_1_1RunEventMap_a36eafcdab2fbe35d0a10f56f624d5fd8}

\item 
typedef Map\-Type\-::iterator {\bfseries Map\-\_\-\-I\-T}\label{classSIO_1_1RunEventMap_aeb6509eb98016cf1daa419fa3bd8cfea}

\item 
typedef Map\-Type\-::const\-\_\-iterator {\bfseries Map\-\_\-c\-I\-T}\label{classSIO_1_1RunEventMap_a19321afc5ad40fe98be319187c334894}

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void {\bf add} (const {\bf Run\-Event} \&amp;re, long64 pos)\label{classSIO_1_1RunEventMap_aac868d6da0ddf15b557d126db5c7e17f}

\begin{DoxyCompactList}\small\item\em Add a new entry to the event map -\/ if the \doxyref{Run\-Event}{p.}{structSIO_1_1RunEvent} already exists the new position will be stored. \end{DoxyCompactList}\item 
long64 {\bf get\-Position} (const {\bf Run\-Event} \&amp;re)
\begin{DoxyCompactList}\small\item\em Return the position of the specified Event record or Run record respectively (if Event\-Num == -\/1 ). \end{DoxyCompactList}\item 
long64 {\bf get\-Position} (long64 re)\label{classSIO_1_1RunEventMap_a61b41f76ca6ddcb40523a593c36a21c8}

\begin{DoxyCompactList}\small\item\em Same as \doxyref{get\-Position(const Run\-Event\&amp; re )}{p.}{classSIO_1_1RunEventMap_a362eaa6cff4d703a469401e335e9b761}. \end{DoxyCompactList}\item 
{\bf Run\-Event} {\bfseries min\-Run\-Event} ()\label{classSIO_1_1RunEventMap_af87b1dfa29e862a33843bb0dfbfa79f3}

\item 
{\bf Run\-Event} {\bfseries max\-Run\-Event} ()\label{classSIO_1_1RunEventMap_a6e3c6c5b6499448e4b192b46ad364a1c}

\item 
int {\bfseries get\-Number\-Of\-Event\-Records} () const \label{classSIO_1_1RunEventMap_a0a5a49f37c446393d881afb4db79a321}

\item 
int {\bfseries get\-Number\-Of\-Run\-Records} () const \label{classSIO_1_1RunEventMap_a80300573816a8145ce2e586f3015b366}

\item 
size\-\_\-t {\bfseries size} ()\label{classSIO_1_1RunEventMap_a03952d563582a86fd937f91514767ba8}

\item 
Map\-\_\-\-I\-T {\bfseries begin} ()\label{classSIO_1_1RunEventMap_a341457b5078d4291289cdbeda4aa4f16}

\item 
Map\-\_\-\-I\-T {\bfseries end} ()\label{classSIO_1_1RunEventMap_a81c3bc6ab999e39bd2ad3b6bd6fa2edd}

\item 
Map\-\_\-c\-I\-T {\bfseries begin} () const \label{classSIO_1_1RunEventMap_af5273070da6b23e3f034d82ae66e4c6f}

\item 
Map\-\_\-c\-I\-T {\bfseries end} () const \label{classSIO_1_1RunEventMap_a21980b9e58f1a2565fbf94415dc9d165}

\item 
bool {\bfseries empty} () const \label{classSIO_1_1RunEventMap_adfa4fbd3f57351cb963f8fe01a4b9136}

\item 
{\footnotesize template$&lt;$class Input\-Iterator $&gt;$ }\\void {\bfseries insert} (Input\-Iterator b, Input\-Iterator e)\label{classSIO_1_1RunEventMap_a6d61a470bfde6c090d8fab14201c16d3}

\item 
void {\bfseries clear} ()\label{classSIO_1_1RunEventMap_abe60c0fadad60ed23605e79a4b42763d}

\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static const int {\bfseries N\-Pos} = -\/1\label{classSIO_1_1RunEventMap_ac9e61b2f2352fc712872d5bf7bb3160a}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
Map\-Type {\bfseries \-\_\-map}\label{classSIO_1_1RunEventMap_acafcb94e68321570351bacb0d8a41bb6}

\item 
int {\bfseries \-\_\-n\-Run}\label{classSIO_1_1RunEventMap_a81aa780499c9a9149c40ec60f4511fc5}

\item 
int {\bfseries \-\_\-n\-Evt}\label{classSIO_1_1RunEventMap_a0f564cfe518181a81ed516c623bb9328}

\end{DoxyCompactItemize}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
std\-::ostream \&amp; {\bfseries operator$&lt;$$&lt;$} (std\-::ostream \&amp;os, const {\bf Run\-Event\-Map} \&amp;rm)\label{classSIO_1_1RunEventMap_ad84d0ba2663d8c3c8ef005913dbaebe2}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Map that holds positions of Run and Event records. 

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

\end{DoxyVersion}
\begin{DoxyParagraph}{Id\-:}
\doxyref{Run\-Event\-Map.\-h}{p.}{RunEventMap_8h_source},v 1.\-3 2011-\/03-\/03 16\-:00\-:12 gaede Exp 
\end{DoxyParagraph}


\subsection{Member Function Documentation}
\index{S\-I\-O\-::\-Run\-Event\-Map@{S\-I\-O\-::\-Run\-Event\-Map}!get\-Position@{get\-Position}}
\index{get\-Position@{get\-Position}!SIO::RunEventMap@{S\-I\-O\-::\-Run\-Event\-Map}}
\subsubsection[{get\-Position}]{\setlength{\rightskip}{0pt plus 5cm}long64 S\-I\-O\-::\-Run\-Event\-Map\-::get\-Position (
\begin{DoxyParamCaption}
\item[{const {\bf Run\-Event} \&amp;}]{re}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\label{classSIO_1_1RunEventMap_a362eaa6cff4d703a469401e335e9b761}


Return the position of the specified Event record or Run record respectively (if Event\-Num == -\/1 ). 

Returns Run\-Event\-Map\-::\-N\-Pos if no record found. 

Referenced by S\-I\-O\-::\-L\-C\-I\-O\-Random\-Access\-Mgr\-::get\-Position().



The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Run\-Event\-Map.\-h\item 
Run\-Event\-Map.\-cc\end{DoxyCompactItemize}
</pre></body></html>