⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classxapian_1_1error.tex

📁 xapian 是一个“Xapian 是一个开源概率论信息检索库
💻 TEX
字号:
\hypertarget{classXapian_1_1Error}{\section{Xapian::Error Class Reference}\label{classXapian_1_1Error}\index{Xapian::Error@{Xapian::Error}}}Base class for all Xapian-specific errors reported.  {\tt \#include $<$error.h$>$}\subsection*{Public Member Functions}\begin{CompactItemize}\item std::string \hyperlink{classXapian_1_1Error_3302439223a7c2a2958cb5b006a40765}{get\_\-msg} () const \begin{CompactList}\small\item\em Return a message describing the error. \item\end{CompactList}\item std::string \hyperlink{classXapian_1_1Error_7401de849bf7474a9dd4080364673e43}{get\_\-type} () const \begin{CompactList}\small\item\em Return the type of the error. \item\end{CompactList}\item std::string \hyperlink{classXapian_1_1Error_a57d0e91a39910f409965ba59631906f}{get\_\-context} () const \begin{CompactList}\small\item\em Get the context of the error. \item\end{CompactList}\item int \hyperlink{classXapian_1_1Error_0fafb719ff909867f683783e1d52dbbe}{get\_\-errno} () const \begin{CompactList}\small\item\em Get the errno value associated with the error (or 0 if none). \item\end{CompactList}\item virtual \hyperlink{classXapian_1_1Error_a286448888bff43b323001846e4142f3}{$\sim$Error} ()\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\end{CompactItemize}\subsection*{Protected Member Functions}\begin{CompactItemize}\item \hyperlink{classXapian_1_1Error_aec19930c94ee7120fe71f805544a519}{Error} (const std::string \&msg\_\-, const std::string \&context\_\-, const std::string \&type\_\-, int errno\_\-value\_\-)\begin{CompactList}\small\item\em Constructors are protected, since they can only be used by derived classes anyway. \item\end{CompactList}\item \hypertarget{classXapian_1_1Error_6d68ad62edc1b618650fccf76babedfb}{{\bf Error} (const \hyperlink{classXapian_1_1Error}{Error} \&o)}\label{classXapian_1_1Error_6d68ad62edc1b618650fccf76babedfb}\end{CompactItemize}\subsection*{Friends}\begin{CompactItemize}\item \hypertarget{classXapian_1_1Error_bd52e76045a491c2a2c48c29f77ff701}{class {\bf Error\-Handler}}\label{classXapian_1_1Error_bd52e76045a491c2a2c48c29f77ff701}\end{CompactItemize}\subsection{Detailed Description}Base class for all Xapian-specific errors reported. Instantiations of \hyperlink{classXapian_1_1Error}{Xapian::Error} (as opposed to subclasses) are forbidden. \subsection{Constructor \& Destructor Documentation}\hypertarget{classXapian_1_1Error_aec19930c94ee7120fe71f805544a519}{\index{Xapian::Error@{Xapian::Error}!Error@{Error}}\index{Error@{Error}!Xapian::Error@{Xapian::Error}}\subsubsection[Error]{\setlength{\rightskip}{0pt plus 5cm}Xapian::Error::Error (const std::string \& {\em msg\_\-}, const std::string \& {\em context\_\-}, const std::string \& {\em type\_\-}, int {\em errno\_\-value\_\-})\hspace{0.3cm}{\tt  \mbox{[}protected\mbox{]}}}}\label{classXapian_1_1Error_aec19930c94ee7120fe71f805544a519}Constructors are protected, since they can only be used by derived classes anyway. \hypertarget{classXapian_1_1Error_a286448888bff43b323001846e4142f3}{\index{Xapian::Error@{Xapian::Error}!~Error@{$\sim$Error}}\index{~Error@{$\sim$Error}!Xapian::Error@{Xapian::Error}}\subsubsection[$\sim$Error]{\setlength{\rightskip}{0pt plus 5cm}virtual Xapian::Error::$\sim$Error ()\hspace{0.3cm}{\tt  \mbox{[}inline, virtual\mbox{]}}}}\label{classXapian_1_1Error_a286448888bff43b323001846e4142f3}Destructor. \subsection{Member Function Documentation}\hypertarget{classXapian_1_1Error_a57d0e91a39910f409965ba59631906f}{\index{Xapian::Error@{Xapian::Error}!get_context@{get\_\-context}}\index{get_context@{get\_\-context}!Xapian::Error@{Xapian::Error}}\subsubsection[get\_\-context]{\setlength{\rightskip}{0pt plus 5cm}std::string Xapian::Error::get\_\-context () const\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}\label{classXapian_1_1Error_a57d0e91a39910f409965ba59631906f}Get the context of the error. \hypertarget{classXapian_1_1Error_0fafb719ff909867f683783e1d52dbbe}{\index{Xapian::Error@{Xapian::Error}!get_errno@{get\_\-errno}}\index{get_errno@{get\_\-errno}!Xapian::Error@{Xapian::Error}}\subsubsection[get\_\-errno]{\setlength{\rightskip}{0pt plus 5cm}int Xapian::Error::get\_\-errno () const\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}\label{classXapian_1_1Error_0fafb719ff909867f683783e1d52dbbe}Get the errno value associated with the error (or 0 if none). \hypertarget{classXapian_1_1Error_3302439223a7c2a2958cb5b006a40765}{\index{Xapian::Error@{Xapian::Error}!get_msg@{get\_\-msg}}\index{get_msg@{get\_\-msg}!Xapian::Error@{Xapian::Error}}\subsubsection[get\_\-msg]{\setlength{\rightskip}{0pt plus 5cm}std::string Xapian::Error::get\_\-msg () const\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}\label{classXapian_1_1Error_3302439223a7c2a2958cb5b006a40765}Return a message describing the error. This is in a human readable form. \hypertarget{classXapian_1_1Error_7401de849bf7474a9dd4080364673e43}{\index{Xapian::Error@{Xapian::Error}!get_type@{get\_\-type}}\index{get_type@{get\_\-type}!Xapian::Error@{Xapian::Error}}\subsubsection[get\_\-type]{\setlength{\rightskip}{0pt plus 5cm}std::string Xapian::Error::get\_\-type () const\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}\label{classXapian_1_1Error_7401de849bf7474a9dd4080364673e43}Return the type of the error. The documentation for this class was generated from the following file:\begin{CompactItemize}\item include/xapian/\hyperlink{error_8h}{error.h}\end{CompactItemize}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -