\doxysection{QC\+\_\+\+Program\+Control.\+dox.\+h}
\hypertarget{_q_c___program_control_8dox_8h_source}{}\label{_q_c___program_control_8dox_8h_source}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ }
\DoxyCodeLine{00003\ \textcolor{keyword}{namespace\ }\mbox{\hyperlink{namespace_qore}{Qore}}\ \{}
\DoxyCodeLine{00005\ }
\DoxyCodeLine{00015\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{struct_qore_1_1_statement_info}{StatementInfo}}\ \{}
\DoxyCodeLine{00017\ \ \ \ \ *\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{list}}\ \mbox{\hyperlink{struct_qore_1_1_statement_info_a0bf9b50b0e3c398ea222e35b0be6d413}{breakpoints}};}
\DoxyCodeLine{00019\ \ \ \ \ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{struct_qore_1_1_statement_info_a1d1c4fd9b5cc3417debfa6e15e78f5e6}{end\_line}};}
\DoxyCodeLine{00021\ \ \ \ \ \textcolor{keywordtype}{string}\ \mbox{\hyperlink{struct_qore_1_1_statement_info_a1d8848810ffc84803726d9132b7ca984}{file}};}
\DoxyCodeLine{00023\ \ \ \ \ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{struct_qore_1_1_statement_info_aae986844e41815e4a12d09a984050aa8}{offset}};}
\DoxyCodeLine{00025\ \ \ \ \ \textcolor{keywordtype}{string}\ \mbox{\hyperlink{struct_qore_1_1_statement_info_a36129e72f572f32fbc57c3807d1ecbcd}{source}};}
\DoxyCodeLine{00027\ \ \ \ \ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{struct_qore_1_1_statement_info_abd77f155e7db270b9eac303f5e703fc2}{start\_line}};}
\DoxyCodeLine{00028\ \};}
\DoxyCodeLine{00029\ \}}
\DoxyCodeLine{00030\ }
\DoxyCodeLine{00032\ \textcolor{keyword}{namespace\ }\mbox{\hyperlink{namespace_qore}{Qore}}\ \{}
\DoxyCodeLine{00034\ }
\DoxyCodeLine{00045\ \textcolor{keyword}{class\ }\mbox{\hyperlink{class_qore_1_1_program_control}{ProgramControl}}\ \{}
\DoxyCodeLine{00046\ }
\DoxyCodeLine{00047\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00049\ \textcolor{comment}{/***/}}
\DoxyCodeLine{00050\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{nothing}}\ \mbox{\hyperlink{class_qore_1_1_program_control_a4cf779097901a5317a74c4b3e12cc0cc}{assignBreakpoint}}(\mbox{\hyperlink{class_qore_1_1_breakpoint}{Breakpoint}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{bkpt}});}
\DoxyCodeLine{00051\ }
\DoxyCodeLine{00052\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00054\ }
\DoxyCodeLine{00056\ \ \mbox{\hyperlink{class_qore_1_1_program_control_a9363b8774592c6e8390a9866ed892d54}{constructor}}();}
\DoxyCodeLine{00057\ }
\DoxyCodeLine{00058\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00060\ }
\DoxyCodeLine{00062\ \ \mbox{\hyperlink{class_qore_1_1_program_control_ac348d9a7fec40ba285d3b0cc5eb84ce2}{copy}}();}
\DoxyCodeLine{00063\ }
\DoxyCodeLine{00064\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00066\ \textcolor{comment}{/***/}}
\DoxyCodeLine{00067\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{nothing}}\ \mbox{\hyperlink{class_qore_1_1_program_control_a8065f609b0276231c667317dcf3ce3de}{deleteAllBreakpoints}}();}
\DoxyCodeLine{00068\ }
\DoxyCodeLine{00069\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00071\ \textcolor{comment}{/***/}}
\DoxyCodeLine{00072\ \ \mbox{\hyperlink{class_qore_1_1_program_control_a3ad9ba1f79c60b7d54115f156fa2f58a}{destructor}}();}
\DoxyCodeLine{00073\ }
\DoxyCodeLine{00074\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00076\ }
\DoxyCodeLine{00081\ \textcolor{keywordtype}{bool}\ \mbox{\hyperlink{class_qore_1_1_program_control_ad2b36a5d67e9e5d53d26a0d7980a35b0}{existsFunction}}(\textcolor{keywordtype}{string}\ name);}
\DoxyCodeLine{00082\ }
\DoxyCodeLine{00083\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00085\ }
\DoxyCodeLine{00091\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{class_qore_1_1_program_control_abeb009c4ccc44659d90584bff3e8ff4b}{findFunctionStatementId}}(\textcolor{keywordtype}{string}\ function,\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{\_\_7\_}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{list}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{params}});}
\DoxyCodeLine{00092\ }
\DoxyCodeLine{00093\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00095\ }
\DoxyCodeLine{00101\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{list<hash<auto>}}>\ \mbox{\hyperlink{class_qore_1_1_program_control_aa1ecfc593846a36f2a5de36816d3720d}{findFunctionVariants}}(\textcolor{keywordtype}{string}\ function);}
\DoxyCodeLine{00102\ }
\DoxyCodeLine{00103\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00105\ }
\DoxyCodeLine{00113\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{class_qore_1_1_program_control_a54ddbeb0e99bec0bf26b881e4c94fbaf}{findStatementId}}(\textcolor{keywordtype}{string}\ file,\ \textcolor{keywordtype}{int}\ line);}
\DoxyCodeLine{00114\ }
\DoxyCodeLine{00115\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00117\ }
\DoxyCodeLine{00119\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{\_\_7\_}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{hash<auto>}}\ \mbox{\hyperlink{class_qore_1_1_program_control_ab0a2f64ac6610754d0bb716401b0e72c}{getAllDefines}}();}
\DoxyCodeLine{00120\ }
\DoxyCodeLine{00121\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00123\ \textcolor{comment}{/***/}}
\DoxyCodeLine{00124\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{list<Breakpoint>}}\ \mbox{\hyperlink{class_qore_1_1_program_control_a5c2cb6082c9e6774cb959334fa937a10}{getBreakpoints}}();}
\DoxyCodeLine{00125\ }
\DoxyCodeLine{00126\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00128\ }
\DoxyCodeLine{00130\ \textcolor{keyword}{auto}\ \mbox{\hyperlink{class_qore_1_1_program_control_a95ff1d2926c23cede85eab60936e5e29}{getDefine}}(\textcolor{keywordtype}{string}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{def}});}
\DoxyCodeLine{00131\ }
\DoxyCodeLine{00132\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00134\ }
\DoxyCodeLine{00136\ \textcolor{keyword}{auto}\ \mbox{\hyperlink{class_qore_1_1_program_control_a3bec6a760fbbd3e7ec56b40571adc2fa}{getGlobalVariable}}(\textcolor{keywordtype}{string}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{varname}},\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{\_\_7\_}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{reference<bool>}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{rexists}});}
\DoxyCodeLine{00137\ }
\DoxyCodeLine{00138\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00140\ }
\DoxyCodeLine{00145\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{hash<auto>}}\ \mbox{\hyperlink{class_qore_1_1_program_control_ab6964a72203ac8349031b53faf15cab4}{getGlobalVars}}();}
\DoxyCodeLine{00146\ }
\DoxyCodeLine{00147\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00149\ }
\DoxyCodeLine{00151\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{class_qore_1_1_program_control_a6b99c934d58ee88fa791bc85c710aba9}{getParseOptions}}();}
\DoxyCodeLine{00152\ }
\DoxyCodeLine{00153\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00155\ }
\DoxyCodeLine{00160\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{class_qore_1_1_program_control_a7fd91dbedd3e6f8119415c97f4764068}{getProgramId}}();}
\DoxyCodeLine{00161\ }
\DoxyCodeLine{00162\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00164\ }
\DoxyCodeLine{00166\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{\_\_7\_}}\ \textcolor{keywordtype}{string}\ \mbox{\hyperlink{class_qore_1_1_program_control_a1449395f81bca7a08436f5c354ffdc0f}{getScriptDir}}();}
\DoxyCodeLine{00167\ }
\DoxyCodeLine{00168\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00170\ }
\DoxyCodeLine{00172\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{\_\_7\_}}\ \textcolor{keywordtype}{string}\ \mbox{\hyperlink{class_qore_1_1_program_control_ab5f972a7a3ce33adb40e753adefa7d2a}{getScriptName}}();}
\DoxyCodeLine{00173\ }
\DoxyCodeLine{00174\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00176\ }
\DoxyCodeLine{00178\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{\_\_7\_}}\ \textcolor{keywordtype}{string}\ \mbox{\hyperlink{class_qore_1_1_program_control_a6162c8fa3953e9966500252c02de6b26}{getScriptPath}}();}
\DoxyCodeLine{00179\ }
\DoxyCodeLine{00180\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00182\ }
\DoxyCodeLine{00190\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{hash<string,hash<string,int>}}>\ \mbox{\hyperlink{class_qore_1_1_program_control_ac8271ff9a23b88448907b5f316bc7273}{getSourceFileNames}}();}
\DoxyCodeLine{00191\ }
\DoxyCodeLine{00192\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00194\ }
\DoxyCodeLine{00202\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{hash<string,hash<string,int>}}>\ \mbox{\hyperlink{class_qore_1_1_program_control_a1843638a83940c8898d459cd72291c42}{getSourceLabels}}();}
\DoxyCodeLine{00203\ }
\DoxyCodeLine{00204\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00206\ }
\DoxyCodeLine{00215\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{hash<StatementInfo>}}\ \mbox{\hyperlink{class_qore_1_1_program_control_ac95c2262d37003ea882ca5efa4f65224}{getStatementIdInfo}}(\textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{statementId}},\ \textcolor{keywordtype}{bool}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{listBreakpoints}}\ =\ \mbox{\hyperlink{group__boolean__constants_ga9da2b9a8003cd3788e48305f8a00540f}{False}});}
\DoxyCodeLine{00216\ }
\DoxyCodeLine{00217\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00219\ }
\DoxyCodeLine{00224\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{list<int>}}\ \mbox{\hyperlink{class_qore_1_1_program_control_afa3eb816a22533f88d551979f1b73e4c}{getThreadList}}();}
\DoxyCodeLine{00225\ }
\DoxyCodeLine{00226\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00228\ }
\DoxyCodeLine{00230\ \mbox{\hyperlink{class_qore_1_1_time_zone}{TimeZone}}\ \mbox{\hyperlink{class_qore_1_1_program_control_a8e84c26e83f0cafbd44744f12e1dc222}{getTimeZone}}();}
\DoxyCodeLine{00231\ }
\DoxyCodeLine{00232\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00234\ }
\DoxyCodeLine{00236\ \textcolor{keywordtype}{bool}\ \mbox{\hyperlink{class_qore_1_1_program_control_a32cc156d0ffc5acbaa07024a6e608054}{isDefined}}(\textcolor{keywordtype}{string}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{def}});}
\DoxyCodeLine{00237\ }
\DoxyCodeLine{00238\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00240\ }
\DoxyCodeLine{00242\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{nothing}}\ \mbox{\hyperlink{class_qore_1_1_program_control_a6eb9d55130f50a7de658df13578ead30}{setGlobalVarValue}}(\textcolor{keywordtype}{string}\ name,\ \textcolor{keyword}{auto}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{value}});}
\DoxyCodeLine{00243\ }
\DoxyCodeLine{00244\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00246\ }
\DoxyCodeLine{00254\ \textcolor{keyword}{static}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{list<ProgramControl>}}\ \mbox{\hyperlink{class_qore_1_1_program_control_a41adafc4d94ea7ad0d9914fc14e312d3}{getAllPrograms}}();}
\DoxyCodeLine{00255\ }
\DoxyCodeLine{00256\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00258\ }
\DoxyCodeLine{00265\ \textcolor{keyword}{static}\ \mbox{\hyperlink{class_qore_1_1_program_control}{ProgramControl}}\ \mbox{\hyperlink{class_qore_1_1_program_control_a78bd0f7dcf619ef86f761f602538d43a}{getProgram}}();}
\DoxyCodeLine{00266\ }
\DoxyCodeLine{00267\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00269\ }
\DoxyCodeLine{00278\ \textcolor{keyword}{static}\ \mbox{\hyperlink{class_qore_1_1_program_control}{ProgramControl}}\ \mbox{\hyperlink{class_qore_1_1_program_control_a9081e6558184f273e13c1da3b745c27a}{resolveProgramId}}(\textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{programId}});}
\DoxyCodeLine{00279\ \};}
\DoxyCodeLine{00280\ \}}

\end{DoxyCode}
