\doxysection{Tag.\+h}
\hypertarget{Tag_8h_source}{}\label{Tag_8h_source}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{preprocessor}{\#ifndef\ \_\_Tag\_h\_\_}}
\DoxyCodeLine{00002\ \textcolor{preprocessor}{\#define\ \_\_Tag\_h\_\_}}
\DoxyCodeLine{00003\ }
\DoxyCodeLine{00004\ \textcolor{preprocessor}{\#include\ "{}ZString.h"{}}}
\DoxyCodeLine{00005\ \textcolor{preprocessor}{\#include\ "{}MString.h"{}}}
\DoxyCodeLine{00006\ \textcolor{preprocessor}{\#include\ "{}Global.h"{}}}
\DoxyCodeLine{00007\ \textcolor{preprocessor}{\#include\ <map>}}
\DoxyCodeLine{00008\ }
\DoxyCodeLine{00012\ }
\DoxyCodeLine{00013\ \textcolor{keyword}{namespace\ }jet\ \{}
\DoxyCodeLine{00014\ }
\DoxyCodeLine{00018\ \ \ \ }
\DoxyCodeLine{00019\ \ \ \ \textcolor{keyword}{class\ }\mbox{\hyperlink{classjet_1_1Tag}{Tag}}\ :\ \textcolor{keyword}{public}\ coreutils::ZString\ \{}
\DoxyCodeLine{00020\ }
\DoxyCodeLine{00021\ \ \ \ \ \textcolor{keyword}{public}:}
\DoxyCodeLine{00022\ \ \ \ \ \ \ \mbox{\hyperlink{classjet_1_1Tag}{Tag}}(coreutils::ZString\ \&in,\ coreutils::MString\ \&parentOut,\ \mbox{\hyperlink{classjet_1_1Global}{Global}}\ \&global,\ \mbox{\hyperlink{classjet_1_1Tag}{Tag}}\ *parent\ =\ NULL,\ \mbox{\hyperlink{classjet_1_1Tag}{Tag}}\ *local\ =\ NULL,\ coreutils::ZString\ splitTagName\ =\ \textcolor{stringliteral}{"{}"{}});\ }
\DoxyCodeLine{00023\ \ \ \ \ \ \ \textcolor{keyword}{virtual}\ \mbox{\hyperlink{classjet_1_1Tag_ae38b29ca4dc8b0cbd09a2b2b377f2704}{\string~Tag}}();}
\DoxyCodeLine{00024\ }
\DoxyCodeLine{00025\ \ \ \ \ \ \ coreutils::MString\ getVariable(coreutils::ZString\ \&variable,\ \textcolor{keywordtype}{bool}\ inContainer\ =\ \textcolor{keyword}{false});\ }
\DoxyCodeLine{00026\ }
\DoxyCodeLine{00027\ \ \ \ \ \ \ coreutils::MString\ \mbox{\hyperlink{classjet_1_1Tag_a8dfb107f3c2bbe7bcc9e8d566153c0e3}{resolveKeyword}}(coreutils::ZString\ keyword);}
\DoxyCodeLine{00028\ \ \ \ \ \ \ std::map<coreutils::MString,\ coreutils::MString>\ variables;}
\DoxyCodeLine{00029\ \ \ \ \ \ \ std::map<coreutils::MString,\ coreutils::MString>\ keywords;}
\DoxyCodeLine{00030\ \ \ \ \ \ \ coreutils::ZString\ name;}
\DoxyCodeLine{00031\ \ \ \ \ \ \ coreutils::ZString\ container;}
\DoxyCodeLine{00032\ \ \ \ \ \ \ coreutils::ZString\ container2;}
\DoxyCodeLine{00033\ \ \ \ \ \ \ \mbox{\hyperlink{classjet_1_1Global}{Global}}\ \&global;}
\DoxyCodeLine{00034\ \ \ \ \ \ \ \mbox{\hyperlink{classjet_1_1Tag}{Tag}}\ *parent;}
\DoxyCodeLine{00035\ \ \ \ \ \ \ \mbox{\hyperlink{classjet_1_1Tag}{Tag}}\ *local;}
\DoxyCodeLine{00036\ }
\DoxyCodeLine{00037\ \ \ \ \ \textcolor{keyword}{protected}:}
\DoxyCodeLine{00038\ \ \ \ \ \ \ \textcolor{keywordtype}{bool}\ hasContainer\ =\ \textcolor{keyword}{false};}
\DoxyCodeLine{00039\ \ \ \ \ \ \ \textcolor{keywordtype}{bool}\ hasContainer2\ =\ \textcolor{keyword}{false};}
\DoxyCodeLine{00040\ \ \ \ \ \ \ \textcolor{keywordtype}{bool}\ keywordDefined(coreutils::ZString\ variable);}
\DoxyCodeLine{00041\ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ parseContainer(coreutils::ZString\ \&in,\ coreutils::MString\ \&out,\ coreutils::ZString\ container2\ =\ NULL,\ \textcolor{keywordtype}{bool}\ topLevel\ =\ \ \textcolor{keyword}{false});}
\DoxyCodeLine{00042\ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ processContainer(coreutils::ZString\ \&container,\ coreutils::ZString\ container2\ =\ NULL,\ \textcolor{keywordtype}{bool}\ topLevel\ =\ \textcolor{keyword}{false});}
\DoxyCodeLine{00043\ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ copyContainer(coreutils::ZString\ \&in,\ coreutils::MString\ \&out);}
\DoxyCodeLine{00044\ }
\DoxyCodeLine{00045\ \ \ \ \ \ \ coreutils::MString\ \&parentOut;}
\DoxyCodeLine{00046\ \ \ \ \ \ \ coreutils::MString\ out;}
\DoxyCodeLine{00047\ }
\DoxyCodeLine{00048\ \ \ \ \ \ \ \textcolor{keywordtype}{bool}\ output\ =\ \textcolor{keyword}{true};}
\DoxyCodeLine{00049\ \ \ \ \ \ \ \textcolor{keywordtype}{bool}\ evaluate\ =\ \textcolor{keyword}{true};}
\DoxyCodeLine{00050\ \ \ \ \ \ \ \textcolor{keywordtype}{bool}\ filterBlankLines\ =\ \textcolor{keyword}{false};}
\DoxyCodeLine{00051\ \ \ \ \ \ \ \textcolor{keywordtype}{bool}\ trimLines\ =\ \textcolor{keyword}{false};}
\DoxyCodeLine{00052\ \ \ \ \ \ \ \textcolor{keywordtype}{bool}\ cleanWhitespace\ =\ \textcolor{keyword}{false};}
\DoxyCodeLine{00053\ }
\DoxyCodeLine{00054\ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ renderVariableName(coreutils::ZString\ \&variable,\ coreutils::MString\ \&name,\ coreutils::MString\ \&modifier);}
\DoxyCodeLine{00055\ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ storeVariable(coreutils::ZString\ variable,\ coreutils::MString\ value,\ coreutils::ZString\ scope);}
\DoxyCodeLine{00056\ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ storeVariable(coreutils::ZString\ variable);}
\DoxyCodeLine{00057\ \ \ \ \ \ \ }
\DoxyCodeLine{00058\ \ \ \ \ \textcolor{keyword}{private}:}
\DoxyCodeLine{00059\ \ \ \ \ \ \ \textcolor{keywordtype}{bool}\ containerOnly\ =\ \textcolor{keyword}{false};}
\DoxyCodeLine{00060\ \ \ \ \ \ \ coreutils::ZString\ splitTagName;}
\DoxyCodeLine{00061\ }
\DoxyCodeLine{00062\ \ \ \ \ \ \ \textcolor{keywordtype}{int}\ skipBlankLine(coreutils::ZString\ in);}
\DoxyCodeLine{00063\ }
\DoxyCodeLine{00064\ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ scanContainer(coreutils::ZString\ \&in);}
\DoxyCodeLine{00065\ \ \ \ \ \ \ \textcolor{keywordtype}{bool}\ ifNested(coreutils::ZString\ \&in);}
\DoxyCodeLine{00066\ \ \ \ \ \ \ \textcolor{keywordtype}{bool}\ ifTagName(coreutils::ZString\ \&in,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *tag);}
\DoxyCodeLine{00067\ \ \ \ \ \ \ \textcolor{keywordtype}{bool}\ ifTagName(coreutils::ZString\ \&in);}
\DoxyCodeLine{00068\ \ \ \ \ \ \ \textcolor{keywordtype}{bool}\ ifTagDefined(coreutils::ZString\ \&in,\ coreutils::ZString\ \&tag);}
\DoxyCodeLine{00069\ \ \ \ \ \ \ \textcolor{keywordtype}{bool}\ ifEndTagName(coreutils::ZString\ \&in);}
\DoxyCodeLine{00070\ \ \ \ \ \ \ \textcolor{keywordtype}{bool}\ ifSplitTagName(coreutils::ZString\ \&in);}
\DoxyCodeLine{00071\ \ \ \ \ \ \ }
\DoxyCodeLine{00072\ \ \ \ \ \ \ coreutils::MString\ processModifier(coreutils::MString\ \&value,\ coreutils::MString\ \&modifier);}
\DoxyCodeLine{00073\ \ \ \ \};}
\DoxyCodeLine{00074\ }
\DoxyCodeLine{00075\ \}}
\DoxyCodeLine{00076\ }
\DoxyCodeLine{00077\ \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
