classfilval_1_1GenValue.tex 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. \hypertarget{classfilval_1_1GenValue}{}\section{filval\+:\+:Gen\+Value Class Reference}
  2. \label{classfilval_1_1GenValue}\index{filval\+::\+Gen\+Value@{filval\+::\+Gen\+Value}}
  3. A type-\/agnostic value.
  4. {\ttfamily \#include $<$value.\+hpp$>$}
  5. Inheritance diagram for filval\+:\+:Gen\+Value\+:
  6. \nopagebreak
  7. \begin{figure}[H]
  8. \begin{center}
  9. \leavevmode
  10. \includegraphics[width=350pt]{classfilval_1_1GenValue__inherit__graph}
  11. \end{center}
  12. \end{figure}
  13. \subsection*{Public Member Functions}
  14. \begin{DoxyCompactItemize}
  15. \item
  16. \hypertarget{classfilval_1_1GenValue_a8e966db95add619c6d85defcb4c866d7}{}\label{classfilval_1_1GenValue_a8e966db95add619c6d85defcb4c866d7}
  17. {\bfseries Gen\+Value} (const std\+::string \&\hyperlink{classfilval_1_1GenValue_a007e38c03ee041c2a657afa3d6e91ab1}{name})
  18. \item
  19. \hypertarget{classfilval_1_1GenValue_a38cdc9588f97cb1c5f4ae1c2f8fa326a}{}\label{classfilval_1_1GenValue_a38cdc9588f97cb1c5f4ae1c2f8fa326a}
  20. const std\+::string \& {\bfseries get\+\_\+name} ()
  21. \end{DoxyCompactItemize}
  22. \subsection*{Static Public Member Functions}
  23. \begin{DoxyCompactItemize}
  24. \item
  25. \hypertarget{classfilval_1_1GenValue_a6a12aa2c8b6a99573e0fa996f37dd13a}{}\label{classfilval_1_1GenValue_a6a12aa2c8b6a99573e0fa996f37dd13a}
  26. static void {\bfseries reset} ()
  27. \item
  28. \hypertarget{classfilval_1_1GenValue_a14659bc5b321f5b914cd911b229f40ef}{}\label{classfilval_1_1GenValue_a14659bc5b321f5b914cd911b229f40ef}
  29. static \hyperlink{classfilval_1_1GenValue}{Gen\+Value} $\ast$ {\bfseries get\+\_\+value} (const std\+::string \&\hyperlink{classfilval_1_1GenValue_a007e38c03ee041c2a657afa3d6e91ab1}{name})
  30. \item
  31. \hypertarget{classfilval_1_1GenValue_a0fc8de3214f885848f2f5761dc0800b7}{}\label{classfilval_1_1GenValue_a0fc8de3214f885848f2f5761dc0800b7}
  32. static void {\bfseries summary} ()
  33. \end{DoxyCompactItemize}
  34. \subsection*{Protected Member Functions}
  35. \begin{DoxyCompactItemize}
  36. \item
  37. virtual void \hyperlink{classfilval_1_1GenValue_ae9d5bd9fde2d04f6cd05d5b901a8c78a}{\+\_\+reset} ()=0
  38. \begin{DoxyCompactList}\small\item\em Mark the internal value as invalid. \end{DoxyCompactList}\end{DoxyCompactItemize}
  39. \subsection*{Static Protected Attributes}
  40. \begin{DoxyCompactItemize}
  41. \item
  42. static std\+::map$<$ const std\+::string, \hyperlink{classfilval_1_1GenValue}{Gen\+Value} $\ast$ $>$ \hyperlink{classfilval_1_1GenValue_aa94f38a80f5a127bf3df33ad53198e57}{values}
  43. \begin{DoxyCompactList}\small\item\em A static mapping containing all created \hyperlink{classfilval_1_1Value}{Value} objects. \end{DoxyCompactList}\end{DoxyCompactItemize}
  44. \subsection*{Private Attributes}
  45. \begin{DoxyCompactItemize}
  46. \item
  47. std\+::string \hyperlink{classfilval_1_1GenValue_a007e38c03ee041c2a657afa3d6e91ab1}{name}
  48. \begin{DoxyCompactList}\small\item\em The name of the value. \end{DoxyCompactList}\end{DoxyCompactItemize}
  49. \subsection{Detailed Description}
  50. A type-\/agnostic value.
  51. It is necessary to create a type-\/agnostic parent class to \hyperlink{classfilval_1_1Value}{Value} so that it is possible to handle collections of them. \hyperlink{classfilval_1_1GenValue}{Gen\+Value} also provides the rest of the type-\/independent interface to \hyperlink{classfilval_1_1Value}{Value}.
  52. \subsection{Member Function Documentation}
  53. \hypertarget{classfilval_1_1GenValue_ae9d5bd9fde2d04f6cd05d5b901a8c78a}{}\label{classfilval_1_1GenValue_ae9d5bd9fde2d04f6cd05d5b901a8c78a}
  54. \index{filval\+::\+Gen\+Value@{filval\+::\+Gen\+Value}!\+\_\+reset@{\+\_\+reset}}
  55. \index{\+\_\+reset@{\+\_\+reset}!filval\+::\+Gen\+Value@{filval\+::\+Gen\+Value}}
  56. \subsubsection{\texorpdfstring{\+\_\+reset()}{\_reset()}}
  57. {\footnotesize\ttfamily virtual void filval\+::\+Gen\+Value\+::\+\_\+reset (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [pure virtual]}}
  58. Mark the internal value as invalid.
  59. This is needed for \hyperlink{classfilval_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{classfilval_1_1GenValue}{Gen\+Value} objects when reset is called.
  60. Implemented in \hyperlink{classfilval_1_1DerivedValue_a07fef8f98ae4b47e2c4d0f467aa0d6e3}{filval\+::\+Derived\+Value$<$ T $>$}, \hyperlink{classfilval_1_1DerivedValue_a07fef8f98ae4b47e2c4d0f467aa0d6e3}{filval\+::\+Derived\+Value$<$ double $>$}, \hyperlink{classfilval_1_1DerivedValue_a07fef8f98ae4b47e2c4d0f467aa0d6e3}{filval\+::\+Derived\+Value$<$ R $>$}, \hyperlink{classfilval_1_1DerivedValue_a07fef8f98ae4b47e2c4d0f467aa0d6e3}{filval\+::\+Derived\+Value$<$ std\+::vector$<$ R $>$ $>$}, \hyperlink{classfilval_1_1DerivedValue_a07fef8f98ae4b47e2c4d0f467aa0d6e3}{filval\+::\+Derived\+Value$<$ std\+::vector$<$ T $>$ $>$}, \hyperlink{classfilval_1_1DerivedValue_a07fef8f98ae4b47e2c4d0f467aa0d6e3}{filval\+::\+Derived\+Value$<$ T\+Lorentz\+Vector $>$}, \hyperlink{classfilval_1_1DerivedValue_a07fef8f98ae4b47e2c4d0f467aa0d6e3}{filval\+::\+Derived\+Value$<$ std\+::pair$<$ T1, T2 $>$ $>$}, \hyperlink{classfilval_1_1DerivedValue_a07fef8f98ae4b47e2c4d0f467aa0d6e3}{filval\+::\+Derived\+Value$<$ bool $>$}, \hyperlink{classfilval_1_1DerivedValue_a07fef8f98ae4b47e2c4d0f467aa0d6e3}{filval\+::\+Derived\+Value$<$ std\+::pair$<$ T, int $>$ $>$}, and \hyperlink{classfilval_1_1ObservedValue_a68c4fc1eb89682c7b16d2d46874f5421}{filval\+::\+Observed\+Value$<$ T $>$}.
  61. \subsection{Member Data Documentation}
  62. \hypertarget{classfilval_1_1GenValue_a007e38c03ee041c2a657afa3d6e91ab1}{}\label{classfilval_1_1GenValue_a007e38c03ee041c2a657afa3d6e91ab1}
  63. \index{filval\+::\+Gen\+Value@{filval\+::\+Gen\+Value}!name@{name}}
  64. \index{name@{name}!filval\+::\+Gen\+Value@{filval\+::\+Gen\+Value}}
  65. \subsubsection{\texorpdfstring{name}{name}}
  66. {\footnotesize\ttfamily std\+::string filval\+::\+Gen\+Value\+::name\hspace{0.3cm}{\ttfamily [private]}}
  67. The name of the value.
  68. This is used to allow for dynamic lookup of values based on their name via Gen\+Value\+::get\+\_\+value. \hypertarget{classfilval_1_1GenValue_aa94f38a80f5a127bf3df33ad53198e57}{}\label{classfilval_1_1GenValue_aa94f38a80f5a127bf3df33ad53198e57}
  69. \index{filval\+::\+Gen\+Value@{filval\+::\+Gen\+Value}!values@{values}}
  70. \index{values@{values}!filval\+::\+Gen\+Value@{filval\+::\+Gen\+Value}}
  71. \subsubsection{\texorpdfstring{values}{values}}
  72. {\footnotesize\ttfamily std\+::map$<$const std\+::string, \hyperlink{classfilval_1_1GenValue}{Gen\+Value}$\ast$$>$ filval\+::\+Gen\+Value\+::values\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}, {\ttfamily [protected]}}
  73. A static mapping containing all created \hyperlink{classfilval_1_1Value}{Value} objects.
  74. Every value object must have a unique name, and this name is used as a key in values to that object. This is used to enable more dynamic creation of objects as well as avoiding the uneccesary passing of pointers.
  75. The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
  76. \item
  77. /home/caleb/\+Sources/\+T\+T\+T\+T/filval/\hyperlink{value_8hpp}{value.\+hpp}\end{DoxyCompactItemize}