classfv_1_1ConstantValue.tex 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. \hypertarget{classfv_1_1ConstantValue}{}\section{fv\+:\+:Constant\+Value$<$ T $>$ Class Template Reference}
  2. \label{classfv_1_1ConstantValue}\index{fv\+::\+Constant\+Value$<$ T $>$@{fv\+::\+Constant\+Value$<$ T $>$}}
  3. A \hyperlink{classfv_1_1Value}{Value} which always returns the same value, supplied in the constructor.
  4. {\ttfamily \#include $<$value.\+hpp$>$}
  5. Inheritance diagram for fv\+:\+:Constant\+Value$<$ T $>$\+:
  6. \nopagebreak
  7. \begin{figure}[H]
  8. \begin{center}
  9. \leavevmode
  10. \includegraphics[width=211pt]{classfv_1_1ConstantValue__inherit__graph}
  11. \end{center}
  12. \end{figure}
  13. Collaboration diagram for fv\+:\+:Constant\+Value$<$ T $>$\+:
  14. \nopagebreak
  15. \begin{figure}[H]
  16. \begin{center}
  17. \leavevmode
  18. \includegraphics[width=283pt]{classfv_1_1ConstantValue__coll__graph}
  19. \end{center}
  20. \end{figure}
  21. \subsection*{Public Member Functions}
  22. \begin{DoxyCompactItemize}
  23. \item
  24. \hypertarget{classfv_1_1ConstantValue_a82512bd0a0505bcf69816fa8b3305c29}{}\label{classfv_1_1ConstantValue_a82512bd0a0505bcf69816fa8b3305c29}
  25. {\bfseries Constant\+Value} (const std\+::string \&\hyperlink{classfv_1_1GenValue_a610f89ee441eaad4c9e78f74d6bde93b}{name}, T const\+\_\+value, const std\+::string alias=\char`\"{}\char`\"{})
  26. \end{DoxyCompactItemize}
  27. \subsection*{Protected Member Functions}
  28. \begin{DoxyCompactItemize}
  29. \item
  30. void \hyperlink{classfv_1_1ConstantValue_a6581e7fb69c082c07c9714138063b320}{update\+\_\+value} ()
  31. \begin{DoxyCompactList}\small\item\em Updates the internal value. \end{DoxyCompactList}\end{DoxyCompactItemize}
  32. \subsection*{Protected Attributes}
  33. \begin{DoxyCompactItemize}
  34. \item
  35. \hypertarget{classfv_1_1ConstantValue_a7bd409365b0f9a271a865d7d7abf1648}{}\label{classfv_1_1ConstantValue_a7bd409365b0f9a271a865d7d7abf1648}
  36. T {\bfseries const\+\_\+value}
  37. \end{DoxyCompactItemize}
  38. \subsection*{Additional Inherited Members}
  39. \subsection{Detailed Description}
  40. \subsubsection*{template$<$typename T$>$\newline
  41. class fv\+::\+Constant\+Value$<$ T $>$}
  42. A \hyperlink{classfv_1_1Value}{Value} which always returns the same value, supplied in the constructor.
  43. \subsection{Member Function Documentation}
  44. \hypertarget{classfv_1_1ConstantValue_a6581e7fb69c082c07c9714138063b320}{}\label{classfv_1_1ConstantValue_a6581e7fb69c082c07c9714138063b320}
  45. \index{fv\+::\+Constant\+Value@{fv\+::\+Constant\+Value}!update\+\_\+value@{update\+\_\+value}}
  46. \index{update\+\_\+value@{update\+\_\+value}!fv\+::\+Constant\+Value@{fv\+::\+Constant\+Value}}
  47. \subsubsection{\texorpdfstring{update\+\_\+value()}{update\_value()}}
  48. {\footnotesize\ttfamily template$<$typename T $>$ \\
  49. void \hyperlink{classfv_1_1ConstantValue}{fv\+::\+Constant\+Value}$<$ T $>$\+::update\+\_\+value (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [protected]}, {\ttfamily [virtual]}}
  50. Updates the internal value.
  51. This function should be overridden by any child class to do the actual work of updating value based on whatever rules the class chooses. Normally, this consists of geting the values from some associated \hyperlink{classfv_1_1Value}{Value} objects, doing some calculation on them, and storing the result in value.
  52. Implements \hyperlink{classfv_1_1DerivedValue_ae59e80a98eb74b95d8961bfe12ee5ec2}{fv\+::\+Derived\+Value$<$ T $>$}.
  53. The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
  54. \item
  55. /home/caleb/\+Sources/\+T\+T\+T\+T/filval/\hyperlink{value_8hpp}{value.\+hpp}\end{DoxyCompactItemize}