\hypertarget{a10724}{}\section{V\+SI\+:\+:Context Class Reference}
\label{a10724}\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{a10724_a5c8f20000d203854a6a91017a1d303ee}\label{a10724_a5c8f20000d203854a6a91017a1d303ee}} 
\hyperlink{a10724_a5c8f20000d203854a6a91017a1d303ee}{Context} (Q\+Script\+Engine $\ast$\+\_\+engine)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10724_aa5f7eb64d8cb3504410e0b9a427bdc2d}\label{a10724_aa5f7eb64d8cb3504410e0b9a427bdc2d}} 
\hyperlink{a10724_aa5f7eb64d8cb3504410e0b9a427bdc2d}{$\sim$\+Context} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10724_ab4028333b8cd9f34102de783dfce9645}\label{a10724_ab4028333b8cd9f34102de783dfce9645}} 
void \hyperlink{a10724_ab4028333b8cd9f34102de783dfce9645}{parse} (Q\+Byte\+Array \+\_\+xml)
\begin{DoxyCompactList}\small\item\em Parse xml content. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10724_a92f3061d38127221ddbd93a572031bc0}\label{a10724_a92f3061d38127221ddbd93a572031bc0}} 
const Q\+Vector$<$ \hyperlink{a10728}{Element} $\ast$ $>$ \& \hyperlink{a10724_a92f3061d38127221ddbd93a572031bc0}{elements} () const
\begin{DoxyCompactList}\small\item\em Returns all available elements. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10724_a23890c4e94ac2ecf80b7ce872281547b}\label{a10724_a23890c4e94ac2ecf80b7ce872281547b}} 
Q\+Vector$<$ \hyperlink{a10728}{Element} $\ast$ $>$ \hyperlink{a10724_a23890c4e94ac2ecf80b7ce872281547b}{elements} (Q\+String \+\_\+category)
\begin{DoxyCompactList}\small\item\em Returns all available elements for a given category. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10724_ad8f859f8fd30cdef0f8a6d004d15fe30}\label{a10724_ad8f859f8fd30cdef0f8a6d004d15fe30}} 
\hyperlink{a10728}{Element} $\ast$ \hyperlink{a10724_ad8f859f8fd30cdef0f8a6d004d15fe30}{element} (Q\+String \+\_\+name)
\begin{DoxyCompactList}\small\item\em Returns the element with a given name. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10724_afaff8050388b349be8c3261fc18f2e96}\label{a10724_afaff8050388b349be8c3261fc18f2e96}} 
Q\+String\+List \hyperlink{a10724_afaff8050388b349be8c3261fc18f2e96}{categories} ()
\begin{DoxyCompactList}\small\item\em List of categories. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10724_a1872f5b3365afba0d7f344ff48abf719}\label{a10724_a1872f5b3365afba0d7f344ff48abf719}} 
void \hyperlink{a10724_a1872f5b3365afba0d7f344ff48abf719}{register\+Type} (\hyperlink{a10748}{Type} $\ast$\+\_\+type)
\begin{DoxyCompactList}\small\item\em Registers a supported datatype. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10724_ae8a756d5c4fd9736279368c2ece3fafe}\label{a10724_ae8a756d5c4fd9736279368c2ece3fafe}} 
bool \hyperlink{a10724_ae8a756d5c4fd9736279368c2ece3fafe}{type\+Supported} (Q\+String \+\_\+type)
\begin{DoxyCompactList}\small\item\em Is the given type supported. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10724_affa3fc55f926ef5e04c33cfc03a6d9d8}\label{a10724_affa3fc55f926ef5e04c33cfc03a6d9d8}} 
\hyperlink{a10748}{Type} $\ast$ \hyperlink{a10724_affa3fc55f926ef5e04c33cfc03a6d9d8}{get\+Type} (Q\+String \+\_\+type)
\begin{DoxyCompactList}\small\item\em Get type object for given type name. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10724_a7bbf439e1d2b2c7d37e7df480d37ae1e}\label{a10724_a7bbf439e1d2b2c7d37e7df480d37ae1e}} 
bool \hyperlink{a10724_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{a10724_ad98a04b0aa1c9415620339f5d99f9158}\label{a10724_ad98a04b0aa1c9415620339f5d99f9158}} 
Q\+Script\+Engine $\ast$ \hyperlink{a10724_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{a10724_a5b4dc94813f4fe77cbcdbbb6c469611e}\label{a10724_a5b4dc94813f4fe77cbcdbbb6c469611e}} 
static bool \hyperlink{a10724_a5b4dc94813f4fe77cbcdbbb6c469611e}{str\+To\+Bool} (Q\+String \+\_\+str)
\begin{DoxyCompactList}\small\item\em Converts the given string to bool. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10724_a0a9be2642dca3aff0127c75611a536c3}\label{a10724_a0a9be2642dca3aff0127c75611a536c3}} 
static Q\+String \hyperlink{a10724_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{a10724_ade9cf95e6db8369f61fe3aa8884cdd3c}\label{a10724_ade9cf95e6db8369f61fe3aa8884cdd3c}} 
void {\bfseries parse\+Element} (Q\+Xml\+Query \&\+\_\+xml)
\item 
\mbox{\Hypertarget{a10724_af83c5a0ddb96be9665bb7d40cbcd1251}\label{a10724_af83c5a0ddb96be9665bb7d40cbcd1251}} 
\hyperlink{a10740}{Input} $\ast$ {\bfseries parse\+Input} (Q\+Xml\+Query \&\+\_\+xml, \hyperlink{a10728}{Element} $\ast$\+\_\+e)
\item 
\mbox{\Hypertarget{a10724_a009df8f1bf95b4fb3819cdba46dec2cf}\label{a10724_a009df8f1bf95b4fb3819cdba46dec2cf}} 
\hyperlink{a10744}{Output} $\ast$ {\bfseries parse\+Output} (Q\+Xml\+Query \&\+\_\+xml, \hyperlink{a10728}{Element} $\ast$\+\_\+e)
\item 
\mbox{\Hypertarget{a10724_a8280cd3db72e58ddbd5abb3cd1474225}\label{a10724_a8280cd3db72e58ddbd5abb3cd1474225}} 
\hyperlink{a10732}{Function} $\ast$ {\bfseries parse\+Function} (Q\+Xml\+Query \&\+\_\+xml, \hyperlink{a10728}{Element} $\ast$\+\_\+e)
\item 
\mbox{\Hypertarget{a10724_a810ea97b70766d82a7e6240746564e06}\label{a10724_a810ea97b70766d82a7e6240746564e06}} 
bool {\bfseries parse\+In\+Out\+Base} (Q\+Xml\+Query \&\+\_\+xml, \hyperlink{a10736}{In\+Out} $\ast$\+\_\+io)
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10724_a38173e8575ddc4e0636f8feeb99639b7}\label{a10724_a38173e8575ddc4e0636f8feeb99639b7}} 
Q\+Vector$<$ \hyperlink{a10728}{Element} $\ast$ $>$ {\bfseries elements\+\_\+}
\item 
\mbox{\Hypertarget{a10724_a8406d7efa18a90cd1605c8f2e4b542e8}\label{a10724_a8406d7efa18a90cd1605c8f2e4b542e8}} 
Q\+Map$<$ Q\+String, \hyperlink{a10748}{Type} $\ast$ $>$ {\bfseries supported\+Types\+\_\+}
\item 
\mbox{\Hypertarget{a10724_a13554ebd5904f9519ff0e3e4eda5181e}\label{a10724_a13554ebd5904f9519ff0e3e4eda5181e}} 
Q\+List$<$ \hyperlink{a10748}{Type} $\ast$ $>$ {\bfseries types\+\_\+}
\item 
\mbox{\Hypertarget{a10724_a5c6154aaa7017f34fa086ad13678b957}\label{a10724_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}
