\section{memlog Class Reference}
\label{classmemlog}\index{memlog@{memlog}}
Logging into matrices in data format in memory.  


{\tt \#include $<$loggers.h$>$}

Inheritance diagram for memlog:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=48pt]{classmemlog__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for memlog:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=47pt]{classmemlog__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf memlog} (int maxlen0)\label{classmemlog_e056e819c5a65d4431bfe7955b1efe97}

\begin{CompactList}\small\item\em Default constructor. \item\end{CompactList}\item 
void {\bf init} ()\label{classmemlog_b081ef5acb4816e6b5fcb56c19cc7e47}

\begin{CompactList}\small\item\em Initialize storage. \item\end{CompactList}\item 
void {\bf step} ()\label{classmemlog_c97961eda9cda9f0e63c703cf21e5804}

\begin{CompactList}\small\item\em Shifts storage position for another time step. \item\end{CompactList}\item 
void {\bf logit} (int id, vec v)\label{classmemlog_8d2feeb826f7249e9104d616b5a67144}

\begin{CompactList}\small\item\em log this vector \item\end{CompactList}\item 
void {\bf itsave} (const char $\ast$fname)\label{classmemlog_65571ebbb16577b5211adbb27baf769c}

\begin{CompactList}\small\item\em Save values into an itfile named after {\tt fname}. \item\end{CompactList}\item 
virtual int {\bf add} (const {\bf RV} \&rv, string name=\char`\"{}\char`\"{})\label{classlogger_cfb250a559b71e07a1a6aa92f2185c1b}

\begin{CompactList}\small\item\em returns an identifier which will be later needed for calling the log() function \item\end{CompactList}\item 
virtual void {\bf finalize} ()\label{classlogger_51c1aa8a84a14097b51607a187ae3617}

\begin{CompactList}\small\item\em Finalize storing information. \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
int {\bf maxlen}\label{classmemlog_4195f322897ededdac66c404b848ced3}

\begin{CompactList}\small\item\em Maximum length of vectors stored in memory. \item\end{CompactList}\item 
int {\bf ind}\label{classmemlog_3410b4c002636508c43ddcba8d394520}

\begin{CompactList}\small\item\em Currect record to be written. \item\end{CompactList}\item 
Array$<$ mat $>$ {\bf vectors}\label{classmemlog_f0f5bc7b83539ad102e8f65297852d91}

\begin{CompactList}\small\item\em Storage. \item\end{CompactList}\item 
Array$<$ {\bf RV} $>$ {\bf entries}\label{classlogger_83eea0cf4fbca59474d015f751f128a7}

\begin{CompactList}\small\item\em RVs of all logged variables. \item\end{CompactList}\item 
Array$<$ string $>$ {\bf names}\label{classlogger_39cb79e839ca8f8bb9dcbc8c5b9c7786}

\begin{CompactList}\small\item\em Names of logged quantities, e.g. names of algorithm variants. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Logging into matrices in data format in memory. 

More?... 

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
work/git/mixpp/bdm/stat/{\bf loggers.h}\item 
work/git/mixpp/bdm/stat/loggers.cpp\end{CompactItemize}
