\hypertarget{classfv_1_1ObservedValue}{}\section{fv\+:\+:Observed\+Value$<$ T $>$ Class Template Reference}
\label{classfv_1_1ObservedValue}\index{fv\+::\+Observed\+Value$<$ T $>$@{fv\+::\+Observed\+Value$<$ T $>$}}


A generic, observed, value.  




{\ttfamily \#include $<$value.\+hpp$>$}



Inheritance diagram for fv\+:\+:Observed\+Value$<$ T $>$\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=214pt]{classfv_1_1ObservedValue__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for fv\+:\+:Observed\+Value$<$ T $>$\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=214pt]{classfv_1_1ObservedValue__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classfv_1_1ObservedValue_a4530da20550883f9e956403cb1cfced4}{}\label{classfv_1_1ObservedValue_a4530da20550883f9e956403cb1cfced4} 
{\bfseries Observed\+Value} (const std\+::string \&\hyperlink{classfv_1_1GenValue_a610f89ee441eaad4c9e78f74d6bde93b}{name}, T $\ast$val\+\_\+ref, const std\+::string \&alias=\char`\"{}\char`\"{})
\item 
\hypertarget{classfv_1_1ObservedValue_a10419313294471ba9da25e55d23956ba}{}\label{classfv_1_1ObservedValue_a10419313294471ba9da25e55d23956ba} 
T \& \hyperlink{classfv_1_1ObservedValue_a10419313294471ba9da25e55d23956ba}{get\+\_\+value} ()
\begin{DoxyCompactList}\small\item\em Calculate, if necessary, and return the value held by this object. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classfv_1_1ObservedValue_af301f95c27cfa8024105a845ac6a7760}{\+\_\+reset} ()
\begin{DoxyCompactList}\small\item\em Mark the internal value as invalid. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classfv_1_1ObservedValue_a18aeb656fc14e2161c7b7710ab944829}{}\label{classfv_1_1ObservedValue_a18aeb656fc14e2161c7b7710ab944829} 
T $\ast$ {\bfseries val\+\_\+ref}
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
\subsubsection*{template$<$typename T$>$\newline
class fv\+::\+Observed\+Value$<$ T $>$}

A generic, observed, value. 

An \hyperlink{classfv_1_1ObservedValue}{Observed\+Value} is the interface to your dataset. Upon creation, an \hyperlink{classfv_1_1ObservedValue}{Observed\+Value} is given a pointer to an object of type T. When an observation is loaded into memory, the value at the location referenced by that pointer must be updated with the associated data from that observation. This is the responsibility of whatever \hyperlink{classfv_1_1DataSet}{Data\+Set} implementation is being used. This object then will read that data and return it when requested. 

\subsection{Member Function Documentation}
\hypertarget{classfv_1_1ObservedValue_af301f95c27cfa8024105a845ac6a7760}{}\label{classfv_1_1ObservedValue_af301f95c27cfa8024105a845ac6a7760} 
\index{fv\+::\+Observed\+Value@{fv\+::\+Observed\+Value}!\+\_\+reset@{\+\_\+reset}}
\index{\+\_\+reset@{\+\_\+reset}!fv\+::\+Observed\+Value@{fv\+::\+Observed\+Value}}
\subsubsection{\texorpdfstring{\+\_\+reset()}{\_reset()}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
void \hyperlink{classfv_1_1ObservedValue}{fv\+::\+Observed\+Value}$<$ T $>$\+::\+\_\+reset (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}}



Mark the internal value as invalid. 

This is needed for \hyperlink{classfv_1_1DerivedValue}{Derived\+Value} to force a recalculation of the internal value when a new observation is loaded into memory. It is called automatically for all \hyperlink{classfv_1_1GenValue}{Gen\+Value} objects when reset is called. 

Implements \hyperlink{classfv_1_1GenValue_a26160e53542b728f9e0c11495dce3c20}{fv\+::\+Gen\+Value}.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
/home/caleb/\+Sources/\+T\+T\+T\+T/filval/\hyperlink{value_8hpp}{value.\+hpp}\end{DoxyCompactItemize}
