classfilval_1_1ConstantValue.tex 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. \hypertarget{classfilval_1_1ConstantValue}{}\section{filval\+:\+:Constant\+Value$<$ T $>$ Class Template Reference}
  2. \label{classfilval_1_1ConstantValue}\index{filval\+::\+Constant\+Value$<$ T $>$@{filval\+::\+Constant\+Value$<$ T $>$}}
  3. A \hyperlink{classfilval_1_1Value}{Value} which always returns the same value, supplied in the constructor.
  4. {\ttfamily \#include $<$value.\+hpp$>$}
  5. Inheritance diagram for filval\+:\+:Constant\+Value$<$ T $>$\+:
  6. \nopagebreak
  7. \begin{figure}[H]
  8. \begin{center}
  9. \leavevmode
  10. \includegraphics[width=226pt]{classfilval_1_1ConstantValue__inherit__graph}
  11. \end{center}
  12. \end{figure}
  13. Collaboration diagram for filval\+:\+:Constant\+Value$<$ T $>$\+:
  14. \nopagebreak
  15. \begin{figure}[H]
  16. \begin{center}
  17. \leavevmode
  18. \includegraphics[width=297pt]{classfilval_1_1ConstantValue__coll__graph}
  19. \end{center}
  20. \end{figure}
  21. \subsection*{Public Member Functions}
  22. \begin{DoxyCompactItemize}
  23. \item
  24. \hypertarget{classfilval_1_1ConstantValue_a82dc383c6de04053609df055adda57ca}{}\label{classfilval_1_1ConstantValue_a82dc383c6de04053609df055adda57ca}
  25. {\bfseries Constant\+Value} (const std\+::string \&\hyperlink{classfilval_1_1GenValue_a007e38c03ee041c2a657afa3d6e91ab1}{name}, T const\+\_\+value)
  26. \end{DoxyCompactItemize}
  27. \subsection*{Protected Member Functions}
  28. \begin{DoxyCompactItemize}
  29. \item
  30. void \hyperlink{classfilval_1_1ConstantValue_a2814dd032b5688fc91e844f1592d1b09}{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{classfilval_1_1ConstantValue_ae74437cc11c2f8e41bf21f0970600113}{}\label{classfilval_1_1ConstantValue_ae74437cc11c2f8e41bf21f0970600113}
  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 filval\+::\+Constant\+Value$<$ T $>$}
  42. A \hyperlink{classfilval_1_1Value}{Value} which always returns the same value, supplied in the constructor.
  43. \subsection{Member Function Documentation}
  44. \hypertarget{classfilval_1_1ConstantValue_a2814dd032b5688fc91e844f1592d1b09}{}\label{classfilval_1_1ConstantValue_a2814dd032b5688fc91e844f1592d1b09}
  45. \index{filval\+::\+Constant\+Value@{filval\+::\+Constant\+Value}!update\+\_\+value@{update\+\_\+value}}
  46. \index{update\+\_\+value@{update\+\_\+value}!filval\+::\+Constant\+Value@{filval\+::\+Constant\+Value}}
  47. \subsubsection{\texorpdfstring{update\+\_\+value()}{update\_value()}}
  48. {\footnotesize\ttfamily template$<$typename T$>$ \\
  49. void \hyperlink{classfilval_1_1ConstantValue}{filval\+::\+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{classfilval_1_1Value}{Value} objects, doing some calculation on them, and storing the result in value.
  52. Implements \hyperlink{classfilval_1_1DerivedValue_a74e04450a550454510329a9e6b941304}{filval\+::\+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}