GpgFrontend-Doxygen/docs/latex/classGpgFrontend_1_1DataObjectOperator.tex

159 lines
9.8 KiB
TeX
Raw Normal View History

2022-05-08 19:59:26 +00:00
\hypertarget{classGpgFrontend_1_1DataObjectOperator}{}\doxysection{Gpg\+Frontend\+::Data\+Object\+Operator Class Reference}
\label{classGpgFrontend_1_1DataObjectOperator}\index{GpgFrontend::DataObjectOperator@{GpgFrontend::DataObjectOperator}}
Inheritance diagram for Gpg\+Frontend\+::Data\+Object\+Operator\+:
2022-05-08 22:01:23 +00:00
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{classGpgFrontend_1_1DataObjectOperator__inherit__graph}
\end{center}
\end{figure}
2022-05-08 19:59:26 +00:00
Collaboration diagram for Gpg\+Frontend\+::Data\+Object\+Operator\+:
2022-05-08 22:01:23 +00:00
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{classGpgFrontend_1_1DataObjectOperator__coll__graph}
\end{center}
\end{figure}
2022-05-08 19:59:26 +00:00
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
\mbox{\hyperlink{classGpgFrontend_1_1DataObjectOperator_a3a8ae5c36fec01d0d5c3e5f9aed457a6}{Data\+Object\+Operator}} (int channel=\mbox{\hyperlink{classGpgFrontend_1_1SingletonFunctionObject_ad983153cbe3a0c32c123c506e04f31fc}{Singleton\+Function\+Object\+::\+Get\+Default\+Channel}}())
2022-05-08 19:59:26 +00:00
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{classGpgFrontend_1_1DataObjectOperator}{Data\+Object\+Operator}} constructor. \end{DoxyCompactList}\item
\mbox{\Hypertarget{classGpgFrontend_1_1DataObjectOperator_a8adf6fd4aebbb9d59ea94ec65e83169d}\label{classGpgFrontend_1_1DataObjectOperator_a8adf6fd4aebbb9d59ea94ec65e83169d}}
auto {\bfseries Save\+Data\+Obj} (const QString \&\+\_\+key, const QJson\+Document \&value) -\/$>$ QString
2022-05-08 19:59:26 +00:00
\item
\mbox{\Hypertarget{classGpgFrontend_1_1DataObjectOperator_a2b6294ca734934dd9ec17ba56b2c8d6f}\label{classGpgFrontend_1_1DataObjectOperator_a2b6294ca734934dd9ec17ba56b2c8d6f}}
auto {\bfseries Get\+Data\+Object} (const QString \&\+\_\+key) -\/$>$ std\+::optional$<$ QJson\+Document $>$
2022-05-08 19:59:26 +00:00
\item
\mbox{\Hypertarget{classGpgFrontend_1_1DataObjectOperator_a245833643dff6da7aef6a80a0a5207b8}\label{classGpgFrontend_1_1DataObjectOperator_a245833643dff6da7aef6a80a0a5207b8}}
auto {\bfseries Get\+Data\+Object\+By\+Ref} (const QString \&\+\_\+ref) -\/$>$ std\+::optional$<$ QJson\+Document $>$
2022-05-08 19:59:26 +00:00
\end{DoxyCompactItemize}
\doxysubsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item
\mbox{\Hypertarget{classGpgFrontend_1_1DataObjectOperator_a6b357780482f0e0c021ad55a81eb37cf}\label{classGpgFrontend_1_1DataObjectOperator_a6b357780482f0e0c021ad55a81eb37cf}}
2022-05-08 19:59:26 +00:00
void \mbox{\hyperlink{classGpgFrontend_1_1DataObjectOperator_a6b357780482f0e0c021ad55a81eb37cf}{init\+\_\+app\+\_\+secure\+\_\+key}} ()
\begin{DoxyCompactList}\small\item\em init the secure key of application data object \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item
\mbox{\hyperlink{classGpgFrontend_1_1GlobalSettingStation}{Global\+Setting\+Station}} \& \mbox{\hyperlink{classGpgFrontend_1_1DataObjectOperator_a3c195f8e4c30d95be14a6d43e9282601}{global\+\_\+setting\+\_\+station\+\_\+}}
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{classGpgFrontend_1_1GlobalSettingStation}{Global\+Setting\+Station}}. \end{DoxyCompactList}\item
QString \mbox{\hyperlink{classGpgFrontend_1_1DataObjectOperator_a4e7673037b5c7eda5c334d50f8155150}{app\+\_\+secure\+\_\+path\+\_\+}}
2022-05-08 19:59:26 +00:00
\begin{DoxyCompactList}\small\item\em Where sensitive information is stored. \end{DoxyCompactList}\item
QString \mbox{\hyperlink{classGpgFrontend_1_1DataObjectOperator_a9b13d6d68ebc584cb231e6f349a2a138}{app\+\_\+secure\+\_\+key\+\_\+path\+\_\+}}
2022-05-08 19:59:26 +00:00
\begin{DoxyCompactList}\small\item\em Where the key of data object is stored. \end{DoxyCompactList}\item
QString {\bfseries app\+\_\+data\+\_\+objs\+\_\+path\+\_\+}
2022-05-08 19:59:26 +00:00
\item
\mbox{\Hypertarget{classGpgFrontend_1_1DataObjectOperator_ae409c3562c3e08931daa17f5790c508b}\label{classGpgFrontend_1_1DataObjectOperator_ae409c3562c3e08931daa17f5790c508b}}
QByte\+Array \mbox{\hyperlink{classGpgFrontend_1_1DataObjectOperator_ae409c3562c3e08931daa17f5790c508b}{hash\+\_\+key\+\_\+}}
2022-05-08 19:59:26 +00:00
\begin{DoxyCompactList}\small\item\em Hash key. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Additional Inherited Members}
\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classGpgFrontend_1_1DataObjectOperator_a3a8ae5c36fec01d0d5c3e5f9aed457a6}\label{classGpgFrontend_1_1DataObjectOperator_a3a8ae5c36fec01d0d5c3e5f9aed457a6}}
\index{GpgFrontend::DataObjectOperator@{GpgFrontend::DataObjectOperator}!DataObjectOperator@{DataObjectOperator}}
\index{DataObjectOperator@{DataObjectOperator}!GpgFrontend::DataObjectOperator@{GpgFrontend::DataObjectOperator}}
\doxysubsubsection{\texorpdfstring{DataObjectOperator()}{DataObjectOperator()}}
{\footnotesize\ttfamily Gpg\+Frontend\+::\+Data\+Object\+Operator\+::\+Data\+Object\+Operator (\begin{DoxyParamCaption}\item[{int}]{channel = {\ttfamily \mbox{\hyperlink{classGpgFrontend_1_1SingletonFunctionObject_ad983153cbe3a0c32c123c506e04f31fc}{Singleton\+Function\+Object\+::\+Get\+Default\+Channel}}()} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [explicit]}}
2022-05-08 19:59:26 +00:00
\mbox{\hyperlink{classGpgFrontend_1_1DataObjectOperator}{Data\+Object\+Operator}} constructor.
\begin{DoxyParams}{Parameters}
{\em channel} & channel \\
\hline
\end{DoxyParams}
References app\+\_\+secure\+\_\+key\+\_\+path\+\_\+, app\+\_\+secure\+\_\+path\+\_\+, hash\+\_\+key\+\_\+, init\+\_\+app\+\_\+secure\+\_\+key(), and Gpg\+Frontend\+::\+Read\+File().
2022-05-08 19:59:26 +00:00
\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{classGpgFrontend_1_1DataObjectOperator_a77a9a1e98c7d9c90d76a23e0fb3eefc4}\label{classGpgFrontend_1_1DataObjectOperator_a77a9a1e98c7d9c90d76a23e0fb3eefc4}}
2022-05-08 19:59:26 +00:00
\index{GpgFrontend::DataObjectOperator@{GpgFrontend::DataObjectOperator}!app\_data\_objs\_path\_@{app\_data\_objs\_path\_}}
\index{app\_data\_objs\_path\_@{app\_data\_objs\_path\_}!GpgFrontend::DataObjectOperator@{GpgFrontend::DataObjectOperator}}
\doxysubsubsection{\texorpdfstring{app\_data\_objs\_path\_}{app\_data\_objs\_path\_}}
{\footnotesize\ttfamily QString Gpg\+Frontend\+::\+Data\+Object\+Operator\+::app\+\_\+data\+\_\+objs\+\_\+path\+\_\+\hspace{0.3cm}{\ttfamily [private]}}
2022-05-08 19:59:26 +00:00
{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{=}
\DoxyCodeLine{ \mbox{\hyperlink{classGpgFrontend_1_1DataObjectOperator_a3c195f8e4c30d95be14a6d43e9282601}{global\_setting\_station\_}}.\mbox{\hyperlink{classGpgFrontend_1_1GlobalSettingStation_a7da8fc60ba403d6addd8f671089faeaa}{GetAppDataPath}}() + \textcolor{stringliteral}{"{}/data\_objs"{}}}
2022-05-08 19:59:26 +00:00
\end{DoxyCode}
\mbox{\Hypertarget{classGpgFrontend_1_1DataObjectOperator_a9b13d6d68ebc584cb231e6f349a2a138}\label{classGpgFrontend_1_1DataObjectOperator_a9b13d6d68ebc584cb231e6f349a2a138}}
2022-05-08 19:59:26 +00:00
\index{GpgFrontend::DataObjectOperator@{GpgFrontend::DataObjectOperator}!app\_secure\_key\_path\_@{app\_secure\_key\_path\_}}
\index{app\_secure\_key\_path\_@{app\_secure\_key\_path\_}!GpgFrontend::DataObjectOperator@{GpgFrontend::DataObjectOperator}}
\doxysubsubsection{\texorpdfstring{app\_secure\_key\_path\_}{app\_secure\_key\_path\_}}
{\footnotesize\ttfamily QString Gpg\+Frontend\+::\+Data\+Object\+Operator\+::app\+\_\+secure\+\_\+key\+\_\+path\+\_\+\hspace{0.3cm}{\ttfamily [private]}}
2022-05-08 19:59:26 +00:00
{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{=}
\DoxyCodeLine{ \mbox{\hyperlink{classGpgFrontend_1_1DataObjectOperator_a4e7673037b5c7eda5c334d50f8155150}{app\_secure\_path\_}} +}
\DoxyCodeLine{ \textcolor{stringliteral}{"{}/app.key"{}}}
2022-05-08 19:59:26 +00:00
\end{DoxyCode}
Where the key of data object is stored.
2022-05-08 22:01:23 +00:00
Referenced by Data\+Object\+Operator(), and init\+\_\+app\+\_\+secure\+\_\+key().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1DataObjectOperator_a4e7673037b5c7eda5c334d50f8155150}\label{classGpgFrontend_1_1DataObjectOperator_a4e7673037b5c7eda5c334d50f8155150}}
2022-05-08 19:59:26 +00:00
\index{GpgFrontend::DataObjectOperator@{GpgFrontend::DataObjectOperator}!app\_secure\_path\_@{app\_secure\_path\_}}
\index{app\_secure\_path\_@{app\_secure\_path\_}!GpgFrontend::DataObjectOperator@{GpgFrontend::DataObjectOperator}}
\doxysubsubsection{\texorpdfstring{app\_secure\_path\_}{app\_secure\_path\_}}
{\footnotesize\ttfamily QString Gpg\+Frontend\+::\+Data\+Object\+Operator\+::app\+\_\+secure\+\_\+path\+\_\+\hspace{0.3cm}{\ttfamily [private]}}
2022-05-08 19:59:26 +00:00
{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{=}
\DoxyCodeLine{ \mbox{\hyperlink{classGpgFrontend_1_1DataObjectOperator_a3c195f8e4c30d95be14a6d43e9282601}{global\_setting\_station\_}}.\mbox{\hyperlink{classGpgFrontend_1_1GlobalSettingStation_a7da8fc60ba403d6addd8f671089faeaa}{GetAppDataPath}}() +}
\DoxyCodeLine{ \textcolor{stringliteral}{"{}/secure"{}}}
2022-05-08 19:59:26 +00:00
\end{DoxyCode}
Where sensitive information is stored.
2022-05-08 22:01:23 +00:00
Referenced by Data\+Object\+Operator().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1DataObjectOperator_a3c195f8e4c30d95be14a6d43e9282601}\label{classGpgFrontend_1_1DataObjectOperator_a3c195f8e4c30d95be14a6d43e9282601}}
\index{GpgFrontend::DataObjectOperator@{GpgFrontend::DataObjectOperator}!global\_setting\_station\_@{global\_setting\_station\_}}
\index{global\_setting\_station\_@{global\_setting\_station\_}!GpgFrontend::DataObjectOperator@{GpgFrontend::DataObjectOperator}}
\doxysubsubsection{\texorpdfstring{global\_setting\_station\_}{global\_setting\_station\_}}
{\footnotesize\ttfamily \mbox{\hyperlink{classGpgFrontend_1_1GlobalSettingStation}{Global\+Setting\+Station}}\& Gpg\+Frontend\+::\+Data\+Object\+Operator\+::global\+\_\+setting\+\_\+station\+\_\+\hspace{0.3cm}{\ttfamily [private]}}
{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{=}
\DoxyCodeLine{ \mbox{\hyperlink{classGpgFrontend_1_1SingletonFunctionObject_ac963fee992753970bfb5c81608d4070f}{GlobalSettingStation::GetInstance}}()}
2022-05-08 19:59:26 +00:00
\end{DoxyCode}
\mbox{\hyperlink{classGpgFrontend_1_1GlobalSettingStation}{Global\+Setting\+Station}}.
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
src/core/function/Data\+Object\+Operator.\+h\item
src/core/function/Data\+Object\+Operator.\+cpp\end{DoxyCompactItemize}