classfv_1_1GenValue.tex 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. \hypertarget{classfv_1_1GenValue}{}\section{fv\+:\+:Gen\+Value Class Reference}
  2. \label{classfv_1_1GenValue}\index{fv\+::\+Gen\+Value@{fv\+::\+Gen\+Value}}
  3. Inheritance diagram for fv\+:\+:Gen\+Value\+:
  4. \nopagebreak
  5. \begin{figure}[H]
  6. \begin{center}
  7. \leavevmode
  8. \includegraphics[width=350pt]{classfv_1_1GenValue__inherit__graph}
  9. \end{center}
  10. \end{figure}
  11. \subsection*{Public Member Functions}
  12. \begin{DoxyCompactItemize}
  13. \item
  14. \hypertarget{classfv_1_1GenValue_a6a85db33e2414e7e77735a4706760300}{}\label{classfv_1_1GenValue_a6a85db33e2414e7e77735a4706760300}
  15. {\bfseries Gen\+Value} (const std\+::string \&\hyperlink{classfv_1_1GenValue_a610f89ee441eaad4c9e78f74d6bde93b}{name}, const std\+::string \&alias)
  16. \item
  17. \hypertarget{classfv_1_1GenValue_a56f7eab1a0043ea73ecf01ec11dafa5c}{}\label{classfv_1_1GenValue_a56f7eab1a0043ea73ecf01ec11dafa5c}
  18. const std\+::string \& {\bfseries get\+\_\+name} ()
  19. \end{DoxyCompactItemize}
  20. \subsection*{Static Public Member Functions}
  21. \begin{DoxyCompactItemize}
  22. \item
  23. \hypertarget{classfv_1_1GenValue_a804fa6719404472466896cc191a8123c}{}\label{classfv_1_1GenValue_a804fa6719404472466896cc191a8123c}
  24. static void {\bfseries reset} ()
  25. \item
  26. \hypertarget{classfv_1_1GenValue_a26e4aaa4c26437925dbe895fbb558bc5}{}\label{classfv_1_1GenValue_a26e4aaa4c26437925dbe895fbb558bc5}
  27. static \hyperlink{classfv_1_1GenValue}{Gen\+Value} $\ast$ {\bfseries get\+\_\+value} (const std\+::string \&\hyperlink{classfv_1_1GenValue_a610f89ee441eaad4c9e78f74d6bde93b}{name})
  28. \item
  29. \hypertarget{classfv_1_1GenValue_a2d4be21b68793e1f02411fe1143396cf}{}\label{classfv_1_1GenValue_a2d4be21b68793e1f02411fe1143396cf}
  30. static void {\bfseries alias} (const std\+::string \&\hyperlink{classfv_1_1GenValue_a610f89ee441eaad4c9e78f74d6bde93b}{name}, \hyperlink{classfv_1_1GenValue}{Gen\+Value} $\ast$value)
  31. \item
  32. \hypertarget{classfv_1_1GenValue_a71d887498102aca1c896e956c50bc0fe}{}\label{classfv_1_1GenValue_a71d887498102aca1c896e956c50bc0fe}
  33. static \hyperlink{classfv_1_1GenValue}{Gen\+Value} $\ast$ {\bfseries alias} (const std\+::string \&\hyperlink{classfv_1_1GenValue_a610f89ee441eaad4c9e78f74d6bde93b}{name})
  34. \item
  35. \hypertarget{classfv_1_1GenValue_a66807a611d5f3e693f538e8430ae9585}{}\label{classfv_1_1GenValue_a66807a611d5f3e693f538e8430ae9585}
  36. static std\+::string {\bfseries summary} ()
  37. \end{DoxyCompactItemize}
  38. \subsection*{Protected Member Functions}
  39. \begin{DoxyCompactItemize}
  40. \item
  41. virtual void \hyperlink{classfv_1_1GenValue_a26160e53542b728f9e0c11495dce3c20}{\+\_\+reset} ()=0
  42. \begin{DoxyCompactList}\small\item\em Mark the internal value as invalid. \end{DoxyCompactList}\end{DoxyCompactItemize}
  43. \subsection*{Static Protected Attributes}
  44. \begin{DoxyCompactItemize}
  45. \item
  46. static std\+::map$<$ const std\+::string, \hyperlink{classfv_1_1GenValue}{Gen\+Value} $\ast$ $>$ \hyperlink{classfv_1_1GenValue_abbb57abc392c44d1f7ad5e7e74a75297}{values}
  47. \begin{DoxyCompactList}\small\item\em A static mapping containing all created \hyperlink{classfv_1_1Value}{Value} objects. \end{DoxyCompactList}\item
  48. static std\+::map$<$ const std\+::string, \hyperlink{classfv_1_1GenValue}{Gen\+Value} $\ast$ $>$ \hyperlink{classfv_1_1GenValue_ab58b81925a05884bbebca0d870da80d0}{aliases}
  49. \begin{DoxyCompactList}\small\item\em Composite value names are typically nested. \end{DoxyCompactList}\end{DoxyCompactItemize}
  50. \subsection*{Private Attributes}
  51. \begin{DoxyCompactItemize}
  52. \item
  53. std\+::string \hyperlink{classfv_1_1GenValue_a610f89ee441eaad4c9e78f74d6bde93b}{name}
  54. \begin{DoxyCompactList}\small\item\em The name of the value. \end{DoxyCompactList}\end{DoxyCompactItemize}
  55. \subsection*{Friends}
  56. \begin{DoxyCompactItemize}
  57. \item
  58. \hypertarget{classfv_1_1GenValue_a98a93398ab5dafb2a572c64908d687eb}{}\label{classfv_1_1GenValue_a98a93398ab5dafb2a572c64908d687eb}
  59. std\+::ostream \& {\bfseries operator$<$$<$} (std\+::ostream \&os, const \hyperlink{classfv_1_1GenValue}{Gen\+Value} \&gv)
  60. \end{DoxyCompactItemize}
  61. \subsection{Member Function Documentation}
  62. \hypertarget{classfv_1_1GenValue_a26160e53542b728f9e0c11495dce3c20}{}\label{classfv_1_1GenValue_a26160e53542b728f9e0c11495dce3c20}
  63. \index{fv\+::\+Gen\+Value@{fv\+::\+Gen\+Value}!\+\_\+reset@{\+\_\+reset}}
  64. \index{\+\_\+reset@{\+\_\+reset}!fv\+::\+Gen\+Value@{fv\+::\+Gen\+Value}}
  65. \subsubsection{\texorpdfstring{\+\_\+reset()}{\_reset()}}
  66. {\footnotesize\ttfamily virtual void fv\+::\+Gen\+Value\+::\+\_\+reset (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [pure virtual]}}
  67. Mark the internal value as invalid.
  68. 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.
  69. Implemented in \hyperlink{classfv_1_1DerivedValue_a5c296d4f3171797f31a3fab002dececa}{fv\+::\+Derived\+Value$<$ T $>$}, \hyperlink{classfv_1_1DerivedValue_a5c296d4f3171797f31a3fab002dececa}{fv\+::\+Derived\+Value$<$ double $>$}, \hyperlink{classfv_1_1DerivedValue_a5c296d4f3171797f31a3fab002dececa}{fv\+::\+Derived\+Value$<$ int $>$}, \hyperlink{classfv_1_1DerivedValue_a5c296d4f3171797f31a3fab002dececa}{fv\+::\+Derived\+Value$<$ std\+::vector$<$ R $>$ $>$}, \hyperlink{classfv_1_1DerivedValue_a5c296d4f3171797f31a3fab002dececa}{fv\+::\+Derived\+Value$<$ std\+::vector$<$ T $>$ $>$}, \hyperlink{classfv_1_1DerivedValue_a5c296d4f3171797f31a3fab002dececa}{fv\+::\+Derived\+Value$<$ T\+Lorentz\+Vector $>$}, \hyperlink{classfv_1_1DerivedValue_a5c296d4f3171797f31a3fab002dececa}{fv\+::\+Derived\+Value$<$ T $\ast$$>$}, \hyperlink{classfv_1_1DerivedValue_a5c296d4f3171797f31a3fab002dececa}{fv\+::\+Derived\+Value$<$ bool $>$}, \hyperlink{classfv_1_1DerivedValue_a5c296d4f3171797f31a3fab002dececa}{fv\+::\+Derived\+Value$<$ std\+::pair$<$ T1, T2 $>$ $>$}, \hyperlink{classfv_1_1DerivedValue_a5c296d4f3171797f31a3fab002dececa}{fv\+::\+Derived\+Value$<$ std\+::pair$<$ T, int $>$ $>$}, and \hyperlink{classfv_1_1ObservedValue_af301f95c27cfa8024105a845ac6a7760}{fv\+::\+Observed\+Value$<$ T $>$}.
  70. \subsection{Member Data Documentation}
  71. \hypertarget{classfv_1_1GenValue_ab58b81925a05884bbebca0d870da80d0}{}\label{classfv_1_1GenValue_ab58b81925a05884bbebca0d870da80d0}
  72. \index{fv\+::\+Gen\+Value@{fv\+::\+Gen\+Value}!aliases@{aliases}}
  73. \index{aliases@{aliases}!fv\+::\+Gen\+Value@{fv\+::\+Gen\+Value}}
  74. \subsubsection{\texorpdfstring{aliases}{aliases}}
  75. {\footnotesize\ttfamily std\+::map$<$const std\+::string, \hyperlink{classfv_1_1GenValue}{Gen\+Value}$\ast$$>$ fv\+::\+Gen\+Value\+::aliases\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}, {\ttfamily [protected]}}
  76. Composite value names are typically nested.
  77. This makes complex values have rather unwieldy names. Therefore, one can declare aliases which allow for more human-\/usable names to be used. When a value is requested by name, an alias with that value takes precidence over a name with that value. \hypertarget{classfv_1_1GenValue_a610f89ee441eaad4c9e78f74d6bde93b}{}\label{classfv_1_1GenValue_a610f89ee441eaad4c9e78f74d6bde93b}
  78. \index{fv\+::\+Gen\+Value@{fv\+::\+Gen\+Value}!name@{name}}
  79. \index{name@{name}!fv\+::\+Gen\+Value@{fv\+::\+Gen\+Value}}
  80. \subsubsection{\texorpdfstring{name}{name}}
  81. {\footnotesize\ttfamily std\+::string fv\+::\+Gen\+Value\+::name\hspace{0.3cm}{\ttfamily [private]}}
  82. The name of the value.
  83. This is used to allow for dynamic lookup of values based on their name via Gen\+Value\+::get\+\_\+value. \hypertarget{classfv_1_1GenValue_abbb57abc392c44d1f7ad5e7e74a75297}{}\label{classfv_1_1GenValue_abbb57abc392c44d1f7ad5e7e74a75297}
  84. \index{fv\+::\+Gen\+Value@{fv\+::\+Gen\+Value}!values@{values}}
  85. \index{values@{values}!fv\+::\+Gen\+Value@{fv\+::\+Gen\+Value}}
  86. \subsubsection{\texorpdfstring{values}{values}}
  87. {\footnotesize\ttfamily std\+::map$<$const std\+::string, \hyperlink{classfv_1_1GenValue}{Gen\+Value}$\ast$$>$ fv\+::\+Gen\+Value\+::values\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}, {\ttfamily [protected]}}
  88. A static mapping containing all created \hyperlink{classfv_1_1Value}{Value} objects.
  89. 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.
  90. The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
  91. \item
  92. /home/caleb/\+Sources/\+T\+T\+T\+T/filval/\hyperlink{value_8hpp}{value.\+hpp}\end{DoxyCompactItemize}