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

📄 classxapian_1_1eset.tex

📁 xapian 是一个“Xapian 是一个开源概率论信息检索库
💻 TEX
字号:
\hypertarget{classXapian_1_1ESet}{\section{Xapian::ESet Class Reference}\label{classXapian_1_1ESet}\index{Xapian::ESet@{Xapian::ESet}}}Class representing an ordered set of expand terms (an \hyperlink{classXapian_1_1ESet}{ESet}).  {\tt \#include $<$enquire.h$>$}Collaboration diagram for Xapian::ESet:\begin{figure}[H]\begin{center}\leavevmode\includegraphics[width=119pt]{classXapian_1_1ESet__coll__graph}\end{center}\end{figure}\subsection*{Public Member Functions}\begin{CompactItemize}\item \hyperlink{classXapian_1_1ESet_b53f2936cfa1c16c7ea4e171d7572e02}{ESet} ()\begin{CompactList}\small\item\em Construct an empty \hyperlink{classXapian_1_1ESet}{ESet}. \item\end{CompactList}\item \hyperlink{classXapian_1_1ESet_07720954f3b74b0378079eb947be7642}{$\sim$ESet} ()\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item \hyperlink{classXapian_1_1ESet_817bfddb94d57028fefe678b5f614c5a}{ESet} (const \hyperlink{classXapian_1_1ESet}{ESet} \&other)\begin{CompactList}\small\item\em Copying is allowed (and is cheap). \item\end{CompactList}\item void \hyperlink{classXapian_1_1ESet_626192324d2199ff59b2b7380371aba9}{operator=} (const \hyperlink{classXapian_1_1ESet}{ESet} \&other)\begin{CompactList}\small\item\em Assignment is allowed (and is cheap). \item\end{CompactList}\item \hyperlink{types_8h_6979d98ebbe67186bd31e5ee2a7585cb}{Xapian::termcount} \hyperlink{classXapian_1_1ESet_2679dc65b4448d98d928daccecc2c5bd}{get\_\-ebound} () const \begin{CompactList}\small\item\em A lower bound on the number of terms which are in the full set of results of the expand. \item\end{CompactList}\item \hyperlink{types_8h_6979d98ebbe67186bd31e5ee2a7585cb}{Xapian::termcount} \hyperlink{classXapian_1_1ESet_ebe586b9f270b318589f77b03841c420}{size} () const \begin{CompactList}\small\item\em The number of terms in this E-Set. \item\end{CompactList}\item \hyperlink{types_8h_6979d98ebbe67186bd31e5ee2a7585cb}{Xapian::termcount} \hyperlink{classXapian_1_1ESet_6e96fb499d2a2ea8e9846853f8f043e0}{max\_\-size} () const \begin{CompactList}\small\item\em Required to allow use as an STL container. \item\end{CompactList}\item bool \hyperlink{classXapian_1_1ESet_090e0af57f0c7dc00dba7f3f86421674}{empty} () const \begin{CompactList}\small\item\em Test if this E-Set is empty. \item\end{CompactList}\item void \hyperlink{classXapian_1_1ESet_d2c3235a5e0ac8aad189ab0ef987a049}{swap} (\hyperlink{classXapian_1_1ESet}{ESet} \&other)\begin{CompactList}\small\item\em Swap the E-Set we point to with another. \item\end{CompactList}\item \hyperlink{classXapian_1_1ESetIterator}{ESet\-Iterator} \hyperlink{classXapian_1_1ESet_b372abbea446e55668623da2640a2979}{begin} () const \begin{CompactList}\small\item\em Iterator for the terms in this E-Set. \item\end{CompactList}\item \hyperlink{classXapian_1_1ESetIterator}{ESet\-Iterator} \hyperlink{classXapian_1_1ESet_b4a4fc608e5b1e98fa7fdd9ab5e5569e}{end} () const \begin{CompactList}\small\item\em End iterator corresponding to \hyperlink{classXapian_1_1ESet_b372abbea446e55668623da2640a2979}{begin()}. \item\end{CompactList}\item \hyperlink{classXapian_1_1ESetIterator}{ESet\-Iterator} \hyperlink{classXapian_1_1ESet_d4ff820f027bf26c338b106ed1b46704}{back} () const \begin{CompactList}\small\item\em Iterator pointing to the last element of this E-Set. \item\end{CompactList}\item \hyperlink{classXapian_1_1ESetIterator}{ESet\-Iterator} \hyperlink{classXapian_1_1ESet_774ae93e1065b7d2ccd75da52e3fd5ae}{operator\mbox{[}$\,$\mbox{]}} (\hyperlink{types_8h_6979d98ebbe67186bd31e5ee2a7585cb}{Xapian::termcount} i) const \begin{CompactList}\small\item\em This returns the term at position i in this E-Set. \item\end{CompactList}\item std::string \hyperlink{classXapian_1_1ESet_d63a1c7299c538001212e4ecd0bb5bc1}{get\_\-description} () const \begin{CompactList}\small\item\em Introspection method. \item\end{CompactList}\end{CompactItemize}\subsection*{Public Attributes}\begin{CompactItemize}\item \hypertarget{classXapian_1_1ESet_043e205f8669c5cf5b1e395e8e3ee427}{\hyperlink{classXapian_1_1Internal_1_1RefCntPtr}{Xapian::Internal::Ref\-Cnt\-Ptr}$<$ Internal $>$ {\bf internal}}\label{classXapian_1_1ESet_043e205f8669c5cf5b1e395e8e3ee427}\end{CompactItemize}\subsection{Detailed Description}Class representing an ordered set of expand terms (an \hyperlink{classXapian_1_1ESet}{ESet}). This set represents the results of an expand operation, which is performed by \hyperlink{classXapian_1_1Enquire_c04aa26eff82db9fd810b8125a31ee55}{Xapian::Enquire::get\_\-eset()}. \subsection{Constructor \& Destructor Documentation}\hypertarget{classXapian_1_1ESet_b53f2936cfa1c16c7ea4e171d7572e02}{\index{Xapian::ESet@{Xapian::ESet}!ESet@{ESet}}\index{ESet@{ESet}!Xapian::ESet@{Xapian::ESet}}\subsubsection[ESet]{\setlength{\rightskip}{0pt plus 5cm}Xapian::ESet::ESet ()}}\label{classXapian_1_1ESet_b53f2936cfa1c16c7ea4e171d7572e02}Construct an empty \hyperlink{classXapian_1_1ESet}{ESet}. \hypertarget{classXapian_1_1ESet_07720954f3b74b0378079eb947be7642}{\index{Xapian::ESet@{Xapian::ESet}!~ESet@{$\sim$ESet}}\index{~ESet@{$\sim$ESet}!Xapian::ESet@{Xapian::ESet}}\subsubsection[$\sim$ESet]{\setlength{\rightskip}{0pt plus 5cm}Xapian::ESet::$\sim$ESet ()}}\label{classXapian_1_1ESet_07720954f3b74b0378079eb947be7642}Destructor. \hypertarget{classXapian_1_1ESet_817bfddb94d57028fefe678b5f614c5a}{\index{Xapian::ESet@{Xapian::ESet}!ESet@{ESet}}\index{ESet@{ESet}!Xapian::ESet@{Xapian::ESet}}\subsubsection[ESet]{\setlength{\rightskip}{0pt plus 5cm}Xapian::ESet::ESet (const \hyperlink{classXapian_1_1ESet}{ESet} \& {\em other})}}\label{classXapian_1_1ESet_817bfddb94d57028fefe678b5f614c5a}Copying is allowed (and is cheap). \subsection{Member Function Documentation}\hypertarget{classXapian_1_1ESet_d4ff820f027bf26c338b106ed1b46704}{\index{Xapian::ESet@{Xapian::ESet}!back@{back}}\index{back@{back}!Xapian::ESet@{Xapian::ESet}}\subsubsection[back]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{classXapian_1_1ESetIterator}{ESet\-Iterator} Xapian::ESet::back () const}}\label{classXapian_1_1ESet_d4ff820f027bf26c338b106ed1b46704}Iterator pointing to the last element of this E-Set. \hypertarget{classXapian_1_1ESet_b372abbea446e55668623da2640a2979}{\index{Xapian::ESet@{Xapian::ESet}!begin@{begin}}\index{begin@{begin}!Xapian::ESet@{Xapian::ESet}}\subsubsection[begin]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{classXapian_1_1ESetIterator}{ESet\-Iterator} Xapian::ESet::begin () const}}\label{classXapian_1_1ESet_b372abbea446e55668623da2640a2979}Iterator for the terms in this E-Set. \hypertarget{classXapian_1_1ESet_090e0af57f0c7dc00dba7f3f86421674}{\index{Xapian::ESet@{Xapian::ESet}!empty@{empty}}\index{empty@{empty}!Xapian::ESet@{Xapian::ESet}}\subsubsection[empty]{\setlength{\rightskip}{0pt plus 5cm}bool Xapian::ESet::empty () const}}\label{classXapian_1_1ESet_090e0af57f0c7dc00dba7f3f86421674}Test if this E-Set is empty. \hypertarget{classXapian_1_1ESet_b4a4fc608e5b1e98fa7fdd9ab5e5569e}{\index{Xapian::ESet@{Xapian::ESet}!end@{end}}\index{end@{end}!Xapian::ESet@{Xapian::ESet}}\subsubsection[end]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{classXapian_1_1ESetIterator}{ESet\-Iterator} Xapian::ESet::end () const}}\label{classXapian_1_1ESet_b4a4fc608e5b1e98fa7fdd9ab5e5569e}End iterator corresponding to \hyperlink{classXapian_1_1ESet_b372abbea446e55668623da2640a2979}{begin()}. \hypertarget{classXapian_1_1ESet_d63a1c7299c538001212e4ecd0bb5bc1}{\index{Xapian::ESet@{Xapian::ESet}!get_description@{get\_\-description}}\index{get_description@{get\_\-description}!Xapian::ESet@{Xapian::ESet}}\subsubsection[get\_\-description]{\setlength{\rightskip}{0pt plus 5cm}std::string Xapian::ESet::get\_\-description () const}}\label{classXapian_1_1ESet_d63a1c7299c538001212e4ecd0bb5bc1}Introspection method. \begin{Desc}\item[Returns:]A string representing this \hyperlink{classXapian_1_1ESet}{ESet}. \end{Desc}\hypertarget{classXapian_1_1ESet_2679dc65b4448d98d928daccecc2c5bd}{\index{Xapian::ESet@{Xapian::ESet}!get_ebound@{get\_\-ebound}}\index{get_ebound@{get\_\-ebound}!Xapian::ESet@{Xapian::ESet}}\subsubsection[get\_\-ebound]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{types_8h_6979d98ebbe67186bd31e5ee2a7585cb}{Xapian::termcount} Xapian::ESet::get\_\-ebound () const}}\label{classXapian_1_1ESet_2679dc65b4448d98d928daccecc2c5bd}A lower bound on the number of terms which are in the full set of results of the expand. This will be greater than or equal to \hyperlink{classXapian_1_1ESet_ebe586b9f270b318589f77b03841c420}{size()} \hypertarget{classXapian_1_1ESet_6e96fb499d2a2ea8e9846853f8f043e0}{\index{Xapian::ESet@{Xapian::ESet}!max_size@{max\_\-size}}\index{max_size@{max\_\-size}!Xapian::ESet@{Xapian::ESet}}\subsubsection[max\_\-size]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{types_8h_6979d98ebbe67186bd31e5ee2a7585cb}{Xapian::termcount} Xapian::ESet::max\_\-size () const\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}\label{classXapian_1_1ESet_6e96fb499d2a2ea8e9846853f8f043e0}Required to allow use as an STL container. \hypertarget{classXapian_1_1ESet_626192324d2199ff59b2b7380371aba9}{\index{Xapian::ESet@{Xapian::ESet}!operator=@{operator=}}\index{operator=@{operator=}!Xapian::ESet@{Xapian::ESet}}\subsubsection[operator=]{\setlength{\rightskip}{0pt plus 5cm}void Xapian::ESet::operator= (const \hyperlink{classXapian_1_1ESet}{ESet} \& {\em other})}}\label{classXapian_1_1ESet_626192324d2199ff59b2b7380371aba9}Assignment is allowed (and is cheap). \hypertarget{classXapian_1_1ESet_774ae93e1065b7d2ccd75da52e3fd5ae}{\index{Xapian::ESet@{Xapian::ESet}!operator[]@{operator[]}}\index{operator[]@{operator[]}!Xapian::ESet@{Xapian::ESet}}\subsubsection[operator[]]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{classXapian_1_1ESetIterator}{ESet\-Iterator} Xapian::ESet::operator\mbox{[}$\,$\mbox{]} (\hyperlink{types_8h_6979d98ebbe67186bd31e5ee2a7585cb}{Xapian::termcount} {\em i}) const}}\label{classXapian_1_1ESet_774ae93e1065b7d2ccd75da52e3fd5ae}This returns the term at position i in this E-Set. \hypertarget{classXapian_1_1ESet_ebe586b9f270b318589f77b03841c420}{\index{Xapian::ESet@{Xapian::ESet}!size@{size}}\index{size@{size}!Xapian::ESet@{Xapian::ESet}}\subsubsection[size]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{types_8h_6979d98ebbe67186bd31e5ee2a7585cb}{Xapian::termcount} Xapian::ESet::size () const}}\label{classXapian_1_1ESet_ebe586b9f270b318589f77b03841c420}The number of terms in this E-Set. \hypertarget{classXapian_1_1ESet_d2c3235a5e0ac8aad189ab0ef987a049}{\index{Xapian::ESet@{Xapian::ESet}!swap@{swap}}\index{swap@{swap}!Xapian::ESet@{Xapian::ESet}}\subsubsection[swap]{\setlength{\rightskip}{0pt plus 5cm}void Xapian::ESet::swap (\hyperlink{classXapian_1_1ESet}{ESet} \& {\em other})}}\label{classXapian_1_1ESet_d2c3235a5e0ac8aad189ab0ef987a049}Swap the E-Set we point to with another. The documentation for this class was generated from the following file:\begin{CompactItemize}\item include/xapian/\hyperlink{enquire_8h}{enquire.h}\end{CompactItemize}

⌨️ 快捷键说明

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