\section{U\-T\-I\-L\-:\-:L\-C\-Fixed\-Object$<$ N\-I\-N\-T, N\-F\-L\-O\-A\-T, N\-D\-O\-U\-B\-L\-E $>$ Class Template Reference}
\label{classUTIL_1_1LCFixedObject}\index{U\-T\-I\-L\-::\-L\-C\-Fixed\-Object$<$ N\-I\-N\-T, N\-F\-L\-O\-A\-T, N\-D\-O\-U\-B\-L\-E $>$@{U\-T\-I\-L\-::\-L\-C\-Fixed\-Object$<$ N\-I\-N\-T, N\-F\-L\-O\-A\-T, N\-D\-O\-U\-B\-L\-E $>$}}


Template class for fixed size L\-C\-Generic\-Object subclasses.  




{\ttfamily \#include $<$U\-T\-I\-L/\-L\-C\-Fixed\-Object.\-h$>$}

Inheritance diagram for U\-T\-I\-L\-:\-:L\-C\-Fixed\-Object$<$ N\-I\-N\-T, N\-F\-L\-O\-A\-T, N\-D\-O\-U\-B\-L\-E $>$\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classUTIL_1_1LCFixedObject}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf L\-C\-Fixed\-Object} ()\label{classUTIL_1_1LCFixedObject_a7243f0ee6561f9a07caa062279d048e9}

\begin{DoxyCompactList}\small\item\em Default c'tor. \end{DoxyCompactList}\item 
{\bf L\-C\-Fixed\-Object} ({\bf L\-C\-Object} $\ast${\bf obj})
\begin{DoxyCompactList}\small\item\em C'tor to be used for elements of L\-C\-Generic\-Objects read from an L\-C\-I\-O file or the database. \end{DoxyCompactList}\item 
L\-C\-Generic\-Object\-Impl $\ast$ {\bf obj} ()
\begin{DoxyCompactList}\small\item\em The L\-C\-Generic\-Object\-Impl . \end{DoxyCompactList}\item 
virtual {\bf $\sim$\-L\-C\-Fixed\-Object} ()\label{classUTIL_1_1LCFixedObject_a27f4fee12d1800717d18c44f585d9887}

\begin{DoxyCompactList}\small\item\em Clean up if we created a new L\-C\-Generic\-Object\-Impl. \end{DoxyCompactList}\item 
virtual int {\bf id} () const \label{classUTIL_1_1LCFixedObject_ad0637745c703a759ac6a99e0ad30e2a2}

\begin{DoxyCompactList}\small\item\em Return the id of the underlying L\-C\-Generic\-Object\-Impl. \end{DoxyCompactList}\item 
int {\bfseries get\-N\-Int} () const \label{classUTIL_1_1LCFixedObject_aeb4d1736690c2df328ca10b468915697}

\item 
int {\bfseries get\-N\-Float} () const \label{classUTIL_1_1LCFixedObject_a8fa9afa523b792315af4ed2f0d3a105b}

\item 
int {\bfseries get\-N\-Double} () const \label{classUTIL_1_1LCFixedObject_a04a9977a8c040caa2760b1ff6f050c44}

\item 
int {\bfseries get\-Int\-Val} (int index) const \label{classUTIL_1_1LCFixedObject_ab3243aaed75ee4a221824970cec1e91b}

\item 
float {\bfseries get\-Float\-Val} (int index) const \label{classUTIL_1_1LCFixedObject_abe6cc7969065abec3ec7027bade5e2cd}

\item 
double {\bfseries get\-Double\-Val} (int index) const \label{classUTIL_1_1LCFixedObject_a1ea90028e77721dd2c61de19e8cb3b74}

\item 
bool {\bfseries is\-Fixed\-Size} () const \label{classUTIL_1_1LCFixedObject_a25ebd8f2576186f6f4aa706e60ce0faa}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
L\-C\-Generic\-Object\-Impl $\ast$ {\bfseries \-\_\-obj}\label{classUTIL_1_1LCFixedObject_a84393e523b1ceadd85ffe36331bb3143}

\item 
bool {\bfseries \-\_\-created\-Object}\label{classUTIL_1_1LCFixedObject_ab44a9bbd19ff63ad0abbd8d5831fc6a2}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$int N\-I\-N\-T, int N\-F\-L\-O\-A\-T, int N\-D\-O\-U\-B\-L\-E$>$class U\-T\-I\-L\-::\-L\-C\-Fixed\-Object$<$ N\-I\-N\-T, N\-F\-L\-O\-A\-T, N\-D\-O\-U\-B\-L\-E $>$}

Template class for fixed size L\-C\-Generic\-Object subclasses. 

By inheriting from this class users can very easily implement their own objects.\par
 It uses an instance of L\-C\-Generic\-Object\-Impl that holds the data, thus there is no overhead when the data is read from a database or file for copying it to some local structure (Decorator pattern).\par
 This is still an abstract class\-: subclasses have to implement L\-C\-Generic\-Object\-::get\-Type\-Name() and L\-C\-Generic\-Object\-::get\-Data\-Description().

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

\end{DoxyVersion}
\begin{DoxyParagraph}{Id\-:}
\doxyref{L\-C\-Fixed\-Object.\-h}{p.}{LCFixedObject_8h_source},v 1.\-3 2011-\/03-\/13 12\-:41\-:49 gaede Exp 
\end{DoxyParagraph}


\subsection{Constructor \& Destructor Documentation}
\index{U\-T\-I\-L\-::\-L\-C\-Fixed\-Object@{U\-T\-I\-L\-::\-L\-C\-Fixed\-Object}!L\-C\-Fixed\-Object@{L\-C\-Fixed\-Object}}
\index{L\-C\-Fixed\-Object@{L\-C\-Fixed\-Object}!UTIL::LCFixedObject@{U\-T\-I\-L\-::\-L\-C\-Fixed\-Object}}
\subsubsection[{L\-C\-Fixed\-Object}]{\setlength{\rightskip}{0pt plus 5cm}template$<$int N\-I\-N\-T, int N\-F\-L\-O\-A\-T, int N\-D\-O\-U\-B\-L\-E$>$ {\bf U\-T\-I\-L\-::\-L\-C\-Fixed\-Object}$<$ N\-I\-N\-T, N\-F\-L\-O\-A\-T, N\-D\-O\-U\-B\-L\-E $>$\-::{\bf L\-C\-Fixed\-Object} (
\begin{DoxyParamCaption}
\item[{{\bf L\-C\-Object} $\ast$}]{obj}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\label{classUTIL_1_1LCFixedObject_a6748327b46f8ddba2405730b07bf0168}


C'tor to be used for elements of L\-C\-Generic\-Objects read from an L\-C\-I\-O file or the database. 

Subclasses should 'override' this, e.\-g.\-:\par
 Myclass(\-L\-C\-Object$\ast$ obj) \-: L\-C\-Fixed\-Object(obj) \{\} \par
 

References U\-T\-I\-L\-::\-L\-C\-Fixed\-Object$<$ N\-I\-N\-T, N\-F\-L\-O\-A\-T, N\-D\-O\-U\-B\-L\-E $>$\-::obj().



\subsection{Member Function Documentation}
\index{U\-T\-I\-L\-::\-L\-C\-Fixed\-Object@{U\-T\-I\-L\-::\-L\-C\-Fixed\-Object}!obj@{obj}}
\index{obj@{obj}!UTIL::LCFixedObject@{U\-T\-I\-L\-::\-L\-C\-Fixed\-Object}}
\subsubsection[{obj}]{\setlength{\rightskip}{0pt plus 5cm}template$<$int N\-I\-N\-T, int N\-F\-L\-O\-A\-T, int N\-D\-O\-U\-B\-L\-E$>$ L\-C\-Generic\-Object\-Impl$\ast$ {\bf U\-T\-I\-L\-::\-L\-C\-Fixed\-Object}$<$ N\-I\-N\-T, N\-F\-L\-O\-A\-T, N\-D\-O\-U\-B\-L\-E $>$\-::obj (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\label{classUTIL_1_1LCFixedObject_a01de71b315f0e7df7ae0c681ed2b0c24}


The L\-C\-Generic\-Object\-Impl . 

Sublcasses use this to access their data. 

Referenced by U\-T\-I\-L\-::\-L\-C\-Fixed\-Object$<$ N\-I\-N\-T, N\-F\-L\-O\-A\-T, N\-D\-O\-U\-B\-L\-E $>$\-::\-L\-C\-Fixed\-Object().



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
L\-C\-Fixed\-Object.\-h\end{DoxyCompactItemize}
