\hypertarget{a00459}{\section{V\+S\+I\+:\+:Context Class Reference}
\label{a00459}\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 
\hypertarget{a00459_a5c8f20000d203854a6a91017a1d303ee}{\hyperlink{a00459_a5c8f20000d203854a6a91017a1d303ee}{Context} (Q\+Script\+Engine $\ast$\+\_\+engine)}\label{a00459_a5c8f20000d203854a6a91017a1d303ee}

\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\hypertarget{a00459_aa5f7eb64d8cb3504410e0b9a427bdc2d}{\hyperlink{a00459_aa5f7eb64d8cb3504410e0b9a427bdc2d}{$\sim$\+Context} ()}\label{a00459_aa5f7eb64d8cb3504410e0b9a427bdc2d}

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\hypertarget{a00459_ab4028333b8cd9f34102de783dfce9645}{void \hyperlink{a00459_ab4028333b8cd9f34102de783dfce9645}{parse} (Q\+Byte\+Array \+\_\+xml)}\label{a00459_ab4028333b8cd9f34102de783dfce9645}

\begin{DoxyCompactList}\small\item\em Parse xml content. \end{DoxyCompactList}\item 
\hypertarget{a00459_a694844f48f79c853d60ddb80ee4b2049}{const Q\+Vector$<$ \hyperlink{a00529}{Element} $\ast$ $>$ \& \hyperlink{a00459_a694844f48f79c853d60ddb80ee4b2049}{elements} () const }\label{a00459_a694844f48f79c853d60ddb80ee4b2049}

\begin{DoxyCompactList}\small\item\em Returns all available elements. \end{DoxyCompactList}\item 
\hypertarget{a00459_a23890c4e94ac2ecf80b7ce872281547b}{Q\+Vector$<$ \hyperlink{a00529}{Element} $\ast$ $>$ \hyperlink{a00459_a23890c4e94ac2ecf80b7ce872281547b}{elements} (Q\+String \+\_\+category)}\label{a00459_a23890c4e94ac2ecf80b7ce872281547b}

\begin{DoxyCompactList}\small\item\em Returns all available elements for a given category. \end{DoxyCompactList}\item 
\hypertarget{a00459_ad8f859f8fd30cdef0f8a6d004d15fe30}{\hyperlink{a00529}{Element} $\ast$ \hyperlink{a00459_ad8f859f8fd30cdef0f8a6d004d15fe30}{element} (Q\+String \+\_\+name)}\label{a00459_ad8f859f8fd30cdef0f8a6d004d15fe30}

\begin{DoxyCompactList}\small\item\em Returns the element with a given name. \end{DoxyCompactList}\item 
\hypertarget{a00459_afaff8050388b349be8c3261fc18f2e96}{Q\+String\+List \hyperlink{a00459_afaff8050388b349be8c3261fc18f2e96}{categories} ()}\label{a00459_afaff8050388b349be8c3261fc18f2e96}

\begin{DoxyCompactList}\small\item\em List of categories. \end{DoxyCompactList}\item 
\hypertarget{a00459_a1872f5b3365afba0d7f344ff48abf719}{void \hyperlink{a00459_a1872f5b3365afba0d7f344ff48abf719}{register\+Type} (\hyperlink{a01345}{Type} $\ast$\+\_\+type)}\label{a00459_a1872f5b3365afba0d7f344ff48abf719}

\begin{DoxyCompactList}\small\item\em Registers a supported datatype. \end{DoxyCompactList}\item 
\hypertarget{a00459_ae8a756d5c4fd9736279368c2ece3fafe}{bool \hyperlink{a00459_ae8a756d5c4fd9736279368c2ece3fafe}{type\+Supported} (Q\+String \+\_\+type)}\label{a00459_ae8a756d5c4fd9736279368c2ece3fafe}

\begin{DoxyCompactList}\small\item\em Is the given type supported. \end{DoxyCompactList}\item 
\hypertarget{a00459_affa3fc55f926ef5e04c33cfc03a6d9d8}{\hyperlink{a01345}{Type} $\ast$ \hyperlink{a00459_affa3fc55f926ef5e04c33cfc03a6d9d8}{get\+Type} (Q\+String \+\_\+type)}\label{a00459_affa3fc55f926ef5e04c33cfc03a6d9d8}

\begin{DoxyCompactList}\small\item\em Get type object for given type name. \end{DoxyCompactList}\item 
\hypertarget{a00459_a7bbf439e1d2b2c7d37e7df480d37ae1e}{bool \hyperlink{a00459_a7bbf439e1d2b2c7d37e7df480d37ae1e}{can\+Convert} (Q\+String \+\_\+type1, Q\+String \+\_\+type2)}\label{a00459_a7bbf439e1d2b2c7d37e7df480d37ae1e}

\begin{DoxyCompactList}\small\item\em Can the given types be converted to each other. \end{DoxyCompactList}\item 
\hypertarget{a00459_ad98a04b0aa1c9415620339f5d99f9158}{Q\+Script\+Engine $\ast$ \hyperlink{a00459_ad98a04b0aa1c9415620339f5d99f9158}{script\+Engine} ()}\label{a00459_ad98a04b0aa1c9415620339f5d99f9158}

\begin{DoxyCompactList}\small\item\em Return script engine pointer. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00459_a5b4dc94813f4fe77cbcdbbb6c469611e}{static bool \hyperlink{a00459_a5b4dc94813f4fe77cbcdbbb6c469611e}{str\+To\+Bool} (Q\+String \+\_\+str)}\label{a00459_a5b4dc94813f4fe77cbcdbbb6c469611e}

\begin{DoxyCompactList}\small\item\em Converts the given string to bool. \end{DoxyCompactList}\item 
\hypertarget{a00459_a0a9be2642dca3aff0127c75611a536c3}{static Q\+String \hyperlink{a00459_a0a9be2642dca3aff0127c75611a536c3}{get\+Xml\+String} (Q\+Xml\+Query \&\+\_\+xml, Q\+String \+\_\+expr, Q\+String \+\_\+default=\char`\"{}\char`\"{})}\label{a00459_a0a9be2642dca3aff0127c75611a536c3}

\begin{DoxyCompactList}\small\item\em Gets the string of a xml query. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00459_ade9cf95e6db8369f61fe3aa8884cdd3c}{void {\bfseries parse\+Element} (Q\+Xml\+Query \&\+\_\+xml)}\label{a00459_ade9cf95e6db8369f61fe3aa8884cdd3c}

\item 
\hypertarget{a00459_af83c5a0ddb96be9665bb7d40cbcd1251}{\hyperlink{a00730}{Input} $\ast$ {\bfseries parse\+Input} (Q\+Xml\+Query \&\+\_\+xml, \hyperlink{a00529}{Element} $\ast$\+\_\+e)}\label{a00459_af83c5a0ddb96be9665bb7d40cbcd1251}

\item 
\hypertarget{a00459_a009df8f1bf95b4fb3819cdba46dec2cf}{\hyperlink{a00946}{Output} $\ast$ {\bfseries parse\+Output} (Q\+Xml\+Query \&\+\_\+xml, \hyperlink{a00529}{Element} $\ast$\+\_\+e)}\label{a00459_a009df8f1bf95b4fb3819cdba46dec2cf}

\item 
\hypertarget{a00459_a8280cd3db72e58ddbd5abb3cd1474225}{\hyperlink{a00603}{Function} $\ast$ {\bfseries parse\+Function} (Q\+Xml\+Query \&\+\_\+xml, \hyperlink{a00529}{Element} $\ast$\+\_\+e)}\label{a00459_a8280cd3db72e58ddbd5abb3cd1474225}

\item 
\hypertarget{a00459_a810ea97b70766d82a7e6240746564e06}{bool {\bfseries parse\+In\+Out\+Base} (Q\+Xml\+Query \&\+\_\+xml, \hyperlink{a00729}{In\+Out} $\ast$\+\_\+io)}\label{a00459_a810ea97b70766d82a7e6240746564e06}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00459_a38173e8575ddc4e0636f8feeb99639b7}{Q\+Vector$<$ \hyperlink{a00529}{Element} $\ast$ $>$ {\bfseries elements\+\_\+}}\label{a00459_a38173e8575ddc4e0636f8feeb99639b7}

\item 
\hypertarget{a00459_a8406d7efa18a90cd1605c8f2e4b542e8}{Q\+Map$<$ Q\+String, \hyperlink{a01345}{Type} $\ast$ $>$ {\bfseries supported\+Types\+\_\+}}\label{a00459_a8406d7efa18a90cd1605c8f2e4b542e8}

\item 
\hypertarget{a00459_a13554ebd5904f9519ff0e3e4eda5181e}{Q\+List$<$ \hyperlink{a01345}{Type} $\ast$ $>$ {\bfseries types\+\_\+}}\label{a00459_a13554ebd5904f9519ff0e3e4eda5181e}

\item 
\hypertarget{a00459_a5c6154aaa7017f34fa086ad13678b957}{Q\+Script\+Engine $\ast$ {\bfseries script\+Engine\+\_\+}}\label{a00459_a5c6154aaa7017f34fa086ad13678b957}

\end{DoxyCompactItemize}


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

Definition at line 76 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}
