Show
Ignore:
Timestamp:
09/24/08 13:31:03 (16 years ago)
Author:
smidl
Message:

Latex doc

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • doc/latex/classdirfilelog.tex

    r162 r172  
     1\hypertarget{classdirfilelog}{ 
    12\section{dirfilelog Class Reference} 
    23\label{classdirfilelog}\index{dirfilelog@{dirfilelog}} 
     4} 
    35Logging into dirfile with buffer in memory.   
    46 
     
    2325\begin{CompactItemize} 
    2426\item  
    25 {\bf dirfilelog} (std::string dirname0, int maxlen0) 
     27\hyperlink{classdirfilelog_802eeb6fc4ebf11d97638fd5dc651c68}{dirfilelog} (std::string dirname0, int maxlen0) 
    2628\begin{CompactList}\small\item\em Default constructor. \item\end{CompactList}\item  
    27 void {\bf init} ()\label{classdirfilelog_afeaebe003110f9db1ac43edf8e53a92} 
     29\hypertarget{classdirfilelog_afeaebe003110f9db1ac43edf8e53a92}{ 
     30void \hyperlink{classdirfilelog_afeaebe003110f9db1ac43edf8e53a92}{init} ()} 
     31\label{classdirfilelog_afeaebe003110f9db1ac43edf8e53a92} 
    2832 
    2933\begin{CompactList}\small\item\em Initialize storage. \item\end{CompactList}\item  
    30 void {\bf step} ()\label{classdirfilelog_f5fe9483a041591bfe6f3d6393b02aa7} 
     34\hypertarget{classdirfilelog_f5fe9483a041591bfe6f3d6393b02aa7}{ 
     35void \hyperlink{classdirfilelog_f5fe9483a041591bfe6f3d6393b02aa7}{step} ()} 
     36\label{classdirfilelog_f5fe9483a041591bfe6f3d6393b02aa7} 
    3137 
    3238\begin{CompactList}\small\item\em Shifts storage position for another time step. \item\end{CompactList}\item  
    33 void {\bf finalize} ()\label{classdirfilelog_4d671baf6f88444d7fe25a5b8a80834a} 
     39\hypertarget{classdirfilelog_4d671baf6f88444d7fe25a5b8a80834a}{ 
     40void \hyperlink{classdirfilelog_4d671baf6f88444d7fe25a5b8a80834a}{finalize} ()} 
     41\label{classdirfilelog_4d671baf6f88444d7fe25a5b8a80834a} 
    3442 
    3543\begin{CompactList}\small\item\em Finalize storing information. \item\end{CompactList}\item  
    36 void {\bf write\_\-buffers} (int Len) 
     44void \hyperlink{classdirfilelog_bd95cdb46af194245f88a7b4bf4c66c7}{write\_\-buffers} (int Len) 
    3745\begin{CompactList}\small\item\em Write memory storage to disk. \item\end{CompactList}\item  
    38 void {\bf logit} (int id, vec v)\label{classmemlog_8d2feeb826f7249e9104d616b5a67144} 
     46\hypertarget{classmemlog_8d2feeb826f7249e9104d616b5a67144}{ 
     47void \hyperlink{classmemlog_8d2feeb826f7249e9104d616b5a67144}{logit} (int id, vec v)} 
     48\label{classmemlog_8d2feeb826f7249e9104d616b5a67144} 
    3949 
    4050\begin{CompactList}\small\item\em log this vector \item\end{CompactList}\item  
    41 void {\bf itsave} (const char $\ast$fname)\label{classmemlog_65571ebbb16577b5211adbb27baf769c} 
     51\hypertarget{classmemlog_65571ebbb16577b5211adbb27baf769c}{ 
     52void \hyperlink{classmemlog_65571ebbb16577b5211adbb27baf769c}{itsave} (const char $\ast$fname)} 
     53\label{classmemlog_65571ebbb16577b5211adbb27baf769c} 
    4254 
    4355\begin{CompactList}\small\item\em Save values into an itfile named after {\tt fname}. \item\end{CompactList}\item  
    44 virtual int {\bf add} (const {\bf RV} \&rv, string name=\char`\"{}\char`\"{})\label{classlogger_cfb250a559b71e07a1a6aa92f2185c1b} 
     56\hypertarget{classlogger_cfb250a559b71e07a1a6aa92f2185c1b}{ 
     57virtual int \hyperlink{classlogger_cfb250a559b71e07a1a6aa92f2185c1b}{add} (const \hyperlink{classRV}{RV} \&rv, string name=\char`\"{}\char`\"{})} 
     58\label{classlogger_cfb250a559b71e07a1a6aa92f2185c1b} 
    4559 
    4660\begin{CompactList}\small\item\em returns an identifier which will be later needed for calling the log() function \item\end{CompactList}\end{CompactItemize} 
     
    4862\begin{CompactItemize} 
    4963\item  
    50 string {\bf dirname}\label{classdirfilelog_cba5ff1f74ed22910ed7d63aadf21771} 
     64\hypertarget{classdirfilelog_cba5ff1f74ed22910ed7d63aadf21771}{ 
     65string \hyperlink{classdirfilelog_cba5ff1f74ed22910ed7d63aadf21771}{dirname}} 
     66\label{classdirfilelog_cba5ff1f74ed22910ed7d63aadf21771} 
    5167 
    5268\begin{CompactList}\small\item\em name of the directory \item\end{CompactList}\item  
    53 Array$<$ string $>$ {\bf scalarnames}\label{classdirfilelog_854b7e7cc4cb40542b4a3ea06d915772} 
     69\hypertarget{classdirfilelog_854b7e7cc4cb40542b4a3ea06d915772}{ 
     70Array$<$ string $>$ \hyperlink{classdirfilelog_854b7e7cc4cb40542b4a3ea06d915772}{scalarnames}} 
     71\label{classdirfilelog_854b7e7cc4cb40542b4a3ea06d915772} 
    5472 
    5573\begin{CompactList}\small\item\em Automatically generated. \item\end{CompactList}\item  
    56 int {\bf maxlen}\label{classmemlog_4195f322897ededdac66c404b848ced3} 
     74\hypertarget{classmemlog_4195f322897ededdac66c404b848ced3}{ 
     75int \hyperlink{classmemlog_4195f322897ededdac66c404b848ced3}{maxlen}} 
     76\label{classmemlog_4195f322897ededdac66c404b848ced3} 
    5777 
    5878\begin{CompactList}\small\item\em Maximum length of vectors stored in memory. \item\end{CompactList}\item  
    59 int {\bf ind}\label{classmemlog_3410b4c002636508c43ddcba8d394520} 
     79\hypertarget{classmemlog_3410b4c002636508c43ddcba8d394520}{ 
     80int \hyperlink{classmemlog_3410b4c002636508c43ddcba8d394520}{ind}} 
     81\label{classmemlog_3410b4c002636508c43ddcba8d394520} 
    6082 
    6183\begin{CompactList}\small\item\em Currect record to be written. \item\end{CompactList}\item  
    62 Array$<$ mat $>$ {\bf vectors}\label{classmemlog_f0f5bc7b83539ad102e8f65297852d91} 
     84\hypertarget{classmemlog_f0f5bc7b83539ad102e8f65297852d91}{ 
     85Array$<$ mat $>$ \hyperlink{classmemlog_f0f5bc7b83539ad102e8f65297852d91}{vectors}} 
     86\label{classmemlog_f0f5bc7b83539ad102e8f65297852d91} 
    6387 
    6488\begin{CompactList}\small\item\em Storage. \item\end{CompactList}\item  
    65 Array$<$ {\bf RV} $>$ {\bf entries}\label{classlogger_83eea0cf4fbca59474d015f751f128a7} 
     89\hypertarget{classlogger_83eea0cf4fbca59474d015f751f128a7}{ 
     90Array$<$ \hyperlink{classRV}{RV} $>$ \hyperlink{classlogger_83eea0cf4fbca59474d015f751f128a7}{entries}} 
     91\label{classlogger_83eea0cf4fbca59474d015f751f128a7} 
    6692 
    6793\begin{CompactList}\small\item\em RVs of all logged variables. \item\end{CompactList}\item  
    68 Array$<$ string $>$ {\bf names}\label{classlogger_39cb79e839ca8f8bb9dcbc8c5b9c7786} 
     94\hypertarget{classlogger_39cb79e839ca8f8bb9dcbc8c5b9c7786}{ 
     95Array$<$ string $>$ \hyperlink{classlogger_39cb79e839ca8f8bb9dcbc8c5b9c7786}{names}} 
     96\label{classlogger_39cb79e839ca8f8bb9dcbc8c5b9c7786} 
    6997 
    7098\begin{CompactList}\small\item\em Names of logged quantities, e.g. names of algorithm variants. \item\end{CompactList}\end{CompactItemize} 
     
    79107 
    80108\subsection{Constructor \& Destructor Documentation} 
     109\hypertarget{classdirfilelog_802eeb6fc4ebf11d97638fd5dc651c68}{ 
    81110\index{dirfilelog@{dirfilelog}!dirfilelog@{dirfilelog}} 
    82111\index{dirfilelog@{dirfilelog}!dirfilelog@{dirfilelog}} 
    83 \subsubsection[dirfilelog]{\setlength{\rightskip}{0pt plus 5cm}dirfilelog::dirfilelog (std::string {\em dirname0}, \/  int {\em maxlen0})\hspace{0.3cm}{\tt  [inline]}}\label{classdirfilelog_802eeb6fc4ebf11d97638fd5dc651c68} 
     112\subsubsection[dirfilelog]{\setlength{\rightskip}{0pt plus 5cm}dirfilelog::dirfilelog (std::string {\em dirname0}, \/  int {\em maxlen0})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}} 
     113\label{classdirfilelog_802eeb6fc4ebf11d97638fd5dc651c68} 
    84114 
    85115 
     
    94124 
    95125\subsection{Member Function Documentation} 
     126\hypertarget{classdirfilelog_bd95cdb46af194245f88a7b4bf4c66c7}{ 
    96127\index{dirfilelog@{dirfilelog}!write\_\-buffers@{write\_\-buffers}} 
    97128\index{write\_\-buffers@{write\_\-buffers}!dirfilelog@{dirfilelog}} 
    98 \subsubsection[write\_\-buffers]{\setlength{\rightskip}{0pt plus 5cm}void dirfilelog::write\_\-buffers (int {\em Len})}\label{classdirfilelog_bd95cdb46af194245f88a7b4bf4c66c7} 
     129\subsubsection[write\_\-buffers]{\setlength{\rightskip}{0pt plus 5cm}void dirfilelog::write\_\-buffers (int {\em Len})}} 
     130\label{classdirfilelog_bd95cdb46af194245f88a7b4bf4c66c7} 
    99131 
    100132 
     
    114146The documentation for this class was generated from the following files:\begin{CompactItemize} 
    115147\item  
    116 work/git/mixpp/bdm/stat/{\bf loggers.h}\item  
     148work/git/mixpp/bdm/stat/\hyperlink{loggers_8h}{loggers.h}\item  
    117149work/git/mixpp/bdm/stat/loggers.cpp\end{CompactItemize}