GpgFrontend-Doxygen/docs/latex/GpgTOFUInfo_8h_source.tex

54 lines
3.8 KiB
TeX
Raw Normal View History

2022-05-08 19:59:26 +00:00
\hypertarget{GpgTOFUInfo_8h_source}{}\doxysection{Gpg\+TOFUInfo.\+h}
\label{GpgTOFUInfo_8h_source}\index{src/core/model/GpgTOFUInfo.h@{src/core/model/GpgTOFUInfo.h}}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 }
\DoxyCodeLine{29 \textcolor{preprocessor}{\#ifndef GPGFRONTEND\_GPGTOFU\_H}}
\DoxyCodeLine{30 \textcolor{preprocessor}{\#define GPGFRONTEND\_GPGTOFU\_H}}
\DoxyCodeLine{31 }
\DoxyCodeLine{32 \textcolor{preprocessor}{\#include "{}core/GpgConstants.h"{}}}
\DoxyCodeLine{33 }
\DoxyCodeLine{34 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespaceGpgFrontend}{GpgFrontend}} \{}
\DoxyCodeLine{39 \textcolor{keyword}{class }GPGFRONTEND\_CORE\_EXPORT \mbox{\hyperlink{classGpgFrontend_1_1GpgTOFUInfo}{GpgTOFUInfo}} \{}
\DoxyCodeLine{40 \textcolor{keyword}{public}:}
\DoxyCodeLine{46 [[nodiscard]] \textcolor{keywordtype}{unsigned} GetValidity() \textcolor{keyword}{const};}
\DoxyCodeLine{52 [[nodiscard]] \textcolor{keywordtype}{unsigned} GetPolicy() \textcolor{keyword}{const};}
\DoxyCodeLine{53 }
\DoxyCodeLine{59 [[nodiscard]] \textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{long} GetSignCount() \textcolor{keyword}{const};}
\DoxyCodeLine{60 }
\DoxyCodeLine{66 [[nodiscard]] \textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{long} GetEncrCount() \textcolor{keyword}{const};}
\DoxyCodeLine{67 }
\DoxyCodeLine{73 [[nodiscard]] \textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{long} GetSignFirst() \textcolor{keyword}{const};}
\DoxyCodeLine{74 }
\DoxyCodeLine{80 [[nodiscard]] \textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{long} GetSignLast() \textcolor{keyword}{const};}
\DoxyCodeLine{81 }
\DoxyCodeLine{87 [[nodiscard]] \textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{long} GetEncrLast() \textcolor{keyword}{const};}
\DoxyCodeLine{88 }
\DoxyCodeLine{94 [[nodiscard]] std::string GetDescription() \textcolor{keyword}{const};}
\DoxyCodeLine{95 }
\DoxyCodeLine{100 \mbox{\hyperlink{classGpgFrontend_1_1GpgTOFUInfo_a80acb09347a74cc35776d58b9874cf37}{GpgTOFUInfo}}();}
\DoxyCodeLine{101 }
\DoxyCodeLine{107 \textcolor{keyword}{explicit} \mbox{\hyperlink{classGpgFrontend_1_1GpgTOFUInfo}{GpgTOFUInfo}}(gpgme\_tofu\_info\_t tofu\_info);}
\DoxyCodeLine{108 }
\DoxyCodeLine{114 \mbox{\hyperlink{classGpgFrontend_1_1GpgTOFUInfo}{GpgTOFUInfo}}(\mbox{\hyperlink{classGpgFrontend_1_1GpgTOFUInfo}{GpgTOFUInfo}}\&\& o) \textcolor{keyword}{noexcept};}
\DoxyCodeLine{115 }
\DoxyCodeLine{120 \mbox{\hyperlink{classGpgFrontend_1_1GpgTOFUInfo_a4f46d32bc9bf1a1a3bbc32461538a422}{GpgTOFUInfo}}(\textcolor{keyword}{const} \mbox{\hyperlink{classGpgFrontend_1_1GpgTOFUInfo}{GpgTOFUInfo}}\&) = \textcolor{keyword}{delete};}
\DoxyCodeLine{121 }
\DoxyCodeLine{128 \mbox{\hyperlink{classGpgFrontend_1_1GpgTOFUInfo}{GpgTOFUInfo}}\& operator=(\mbox{\hyperlink{classGpgFrontend_1_1GpgTOFUInfo}{GpgTOFUInfo}}\&\& o) \textcolor{keyword}{noexcept};}
\DoxyCodeLine{129 }
\DoxyCodeLine{135 \mbox{\hyperlink{classGpgFrontend_1_1GpgTOFUInfo}{GpgTOFUInfo}}\& \mbox{\hyperlink{classGpgFrontend_1_1GpgTOFUInfo_a1ad0aee7c1a1e447d8263dc4743b9993}{operator=}}(\textcolor{keyword}{const} \mbox{\hyperlink{classGpgFrontend_1_1GpgTOFUInfo}{GpgTOFUInfo}}\&) = \textcolor{keyword}{delete};}
\DoxyCodeLine{136 }
\DoxyCodeLine{137 \textcolor{keyword}{private}:}
\DoxyCodeLine{138 \textcolor{keyword}{using} SubkeyRefHandler =}
\DoxyCodeLine{139 std::unique\_ptr<\textcolor{keyword}{struct }\_gpgme\_tofu\_info,}
\DoxyCodeLine{140 std::function<void(gpgme\_tofu\_info\_t)>>; }
\DoxyCodeLine{141 }
\DoxyCodeLine{142 SubkeyRefHandler \_tofu\_info\_ref = nullptr; }
\DoxyCodeLine{143 \};}
\DoxyCodeLine{144 }
\DoxyCodeLine{145 \} \textcolor{comment}{// namespace GpgFrontend}}
\DoxyCodeLine{146 }
\DoxyCodeLine{147 \textcolor{preprocessor}{\#endif }\textcolor{comment}{// GPGFRONTEND\_GPGTOFU\_H}}
\end{DoxyCode}