\hypertarget{classVSI_1_1Context}{}\section{V\+SI\+:\+:Context Class Reference}
\label{classVSI_1_1Context}\index{V\+S\+I\+::\+Context@{V\+S\+I\+::\+Context}}


{\ttfamily \#include $<$Plugin-\/\+V\+S\+I/parser/context.\+hh$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classVSI_1_1Context_a5c8f20000d203854a6a91017a1d303ee}\label{classVSI_1_1Context_a5c8f20000d203854a6a91017a1d303ee}} 
\hyperlink{classVSI_1_1Context_a5c8f20000d203854a6a91017a1d303ee}{Context} (Q\+Script\+Engine $\ast$\+\_\+engine)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1Context_aa5f7eb64d8cb3504410e0b9a427bdc2d}\label{classVSI_1_1Context_aa5f7eb64d8cb3504410e0b9a427bdc2d}} 
\hyperlink{classVSI_1_1Context_aa5f7eb64d8cb3504410e0b9a427bdc2d}{$\sim$\+Context} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1Context_ab4028333b8cd9f34102de783dfce9645}\label{classVSI_1_1Context_ab4028333b8cd9f34102de783dfce9645}} 
void \hyperlink{classVSI_1_1Context_ab4028333b8cd9f34102de783dfce9645}{parse} (Q\+Byte\+Array \+\_\+xml)
\begin{DoxyCompactList}\small\item\em Parse xml content. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1Context_a92f3061d38127221ddbd93a572031bc0}\label{classVSI_1_1Context_a92f3061d38127221ddbd93a572031bc0}} 
const Q\+Vector$<$ \hyperlink{classVSI_1_1Element}{Element} $\ast$ $>$ \& \hyperlink{classVSI_1_1Context_a92f3061d38127221ddbd93a572031bc0}{elements} () const
\begin{DoxyCompactList}\small\item\em Returns all available elements. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1Context_a23890c4e94ac2ecf80b7ce872281547b}\label{classVSI_1_1Context_a23890c4e94ac2ecf80b7ce872281547b}} 
Q\+Vector$<$ \hyperlink{classVSI_1_1Element}{Element} $\ast$ $>$ \hyperlink{classVSI_1_1Context_a23890c4e94ac2ecf80b7ce872281547b}{elements} (Q\+String \+\_\+category)
\begin{DoxyCompactList}\small\item\em Returns all available elements for a given category. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1Context_ad8f859f8fd30cdef0f8a6d004d15fe30}\label{classVSI_1_1Context_ad8f859f8fd30cdef0f8a6d004d15fe30}} 
\hyperlink{classVSI_1_1Element}{Element} $\ast$ \hyperlink{classVSI_1_1Context_ad8f859f8fd30cdef0f8a6d004d15fe30}{element} (Q\+String \+\_\+name)
\begin{DoxyCompactList}\small\item\em Returns the element with a given name. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1Context_afaff8050388b349be8c3261fc18f2e96}\label{classVSI_1_1Context_afaff8050388b349be8c3261fc18f2e96}} 
Q\+String\+List \hyperlink{classVSI_1_1Context_afaff8050388b349be8c3261fc18f2e96}{categories} ()
\begin{DoxyCompactList}\small\item\em List of categories. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1Context_a1872f5b3365afba0d7f344ff48abf719}\label{classVSI_1_1Context_a1872f5b3365afba0d7f344ff48abf719}} 
void \hyperlink{classVSI_1_1Context_a1872f5b3365afba0d7f344ff48abf719}{register\+Type} (\hyperlink{classVSI_1_1Type}{Type} $\ast$\+\_\+type)
\begin{DoxyCompactList}\small\item\em Registers a supported datatype. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1Context_ae8a756d5c4fd9736279368c2ece3fafe}\label{classVSI_1_1Context_ae8a756d5c4fd9736279368c2ece3fafe}} 
bool \hyperlink{classVSI_1_1Context_ae8a756d5c4fd9736279368c2ece3fafe}{type\+Supported} (Q\+String \+\_\+type)
\begin{DoxyCompactList}\small\item\em Is the given type supported. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1Context_affa3fc55f926ef5e04c33cfc03a6d9d8}\label{classVSI_1_1Context_affa3fc55f926ef5e04c33cfc03a6d9d8}} 
\hyperlink{classVSI_1_1Type}{Type} $\ast$ \hyperlink{classVSI_1_1Context_affa3fc55f926ef5e04c33cfc03a6d9d8}{get\+Type} (Q\+String \+\_\+type)
\begin{DoxyCompactList}\small\item\em Get type object for given type name. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1Context_a7bbf439e1d2b2c7d37e7df480d37ae1e}\label{classVSI_1_1Context_a7bbf439e1d2b2c7d37e7df480d37ae1e}} 
bool \hyperlink{classVSI_1_1Context_a7bbf439e1d2b2c7d37e7df480d37ae1e}{can\+Convert} (Q\+String \+\_\+type1, Q\+String \+\_\+type2)
\begin{DoxyCompactList}\small\item\em Can the given types be converted to each other. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1Context_ad98a04b0aa1c9415620339f5d99f9158}\label{classVSI_1_1Context_ad98a04b0aa1c9415620339f5d99f9158}} 
Q\+Script\+Engine $\ast$ \hyperlink{classVSI_1_1Context_ad98a04b0aa1c9415620339f5d99f9158}{script\+Engine} ()
\begin{DoxyCompactList}\small\item\em Return script engine pointer. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classVSI_1_1Context_a5b4dc94813f4fe77cbcdbbb6c469611e}\label{classVSI_1_1Context_a5b4dc94813f4fe77cbcdbbb6c469611e}} 
static bool \hyperlink{classVSI_1_1Context_a5b4dc94813f4fe77cbcdbbb6c469611e}{str\+To\+Bool} (Q\+String \+\_\+str)
\begin{DoxyCompactList}\small\item\em Converts the given string to bool. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1Context_a0a9be2642dca3aff0127c75611a536c3}\label{classVSI_1_1Context_a0a9be2642dca3aff0127c75611a536c3}} 
static Q\+String \hyperlink{classVSI_1_1Context_a0a9be2642dca3aff0127c75611a536c3}{get\+Xml\+String} (Q\+Xml\+Query \&\+\_\+xml, Q\+String \+\_\+expr, Q\+String \+\_\+default=\char`\"{}\char`\"{})
\begin{DoxyCompactList}\small\item\em Gets the string of a xml query. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classVSI_1_1Context_ade9cf95e6db8369f61fe3aa8884cdd3c}\label{classVSI_1_1Context_ade9cf95e6db8369f61fe3aa8884cdd3c}} 
void {\bfseries parse\+Element} (Q\+Xml\+Query \&\+\_\+xml)
\item 
\mbox{\Hypertarget{classVSI_1_1Context_af83c5a0ddb96be9665bb7d40cbcd1251}\label{classVSI_1_1Context_af83c5a0ddb96be9665bb7d40cbcd1251}} 
\hyperlink{classVSI_1_1Input}{Input} $\ast$ {\bfseries parse\+Input} (Q\+Xml\+Query \&\+\_\+xml, \hyperlink{classVSI_1_1Element}{Element} $\ast$\+\_\+e)
\item 
\mbox{\Hypertarget{classVSI_1_1Context_a009df8f1bf95b4fb3819cdba46dec2cf}\label{classVSI_1_1Context_a009df8f1bf95b4fb3819cdba46dec2cf}} 
\hyperlink{classVSI_1_1Output}{Output} $\ast$ {\bfseries parse\+Output} (Q\+Xml\+Query \&\+\_\+xml, \hyperlink{classVSI_1_1Element}{Element} $\ast$\+\_\+e)
\item 
\mbox{\Hypertarget{classVSI_1_1Context_a8280cd3db72e58ddbd5abb3cd1474225}\label{classVSI_1_1Context_a8280cd3db72e58ddbd5abb3cd1474225}} 
\hyperlink{classVSI_1_1Function}{Function} $\ast$ {\bfseries parse\+Function} (Q\+Xml\+Query \&\+\_\+xml, \hyperlink{classVSI_1_1Element}{Element} $\ast$\+\_\+e)
\item 
\mbox{\Hypertarget{classVSI_1_1Context_a810ea97b70766d82a7e6240746564e06}\label{classVSI_1_1Context_a810ea97b70766d82a7e6240746564e06}} 
bool {\bfseries parse\+In\+Out\+Base} (Q\+Xml\+Query \&\+\_\+xml, \hyperlink{classVSI_1_1InOut}{In\+Out} $\ast$\+\_\+io)
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classVSI_1_1Context_a38173e8575ddc4e0636f8feeb99639b7}\label{classVSI_1_1Context_a38173e8575ddc4e0636f8feeb99639b7}} 
Q\+Vector$<$ \hyperlink{classVSI_1_1Element}{Element} $\ast$ $>$ {\bfseries elements\+\_\+}
\item 
\mbox{\Hypertarget{classVSI_1_1Context_a8406d7efa18a90cd1605c8f2e4b542e8}\label{classVSI_1_1Context_a8406d7efa18a90cd1605c8f2e4b542e8}} 
Q\+Map$<$ Q\+String, \hyperlink{classVSI_1_1Type}{Type} $\ast$ $>$ {\bfseries supported\+Types\+\_\+}
\item 
\mbox{\Hypertarget{classVSI_1_1Context_a13554ebd5904f9519ff0e3e4eda5181e}\label{classVSI_1_1Context_a13554ebd5904f9519ff0e3e4eda5181e}} 
Q\+List$<$ \hyperlink{classVSI_1_1Type}{Type} $\ast$ $>$ {\bfseries types\+\_\+}
\item 
\mbox{\Hypertarget{classVSI_1_1Context_a5c6154aaa7017f34fa086ad13678b957}\label{classVSI_1_1Context_a5c6154aaa7017f34fa086ad13678b957}} 
Q\+Script\+Engine $\ast$ {\bfseries script\+Engine\+\_\+}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Class holding all the informations / parsed xml metadata for the visual scripting interface 

Definition at line 70 of file context.\+hh.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Plugin-\/\+V\+S\+I/parser/context.\+hh\item 
Plugin-\/\+V\+S\+I/parser/context.\+cc\end{DoxyCompactItemize}
