35 lines
2.4 KiB
TeX
35 lines
2.4 KiB
TeX
\hypertarget{SettingsObject_8h_source}{}\doxysection{Settings\+Object.\+h}
|
|
\label{SettingsObject_8h_source}\index{src/ui/struct/SettingsObject.h@{src/ui/struct/SettingsObject.h}}
|
|
|
|
\begin{DoxyCode}{0}
|
|
\DoxyCodeLine{1 }
|
|
\DoxyCodeLine{29 \textcolor{preprocessor}{\#ifndef GPGFRONTEND\_SETTINGSOBJECT\_H}}
|
|
\DoxyCodeLine{30 \textcolor{preprocessor}{\#define GPGFRONTEND\_SETTINGSOBJECT\_H}}
|
|
\DoxyCodeLine{31 }
|
|
\DoxyCodeLine{32 \textcolor{preprocessor}{\#include <utility>}}
|
|
\DoxyCodeLine{33 }
|
|
\DoxyCodeLine{34 \textcolor{preprocessor}{\#include "{}core/function/DataObjectOperator.h"{}}}
|
|
\DoxyCodeLine{35 }
|
|
\DoxyCodeLine{36 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespaceGpgFrontend_1_1UI}{GpgFrontend::UI}} \{}
|
|
\DoxyCodeLine{37 }
|
|
\DoxyCodeLine{43 \textcolor{keyword}{class }\mbox{\hyperlink{classGpgFrontend_1_1UI_1_1SettingsObject}{SettingsObject}} : \textcolor{keyword}{public} nlohmann::json \{}
|
|
\DoxyCodeLine{44 \textcolor{keyword}{public}:}
|
|
\DoxyCodeLine{50 \textcolor{keyword}{explicit} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1SettingsObject_aad706a2c2b68d280b5d3ababff0ff302}{SettingsObject}}(std::string settings\_name);}
|
|
\DoxyCodeLine{51 }
|
|
\DoxyCodeLine{57 \textcolor{keyword}{explicit} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1SettingsObject_aad706a2c2b68d280b5d3ababff0ff302}{SettingsObject}}(nlohmann::json \_sub\_json, \textcolor{keywordtype}{bool});}
|
|
\DoxyCodeLine{58 }
|
|
\DoxyCodeLine{63 \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1SettingsObject_ae71336d240ace35756d1852a46271f6c}{\string~SettingsObject}}();}
|
|
\DoxyCodeLine{64 }
|
|
\DoxyCodeLine{72 nlohmann::json\& \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1SettingsObject_a5ddcc2e0bc6d4c2f88e6e00371d4792e}{Check}}(\textcolor{keyword}{const} std::string\& key, \textcolor{keyword}{const} nlohmann::json\& default\_value);}
|
|
\DoxyCodeLine{73 }
|
|
\DoxyCodeLine{80 \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1SettingsObject}{SettingsObject}} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1SettingsObject_a5ddcc2e0bc6d4c2f88e6e00371d4792e}{Check}}(\textcolor{keyword}{const} std::string\& key);}
|
|
\DoxyCodeLine{81 }
|
|
\DoxyCodeLine{82 \textcolor{keyword}{private}:}
|
|
\DoxyCodeLine{83 std::string settings\_name\_; }
|
|
\DoxyCodeLine{84 \};}
|
|
\DoxyCodeLine{85 \} \textcolor{comment}{// namespace GpgFrontend::UI}}
|
|
\DoxyCodeLine{86 }
|
|
\DoxyCodeLine{87 \textcolor{preprocessor}{\#endif }\textcolor{comment}{// GPGFRONTEND\_SETTINGSOBJECT\_H}}
|
|
|
|
\end{DoxyCode}
|