\hypertarget{class_ogre_1_1_property}{}\doxysection{Ogre\+::Property$<$ T $>$ Class Template Reference}
\label{class_ogre_1_1_property}\index{Ogre::Property$<$ T $>$@{Ogre::Property$<$ T $>$}}


\mbox{\hyperlink{class_ogre_1_1_property}{Property}} instance with passthrough calls to a given object.  




{\ttfamily \#include $<$Ogre\+Property.\+h$>$}



Inheritance diagram for Ogre\+::Property$<$ T $>$\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=196pt]{class_ogre_1_1_property__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef function$<$ T(void) $>$ \mbox{\hyperlink{class_ogre_1_1_property_a024df6872dcad7e9eb7065fc3a753882}{getter\+\_\+func}}
\item 
typedef function$<$ void(T) $>$ \mbox{\hyperlink{class_ogre_1_1_property_a978dc898fe733067fbe3fc4d244d02e3}{setter\+\_\+func}}
\item 
typedef T \mbox{\hyperlink{class_ogre_1_1_property_a06f442becff5384a8fd99c21eeb0234b}{value\+\_\+type}}
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_property_a12487350ad5d420e7c607551da33bb2c}{Property}} (\mbox{\hyperlink{class_ogre_1_1_property_def}{Property\+Def}} $\ast$def, \mbox{\hyperlink{class_ogre_1_1_property_a024df6872dcad7e9eb7065fc3a753882}{getter\+\_\+func}} getter, \mbox{\hyperlink{class_ogre_1_1_property_a978dc898fe733067fbe3fc4d244d02e3}{setter\+\_\+func}} setter)
\begin{DoxyCompactList}\small\item\em Construct a property which is able to directly call a given getter and setter on a specific object instance, via functors. \end{DoxyCompactList}\item 
virtual T \mbox{\hyperlink{class_ogre_1_1_property_a3580aea5f32b075c0ec343fe9862ce75}{get}} () const
\item 
const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{class_ogre_1_1_property_base_a4a9516b08b7a40e062772919864f3ef7}{get\+Description}} () const
\begin{DoxyCompactList}\small\item\em Get the description of the property. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{class_ogre_1_1_property_base_abc74456c25b4f13a870da8c5d1ae941a}{get\+Name}} () const
\begin{DoxyCompactList}\small\item\em Get the name of the property. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___property_ga0883a5af9197151407965df0bacc4f3a}{Property\+Type}} \mbox{\hyperlink{class_ogre_1_1_property_base_a910c8a9a23043851e69ad773a0fc5899}{get\+Type}} () const
\begin{DoxyCompactList}\small\item\em Get the type of the property. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_any}{Ogre\+::\+Any}} \mbox{\hyperlink{class_ogre_1_1_property_aa8e6bdf6191982b1d1e84f2333fc2da9}{get\+Value}} () const
\begin{DoxyCompactList}\small\item\em Return the current value as an \mbox{\hyperlink{class_ogre_1_1_any}{Any}}. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_property_aca2854fc3ea2b44d61082613cb4acd4c}{set}} (T val)
\begin{DoxyCompactList}\small\item\em Set the property value. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\subsubsection*{template$<$typename T$>$\newline
class Ogre\+::\+Property$<$ T $>$}

\mbox{\hyperlink{class_ogre_1_1_property}{Property}} instance with passthrough calls to a given object. 

\doxysubsection{Member Typedef Documentation}
\mbox{\Hypertarget{class_ogre_1_1_property_a06f442becff5384a8fd99c21eeb0234b}\label{class_ogre_1_1_property_a06f442becff5384a8fd99c21eeb0234b}} 
\index{Ogre::Property$<$ T $>$@{Ogre::Property$<$ T $>$}!value\_type@{value\_type}}
\index{value\_type@{value\_type}!Ogre::Property$<$ T $>$@{Ogre::Property$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{value\_type}{value\_type}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
typedef T \mbox{\hyperlink{class_ogre_1_1_property}{Ogre\+::\+Property}}$<$ T $>$\+::\mbox{\hyperlink{class_ogre_1_1_property_a06f442becff5384a8fd99c21eeb0234b}{value\+\_\+type}}}

\mbox{\Hypertarget{class_ogre_1_1_property_a024df6872dcad7e9eb7065fc3a753882}\label{class_ogre_1_1_property_a024df6872dcad7e9eb7065fc3a753882}} 
\index{Ogre::Property$<$ T $>$@{Ogre::Property$<$ T $>$}!getter\_func@{getter\_func}}
\index{getter\_func@{getter\_func}!Ogre::Property$<$ T $>$@{Ogre::Property$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{getter\_func}{getter\_func}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
typedef function$<$ T (void) $>$ \mbox{\hyperlink{class_ogre_1_1_property}{Ogre\+::\+Property}}$<$ T $>$\+::\mbox{\hyperlink{class_ogre_1_1_property_a024df6872dcad7e9eb7065fc3a753882}{getter\+\_\+func}}}

\mbox{\Hypertarget{class_ogre_1_1_property_a978dc898fe733067fbe3fc4d244d02e3}\label{class_ogre_1_1_property_a978dc898fe733067fbe3fc4d244d02e3}} 
\index{Ogre::Property$<$ T $>$@{Ogre::Property$<$ T $>$}!setter\_func@{setter\_func}}
\index{setter\_func@{setter\_func}!Ogre::Property$<$ T $>$@{Ogre::Property$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{setter\_func}{setter\_func}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
typedef function$<$ void (T) $>$ \mbox{\hyperlink{class_ogre_1_1_property}{Ogre\+::\+Property}}$<$ T $>$\+::\mbox{\hyperlink{class_ogre_1_1_property_a978dc898fe733067fbe3fc4d244d02e3}{setter\+\_\+func}}}



\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_property_a12487350ad5d420e7c607551da33bb2c}\label{class_ogre_1_1_property_a12487350ad5d420e7c607551da33bb2c}} 
\index{Ogre::Property$<$ T $>$@{Ogre::Property$<$ T $>$}!Property@{Property}}
\index{Property@{Property}!Ogre::Property$<$ T $>$@{Ogre::Property$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{Property()}{Property()}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
\mbox{\hyperlink{class_ogre_1_1_property}{Ogre\+::\+Property}}$<$ T $>$\+::\mbox{\hyperlink{class_ogre_1_1_property}{Property}} (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_property_def}{Property\+Def}} $\ast$}]{def,  }\item[{\mbox{\hyperlink{class_ogre_1_1_property_a024df6872dcad7e9eb7065fc3a753882}{getter\+\_\+func}}}]{getter,  }\item[{\mbox{\hyperlink{class_ogre_1_1_property_a978dc898fe733067fbe3fc4d244d02e3}{setter\+\_\+func}}}]{setter }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Construct a property which is able to directly call a given getter and setter on a specific object instance, via functors. 



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_property_aca2854fc3ea2b44d61082613cb4acd4c}\label{class_ogre_1_1_property_aca2854fc3ea2b44d61082613cb4acd4c}} 
\index{Ogre::Property$<$ T $>$@{Ogre::Property$<$ T $>$}!set@{set}}
\index{set@{set}!Ogre::Property$<$ T $>$@{Ogre::Property$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{set()}{set()}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
virtual void \mbox{\hyperlink{class_ogre_1_1_property}{Ogre\+::\+Property}}$<$ T $>$\+::\mbox{\hyperlink{struct_ogre_1_1set}{set}} (\begin{DoxyParamCaption}\item[{T}]{val }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Set the property value. 

\mbox{\Hypertarget{class_ogre_1_1_property_a3580aea5f32b075c0ec343fe9862ce75}\label{class_ogre_1_1_property_a3580aea5f32b075c0ec343fe9862ce75}} 
\index{Ogre::Property$<$ T $>$@{Ogre::Property$<$ T $>$}!get@{get}}
\index{get@{get}!Ogre::Property$<$ T $>$@{Ogre::Property$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{get()}{get()}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
virtual T \mbox{\hyperlink{class_ogre_1_1_property}{Ogre\+::\+Property}}$<$ T $>$\+::get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Referenced by Ogre\+::\+Property$<$ T $>$\+::get\+Value().

\mbox{\Hypertarget{class_ogre_1_1_property_aa8e6bdf6191982b1d1e84f2333fc2da9}\label{class_ogre_1_1_property_aa8e6bdf6191982b1d1e84f2333fc2da9}} 
\index{Ogre::Property$<$ T $>$@{Ogre::Property$<$ T $>$}!getValue@{getValue}}
\index{getValue@{getValue}!Ogre::Property$<$ T $>$@{Ogre::Property$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{getValue()}{getValue()}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
\mbox{\hyperlink{class_ogre_1_1_any}{Ogre\+::\+Any}} \mbox{\hyperlink{class_ogre_1_1_property}{Ogre\+::\+Property}}$<$ T $>$\+::get\+Value (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Return the current value as an \mbox{\hyperlink{class_ogre_1_1_any}{Any}}. 



Implements \mbox{\hyperlink{class_ogre_1_1_property_base_a3e5042f240c0f101ed6dd4c88789f2b1}{Ogre\+::\+Property\+Base}}.



References Ogre\+::\+Property$<$ T $>$\+::get().

\mbox{\Hypertarget{class_ogre_1_1_property_base_abc74456c25b4f13a870da8c5d1ae941a}\label{class_ogre_1_1_property_base_abc74456c25b4f13a870da8c5d1ae941a}} 
\index{Ogre::Property$<$ T $>$@{Ogre::Property$<$ T $>$}!getName@{getName}}
\index{getName@{getName}!Ogre::Property$<$ T $>$@{Ogre::Property$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{getName()}{getName()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}\& Ogre\+::\+Property\+Base\+::get\+Name (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Get the name of the property. 

\mbox{\Hypertarget{class_ogre_1_1_property_base_a4a9516b08b7a40e062772919864f3ef7}\label{class_ogre_1_1_property_base_a4a9516b08b7a40e062772919864f3ef7}} 
\index{Ogre::Property$<$ T $>$@{Ogre::Property$<$ T $>$}!getDescription@{getDescription}}
\index{getDescription@{getDescription}!Ogre::Property$<$ T $>$@{Ogre::Property$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{getDescription()}{getDescription()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}\& Ogre\+::\+Property\+Base\+::get\+Description (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Get the description of the property. 

\mbox{\Hypertarget{class_ogre_1_1_property_base_a910c8a9a23043851e69ad773a0fc5899}\label{class_ogre_1_1_property_base_a910c8a9a23043851e69ad773a0fc5899}} 
\index{Ogre::Property$<$ T $>$@{Ogre::Property$<$ T $>$}!getType@{getType}}
\index{getType@{getType}!Ogre::Property$<$ T $>$@{Ogre::Property$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{getType()}{getType()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___property_ga0883a5af9197151407965df0bacc4f3a}{Property\+Type}} Ogre\+::\+Property\+Base\+::get\+Type (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Get the type of the property. 



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{_ogre_property_8h}{Ogre\+Property.\+h}}\end{DoxyCompactItemize}
