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


\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}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef function$<$ T(void) $>$ \hyperlink{class_ogre_1_1_property_a024df6872dcad7e9eb7065fc3a753882}{getter\+\_\+func}
\item 
typedef function$<$ void(T) $>$ \hyperlink{class_ogre_1_1_property_a978dc898fe733067fbe3fc4d244d02e3}{setter\+\_\+func}
\item 
typedef T \hyperlink{class_ogre_1_1_property_a06f442becff5384a8fd99c21eeb0234b}{value\+\_\+type}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_property_a12487350ad5d420e7c607551da33bb2c}{Property} (\hyperlink{class_ogre_1_1_property_def}{Property\+Def} $\ast$def, \hyperlink{class_ogre_1_1_property_a024df6872dcad7e9eb7065fc3a753882}{getter\+\_\+func} getter, \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 \hyperlink{class_ogre_1_1_property_a3580aea5f32b075c0ec343fe9862ce75}{get} () const
\item 
const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \& \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 \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \& \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 
\hyperlink{group___property_ga0883a5af9197151407965df0bacc4f3a}{Property\+Type} \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 
\hyperlink{class_ogre_1_1_any}{Ogre\+::\+Any} \hyperlink{class_ogre_1_1_property_aa8e6bdf6191982b1d1e84f2333fc2da9}{get\+Value} () const
\begin{DoxyCompactList}\small\item\em Return the current value as an \hyperlink{class_ogre_1_1_any}{Any}. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_property_aca2854fc3ea2b44d61082613cb4acd4c}{set} (T val)
\begin{DoxyCompactList}\small\item\em Set the property value. \end{DoxyCompactList}\end{DoxyCompactItemize}


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

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



\subsection{Member Typedef Documentation}
\mbox{\Hypertarget{class_ogre_1_1_property_a06f442becff5384a8fd99c21eeb0234b}\label{class_ogre_1_1_property_a06f442becff5384a8fd99c21eeb0234b}} 
\index{Ogre\+::\+Property@{Ogre\+::\+Property}!value\+\_\+type@{value\+\_\+type}}
\index{value\+\_\+type@{value\+\_\+type}!Ogre\+::\+Property@{Ogre\+::\+Property}}
\subsubsection{\texorpdfstring{value\+\_\+type}{value\_type}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
typedef T \hyperlink{class_ogre_1_1_property}{Ogre\+::\+Property}$<$ T $>$\+::\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@{Ogre\+::\+Property}!getter\+\_\+func@{getter\+\_\+func}}
\index{getter\+\_\+func@{getter\+\_\+func}!Ogre\+::\+Property@{Ogre\+::\+Property}}
\subsubsection{\texorpdfstring{getter\+\_\+func}{getter\_func}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
typedef function$<$ T (void) $>$ \hyperlink{class_ogre_1_1_property}{Ogre\+::\+Property}$<$ T $>$\+::\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@{Ogre\+::\+Property}!setter\+\_\+func@{setter\+\_\+func}}
\index{setter\+\_\+func@{setter\+\_\+func}!Ogre\+::\+Property@{Ogre\+::\+Property}}
\subsubsection{\texorpdfstring{setter\+\_\+func}{setter\_func}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
typedef function$<$ void (T) $>$ \hyperlink{class_ogre_1_1_property}{Ogre\+::\+Property}$<$ T $>$\+::\hyperlink{class_ogre_1_1_property_a978dc898fe733067fbe3fc4d244d02e3}{setter\+\_\+func}}



\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_property_a12487350ad5d420e7c607551da33bb2c}\label{class_ogre_1_1_property_a12487350ad5d420e7c607551da33bb2c}} 
\index{Ogre\+::\+Property@{Ogre\+::\+Property}!Property@{Property}}
\index{Property@{Property}!Ogre\+::\+Property@{Ogre\+::\+Property}}
\subsubsection{\texorpdfstring{Property()}{Property()}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
\hyperlink{class_ogre_1_1_property}{Ogre\+::\+Property}$<$ T $>$\+::\hyperlink{class_ogre_1_1_property}{Property} (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_property_def}{Property\+Def} $\ast$}]{def,  }\item[{\hyperlink{class_ogre_1_1_property_a024df6872dcad7e9eb7065fc3a753882}{getter\+\_\+func}}]{getter,  }\item[{\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. 



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_property_aca2854fc3ea2b44d61082613cb4acd4c}\label{class_ogre_1_1_property_aca2854fc3ea2b44d61082613cb4acd4c}} 
\index{Ogre\+::\+Property@{Ogre\+::\+Property}!set@{set}}
\index{set@{set}!Ogre\+::\+Property@{Ogre\+::\+Property}}
\subsubsection{\texorpdfstring{set()}{set()}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
virtual void \hyperlink{class_ogre_1_1_property}{Ogre\+::\+Property}$<$ T $>$\+::\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@{Ogre\+::\+Property}!get@{get}}
\index{get@{get}!Ogre\+::\+Property@{Ogre\+::\+Property}}
\subsubsection{\texorpdfstring{get()}{get()}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
virtual T \hyperlink{class_ogre_1_1_property}{Ogre\+::\+Property}$<$ T $>$\+::get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

\mbox{\Hypertarget{class_ogre_1_1_property_aa8e6bdf6191982b1d1e84f2333fc2da9}\label{class_ogre_1_1_property_aa8e6bdf6191982b1d1e84f2333fc2da9}} 
\index{Ogre\+::\+Property@{Ogre\+::\+Property}!get\+Value@{get\+Value}}
\index{get\+Value@{get\+Value}!Ogre\+::\+Property@{Ogre\+::\+Property}}
\subsubsection{\texorpdfstring{get\+Value()}{getValue()}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
\hyperlink{class_ogre_1_1_any}{Ogre\+::\+Any} \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 \hyperlink{class_ogre_1_1_any}{Any}. 



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

\mbox{\Hypertarget{class_ogre_1_1_property_base_abc74456c25b4f13a870da8c5d1ae941a}\label{class_ogre_1_1_property_base_abc74456c25b4f13a870da8c5d1ae941a}} 
\index{Ogre\+::\+Property@{Ogre\+::\+Property}!get\+Name@{get\+Name}}
\index{get\+Name@{get\+Name}!Ogre\+::\+Property@{Ogre\+::\+Property}}
\subsubsection{\texorpdfstring{get\+Name()}{getName()}}
{\footnotesize\ttfamily const \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@{Ogre\+::\+Property}!get\+Description@{get\+Description}}
\index{get\+Description@{get\+Description}!Ogre\+::\+Property@{Ogre\+::\+Property}}
\subsubsection{\texorpdfstring{get\+Description()}{getDescription()}}
{\footnotesize\ttfamily const \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@{Ogre\+::\+Property}!get\+Type@{get\+Type}}
\index{get\+Type@{get\+Type}!Ogre\+::\+Property@{Ogre\+::\+Property}}
\subsubsection{\texorpdfstring{get\+Type()}{getType()}}
{\footnotesize\ttfamily \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. 



Referenced by Ogre\+::\+Property\+Set\+::set\+Value().



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