\hypertarget{classeo_aged}{}\doxysection{eo\+Aged$<$ Object $>$ Class Template Reference}
\label{classeo_aged}\index{eoAged$<$ Object $>$@{eoAged$<$ Object $>$}}


{\ttfamily \#include $<$eo\+Aged.\+h$>$}



Inheritance diagram for eo\+Aged$<$ Object $>$\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=187pt]{classeo_aged__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for eo\+Aged$<$ Object $>$\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=187pt]{classeo_aged__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classeo_aged_a5b105f041a25dd2577dc6f6518779afb}\label{classeo_aged_a5b105f041a25dd2577dc6f6518779afb}} 
\mbox{\hyperlink{classeo_aged_a5b105f041a25dd2577dc6f6518779afb}{eo\+Aged}} (const Object \&\+\_\+o)
\begin{DoxyCompactList}\small\item\em Main ctor from an already built Object. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classeo_aged_af1fd137cf9ed90e9d3177fae2b896d38}\label{classeo_aged_af1fd137cf9ed90e9d3177fae2b896d38}} 
\mbox{\hyperlink{classeo_aged_af1fd137cf9ed90e9d3177fae2b896d38}{eo\+Aged}} (const \mbox{\hyperlink{classeo_aged}{eo\+Aged}} \&\+\_\+a)
\begin{DoxyCompactList}\small\item\em Copy constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classeo_aged_a9e5478d5e67c1a26895e54e42dffe218}\label{classeo_aged_a9e5478d5e67c1a26895e54e42dffe218}} 
virtual \mbox{\hyperlink{classeo_aged_a9e5478d5e67c1a26895e54e42dffe218}{$\sim$eo\+Aged}} ()
\begin{DoxyCompactList}\small\item\em Virtual dtor. They are needed in virtual class hierarchies. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classeo_aged_a30cf099f74470aa9de50a1617d72205f}\label{classeo_aged_a30cf099f74470aa9de50a1617d72205f}} 
unsigned long \mbox{\hyperlink{classeo_aged_a30cf099f74470aa9de50a1617d72205f}{Age}} () const
\begin{DoxyCompactList}\small\item\em returns the age of the object \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classeo_aged_a749f75c3052f5d667563292c86d237ed}\label{classeo_aged_a749f75c3052f5d667563292c86d237ed}} 
const \mbox{\hyperlink{classeo_aged}{eo\+Aged}} \& \mbox{\hyperlink{classeo_aged_a749f75c3052f5d667563292c86d237ed}{operator++}} ()
\begin{DoxyCompactList}\small\item\em Increments age. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classeo_aged_a5b105f041a25dd2577dc6f6518779afb}\label{classeo_aged_a5b105f041a25dd2577dc6f6518779afb}} 
\mbox{\hyperlink{classeo_aged_a5b105f041a25dd2577dc6f6518779afb}{eo\+Aged}} (const Object \&\+\_\+o)
\begin{DoxyCompactList}\small\item\em Main ctor from an already built Object. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classeo_aged_af1fd137cf9ed90e9d3177fae2b896d38}\label{classeo_aged_af1fd137cf9ed90e9d3177fae2b896d38}} 
\mbox{\hyperlink{classeo_aged_af1fd137cf9ed90e9d3177fae2b896d38}{eo\+Aged}} (const \mbox{\hyperlink{classeo_aged}{eo\+Aged}} \&\+\_\+a)
\begin{DoxyCompactList}\small\item\em Copy constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classeo_aged_a9e5478d5e67c1a26895e54e42dffe218}\label{classeo_aged_a9e5478d5e67c1a26895e54e42dffe218}} 
virtual \mbox{\hyperlink{classeo_aged_a9e5478d5e67c1a26895e54e42dffe218}{$\sim$eo\+Aged}} ()
\begin{DoxyCompactList}\small\item\em Virtual dtor. They are needed in virtual class hierarchies. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classeo_aged_a30cf099f74470aa9de50a1617d72205f}\label{classeo_aged_a30cf099f74470aa9de50a1617d72205f}} 
unsigned long \mbox{\hyperlink{classeo_aged_a30cf099f74470aa9de50a1617d72205f}{Age}} () const
\begin{DoxyCompactList}\small\item\em returns the age of the object \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classeo_aged_a749f75c3052f5d667563292c86d237ed}\label{classeo_aged_a749f75c3052f5d667563292c86d237ed}} 
const \mbox{\hyperlink{classeo_aged}{eo\+Aged}} \& \mbox{\hyperlink{classeo_aged_a749f75c3052f5d667563292c86d237ed}{operator++}} ()
\begin{DoxyCompactList}\small\item\em Increments age. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Methods from eo\+Object}
\label{_amgrp58da9877e42ee9135eb4695a08dfee03}%
read\+From and print\+On are directly inherited from eo1d \begin{DoxyCompactItemize}
\item 
virtual std\+::string \mbox{\hyperlink{classeo_aged_a51104024c46262fb19ba53b1050ac05a}{class\+Name}} () const
\item 
virtual void \mbox{\hyperlink{classeo_aged_a2199d17af7a387b5b8337a0f0318b716}{read\+From}} (istream \&\+\_\+is)
\item 
virtual void \mbox{\hyperlink{classeo_aged_a165368ac7ecd14c7469df24f68c95148}{print\+On}} (ostream \&\+\_\+os) const
\item 
virtual std\+::string \mbox{\hyperlink{classeo_aged_a51104024c46262fb19ba53b1050ac05a}{class\+Name}} () const
\item 
virtual void \mbox{\hyperlink{classeo_aged_a2199d17af7a387b5b8337a0f0318b716}{read\+From}} (istream \&\+\_\+is)
\item 
virtual void \mbox{\hyperlink{classeo_aged_a165368ac7ecd14c7469df24f68c95148}{print\+On}} (ostream \&\+\_\+os) const
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\subsubsection*{template$<$class Object$>$\newline
class eo\+Aged$<$ Object $>$}

eo\+Age is a template class that adds an age to an object.\textbackslash{} Requisites for template instantiation are that the object must admit a default ctor and a copy ctor. The Object must be an \mbox{\hyperlink{classeo_object}{eo\+Object}}, thus, it must have its methods\+: class\+Name, print\+On, read\+From. \begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{classeo_object}{eo\+Object}} 
\end{DoxySeeAlso}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classeo_aged_a51104024c46262fb19ba53b1050ac05a}\label{classeo_aged_a51104024c46262fb19ba53b1050ac05a}} 
\index{eoAged$<$ Object $>$@{eoAged$<$ Object $>$}!className@{className}}
\index{className@{className}!eoAged$<$ Object $>$@{eoAged$<$ Object $>$}}
\doxysubsubsection{\texorpdfstring{className()}{className()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily template$<$class Object $>$ \\
virtual std\+::string \mbox{\hyperlink{classeo_aged}{eo\+Aged}}$<$ Object $>$\+::class\+Name (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

Return the class id. This should be redefined in each class; but it\textquotesingle{}s got code as an example of implementation. Only \char`\"{}leaf\char`\"{} classes can be non-\/virtual. \mbox{\Hypertarget{classeo_aged_a51104024c46262fb19ba53b1050ac05a}\label{classeo_aged_a51104024c46262fb19ba53b1050ac05a}} 
\index{eoAged$<$ Object $>$@{eoAged$<$ Object $>$}!className@{className}}
\index{className@{className}!eoAged$<$ Object $>$@{eoAged$<$ Object $>$}}
\doxysubsubsection{\texorpdfstring{className()}{className()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily template$<$class Object $>$ \\
virtual std\+::string \mbox{\hyperlink{classeo_aged}{eo\+Aged}}$<$ Object $>$\+::class\+Name (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

Return the class id. This should be redefined in each class; but it\textquotesingle{}s got code as an example of implementation. Only \char`\"{}leaf\char`\"{} classes can be non-\/virtual. \mbox{\Hypertarget{classeo_aged_a165368ac7ecd14c7469df24f68c95148}\label{classeo_aged_a165368ac7ecd14c7469df24f68c95148}} 
\index{eoAged$<$ Object $>$@{eoAged$<$ Object $>$}!printOn@{printOn}}
\index{printOn@{printOn}!eoAged$<$ Object $>$@{eoAged$<$ Object $>$}}
\doxysubsubsection{\texorpdfstring{printOn()}{printOn()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily template$<$class Object $>$ \\
virtual void \mbox{\hyperlink{classeo_aged}{eo\+Aged}}$<$ Object $>$\+::print\+On (\begin{DoxyParamCaption}\item[{ostream \&}]{\+\_\+os }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

Write object. It\textquotesingle{}s called print\+On since it prints the object {\itshape on} a stream. 
\begin{DoxyParams}{Parameters}
{\em \+\_\+os} & A ostream. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classeo_aged_a165368ac7ecd14c7469df24f68c95148}\label{classeo_aged_a165368ac7ecd14c7469df24f68c95148}} 
\index{eoAged$<$ Object $>$@{eoAged$<$ Object $>$}!printOn@{printOn}}
\index{printOn@{printOn}!eoAged$<$ Object $>$@{eoAged$<$ Object $>$}}
\doxysubsubsection{\texorpdfstring{printOn()}{printOn()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily template$<$class Object $>$ \\
virtual void \mbox{\hyperlink{classeo_aged}{eo\+Aged}}$<$ Object $>$\+::print\+On (\begin{DoxyParamCaption}\item[{ostream \&}]{\+\_\+os }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

Write object. It\textquotesingle{}s called print\+On since it prints the object {\itshape on} a stream. 
\begin{DoxyParams}{Parameters}
{\em \+\_\+os} & A ostream. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classeo_aged_a2199d17af7a387b5b8337a0f0318b716}\label{classeo_aged_a2199d17af7a387b5b8337a0f0318b716}} 
\index{eoAged$<$ Object $>$@{eoAged$<$ Object $>$}!readFrom@{readFrom}}
\index{readFrom@{readFrom}!eoAged$<$ Object $>$@{eoAged$<$ Object $>$}}
\doxysubsubsection{\texorpdfstring{readFrom()}{readFrom()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily template$<$class Object $>$ \\
virtual void \mbox{\hyperlink{classeo_aged}{eo\+Aged}}$<$ Object $>$\+::read\+From (\begin{DoxyParamCaption}\item[{istream \&}]{\+\_\+is }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

Read object. 
\begin{DoxyParams}{Parameters}
{\em \+\_\+is} & A istream. \\
\hline
\end{DoxyParams}

\begin{DoxyExceptions}{Exceptions}
{\em runtime\+\_\+exception} & If a valid object can\textquotesingle{}t be read. \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classeo_aged_a2199d17af7a387b5b8337a0f0318b716}\label{classeo_aged_a2199d17af7a387b5b8337a0f0318b716}} 
\index{eoAged$<$ Object $>$@{eoAged$<$ Object $>$}!readFrom@{readFrom}}
\index{readFrom@{readFrom}!eoAged$<$ Object $>$@{eoAged$<$ Object $>$}}
\doxysubsubsection{\texorpdfstring{readFrom()}{readFrom()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily template$<$class Object $>$ \\
virtual void \mbox{\hyperlink{classeo_aged}{eo\+Aged}}$<$ Object $>$\+::read\+From (\begin{DoxyParamCaption}\item[{istream \&}]{\+\_\+is }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

Read object. 
\begin{DoxyParams}{Parameters}
{\em \+\_\+is} & A istream. \\
\hline
\end{DoxyParams}

\begin{DoxyExceptions}{Exceptions}
{\em runtime\+\_\+exception} & If a valid object can\textquotesingle{}t be read. \\
\hline
\end{DoxyExceptions}


The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
deprecated/eo/contrib/eo\+Aged.\+h\end{DoxyCompactItemize}
