\hypertarget{classmeow_1_1SplayTree_1_1Element}{\section{meow\-:\-:Splay\-Tree$<$ Key, Value $>$\-:\-:Element Class Reference} \label{classmeow_1_1SplayTree_1_1Element}\index{meow\-::\-Splay\-Tree$<$ Key, Value $>$\-::\-Element@{meow\-::\-Splay\-Tree$<$ Key, Value $>$\-::\-Element}} } 類似 {\ttfamily stl} 的 {\ttfamily iterator} ,不過這邊叫做{\ttfamily \hyperlink{classmeow_1_1SplayTree_1_1Element}{Element}} {\ttfamily \#include \char`\"{}Splay\-Tree.\-h\char`\"{}} \subsection*{Public Member Functions} \begin{DoxyCompactItemize} \item \hyperlink{classmeow_1_1SplayTree_1_1Element_abab289dd578dd4879abebb58a6d86784}{Element} () \item \hyperlink{classmeow_1_1SplayTree_1_1Element_a4f12f5c26525cbf3763a05f63ab33871}{Element} (Node $\ast$node) \item \hyperlink{classmeow_1_1SplayTree_1_1Element_a4cc99037c39c9d3856a06d9950678a85}{Element} (\hyperlink{classmeow_1_1SplayTree_1_1Element}{Element} const \&element2) \item \hyperlink{classmeow_1_1SplayTree_1_1Element_ad522186691eead6d0a0a880e05e2a73b}{$\sim$\-Element} () \item \hyperlink{classmeow_1_1SplayTree_1_1Element}{Element} \& \hyperlink{classmeow_1_1SplayTree_1_1Element_aaea89fe0e873d4a2ceafad1519064d9a}{copy\-From} (\hyperlink{classmeow_1_1SplayTree_1_1Element}{Element} const \&e) \begin{DoxyCompactList}\small\item\em 複製資料 \end{DoxyCompactList}\item bool \hyperlink{classmeow_1_1SplayTree_1_1Element_a01f7474b5018d9505c0e8495d9d1d895}{same} (\hyperlink{classmeow_1_1SplayTree_1_1Element}{Element} const \&e2) const \begin{DoxyCompactList}\small\item\em 比對兩者是否為指向同一個\-Entry \end{DoxyCompactList}\item \hyperlink{classmeow_1_1SplayTree_1_1Element}{Element} \& \hyperlink{classmeow_1_1SplayTree_1_1Element_a6af08a219ca313ddd086db6d3a8685d7}{operator=} (\hyperlink{classmeow_1_1SplayTree_1_1Element}{Element} const \&e2) \begin{DoxyCompactList}\small\item\em same as copy\-From \end{DoxyCompactList}\item Entry $\ast$ \hyperlink{classmeow_1_1SplayTree_1_1Element_a5e564545e78be2ad63e965c985997ab5}{operator-\/$>$} () \begin{DoxyCompactList}\small\item\em 重導至{\ttfamily std\-::pair$<$Key} {\ttfamily const\&},{\ttfamily Value\&$>$$\ast$} \end{DoxyCompactList}\item Entry \& \hyperlink{classmeow_1_1SplayTree_1_1Element_ac947185148b8e81083172b843b129510}{operator$\ast$} () \begin{DoxyCompactList}\small\item\em 重導至{\ttfamily std\-::pair$<$Key} {\ttfamily const\&},{\ttfamily Value\&$>$\&} \end{DoxyCompactList}\item bool \hyperlink{classmeow_1_1SplayTree_1_1Element_aeaf7740977e75749cd8656066d05808b}{operator==} (\hyperlink{classmeow_1_1SplayTree_1_1Element}{Element} const \&e2) const \begin{DoxyCompactList}\small\item\em same as {\ttfamily same(e2)} \end{DoxyCompactList}\item bool \hyperlink{classmeow_1_1SplayTree_1_1Element_ae5c8fa3ed0fb90953de1b50e81a89480}{operator!=} (\hyperlink{classmeow_1_1SplayTree_1_1Element}{Element} const \&e2) const \begin{DoxyCompactList}\small\item\em same as {\ttfamily !same}(e2) \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection{Detailed Description} \subsubsection*{template$<$class Key, class Value$>$class meow\-::\-Splay\-Tree$<$ Key, Value $>$\-::\-Element} 類似 {\ttfamily stl} 的 {\ttfamily iterator} ,不過這邊叫做{\ttfamily \hyperlink{classmeow_1_1SplayTree_1_1Element}{Element}} 用來當作回傳資料的媒介 \subsection{Constructor \& Destructor Documentation} \hypertarget{classmeow_1_1SplayTree_1_1Element_abab289dd578dd4879abebb58a6d86784}{\index{meow\-::\-Splay\-Tree\-::\-Element@{meow\-::\-Splay\-Tree\-::\-Element}!Element@{Element}} \index{Element@{Element}!meow::SplayTree::Element@{meow\-::\-Splay\-Tree\-::\-Element}} \subsubsection[{Element}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ {\bf meow\-::\-Splay\-Tree}$<$ Key, Value $>$\-::Element\-::\-Element ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1SplayTree_1_1Element_abab289dd578dd4879abebb58a6d86784} \hypertarget{classmeow_1_1SplayTree_1_1Element_a4f12f5c26525cbf3763a05f63ab33871}{\index{meow\-::\-Splay\-Tree\-::\-Element@{meow\-::\-Splay\-Tree\-::\-Element}!Element@{Element}} \index{Element@{Element}!meow::SplayTree::Element@{meow\-::\-Splay\-Tree\-::\-Element}} \subsubsection[{Element}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ {\bf meow\-::\-Splay\-Tree}$<$ Key, Value $>$\-::Element\-::\-Element ( \begin{DoxyParamCaption} \item[{Node $\ast$}]{node} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1SplayTree_1_1Element_a4f12f5c26525cbf3763a05f63ab33871} \hypertarget{classmeow_1_1SplayTree_1_1Element_a4cc99037c39c9d3856a06d9950678a85}{\index{meow\-::\-Splay\-Tree\-::\-Element@{meow\-::\-Splay\-Tree\-::\-Element}!Element@{Element}} \index{Element@{Element}!meow::SplayTree::Element@{meow\-::\-Splay\-Tree\-::\-Element}} \subsubsection[{Element}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ {\bf meow\-::\-Splay\-Tree}$<$ Key, Value $>$\-::Element\-::\-Element ( \begin{DoxyParamCaption} \item[{{\bf Element} const \&}]{element2} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1SplayTree_1_1Element_a4cc99037c39c9d3856a06d9950678a85} \hypertarget{classmeow_1_1SplayTree_1_1Element_ad522186691eead6d0a0a880e05e2a73b}{\index{meow\-::\-Splay\-Tree\-::\-Element@{meow\-::\-Splay\-Tree\-::\-Element}!$\sim$\-Element@{$\sim$\-Element}} \index{$\sim$\-Element@{$\sim$\-Element}!meow::SplayTree::Element@{meow\-::\-Splay\-Tree\-::\-Element}} \subsubsection[{$\sim$\-Element}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ {\bf meow\-::\-Splay\-Tree}$<$ Key, Value $>$\-::Element\-::$\sim$\-Element ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1SplayTree_1_1Element_ad522186691eead6d0a0a880e05e2a73b} \subsection{Member Function Documentation} \hypertarget{classmeow_1_1SplayTree_1_1Element_aaea89fe0e873d4a2ceafad1519064d9a}{\index{meow\-::\-Splay\-Tree\-::\-Element@{meow\-::\-Splay\-Tree\-::\-Element}!copy\-From@{copy\-From}} \index{copy\-From@{copy\-From}!meow::SplayTree::Element@{meow\-::\-Splay\-Tree\-::\-Element}} \subsubsection[{copy\-From}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ {\bf Element}\& {\bf meow\-::\-Splay\-Tree}$<$ Key, Value $>$\-::Element\-::copy\-From ( \begin{DoxyParamCaption} \item[{{\bf Element} const \&}]{e} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1SplayTree_1_1Element_aaea89fe0e873d4a2ceafad1519064d9a} 複製資料 \hypertarget{classmeow_1_1SplayTree_1_1Element_ae5c8fa3ed0fb90953de1b50e81a89480}{\index{meow\-::\-Splay\-Tree\-::\-Element@{meow\-::\-Splay\-Tree\-::\-Element}!operator!=@{operator!=}} \index{operator!=@{operator!=}!meow::SplayTree::Element@{meow\-::\-Splay\-Tree\-::\-Element}} \subsubsection[{operator!=}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ bool {\bf meow\-::\-Splay\-Tree}$<$ Key, Value $>$\-::Element\-::operator!= ( \begin{DoxyParamCaption} \item[{{\bf Element} const \&}]{e2} \end{DoxyParamCaption} ) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1SplayTree_1_1Element_ae5c8fa3ed0fb90953de1b50e81a89480} same as {\ttfamily !same}(e2) \hypertarget{classmeow_1_1SplayTree_1_1Element_ac947185148b8e81083172b843b129510}{\index{meow\-::\-Splay\-Tree\-::\-Element@{meow\-::\-Splay\-Tree\-::\-Element}!operator$\ast$@{operator$\ast$}} \index{operator$\ast$@{operator$\ast$}!meow::SplayTree::Element@{meow\-::\-Splay\-Tree\-::\-Element}} \subsubsection[{operator$\ast$}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ Entry\& {\bf meow\-::\-Splay\-Tree}$<$ Key, Value $>$\-::Element\-::operator$\ast$ ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1SplayTree_1_1Element_ac947185148b8e81083172b843b129510} 重導至{\ttfamily std\-::pair$<$Key} {\ttfamily const\&},{\ttfamily Value\&$>$\&} \hypertarget{classmeow_1_1SplayTree_1_1Element_a5e564545e78be2ad63e965c985997ab5}{\index{meow\-::\-Splay\-Tree\-::\-Element@{meow\-::\-Splay\-Tree\-::\-Element}!operator-\/$>$@{operator-\/$>$}} \index{operator-\/$>$@{operator-\/$>$}!meow::SplayTree::Element@{meow\-::\-Splay\-Tree\-::\-Element}} \subsubsection[{operator-\/$>$}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ Entry$\ast$ {\bf meow\-::\-Splay\-Tree}$<$ Key, Value $>$\-::Element\-::operator-\/$>$ ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1SplayTree_1_1Element_a5e564545e78be2ad63e965c985997ab5} 重導至{\ttfamily std\-::pair$<$Key} {\ttfamily const\&},{\ttfamily Value\&$>$$\ast$} \hypertarget{classmeow_1_1SplayTree_1_1Element_a6af08a219ca313ddd086db6d3a8685d7}{\index{meow\-::\-Splay\-Tree\-::\-Element@{meow\-::\-Splay\-Tree\-::\-Element}!operator=@{operator=}} \index{operator=@{operator=}!meow::SplayTree::Element@{meow\-::\-Splay\-Tree\-::\-Element}} \subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ {\bf Element}\& {\bf meow\-::\-Splay\-Tree}$<$ Key, Value $>$\-::Element\-::operator= ( \begin{DoxyParamCaption} \item[{{\bf Element} const \&}]{e2} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1SplayTree_1_1Element_a6af08a219ca313ddd086db6d3a8685d7} same as copy\-From \hypertarget{classmeow_1_1SplayTree_1_1Element_aeaf7740977e75749cd8656066d05808b}{\index{meow\-::\-Splay\-Tree\-::\-Element@{meow\-::\-Splay\-Tree\-::\-Element}!operator==@{operator==}} \index{operator==@{operator==}!meow::SplayTree::Element@{meow\-::\-Splay\-Tree\-::\-Element}} \subsubsection[{operator==}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ bool {\bf meow\-::\-Splay\-Tree}$<$ Key, Value $>$\-::Element\-::operator== ( \begin{DoxyParamCaption} \item[{{\bf Element} const \&}]{e2} \end{DoxyParamCaption} ) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1SplayTree_1_1Element_aeaf7740977e75749cd8656066d05808b} same as {\ttfamily same(e2)} \hypertarget{classmeow_1_1SplayTree_1_1Element_a01f7474b5018d9505c0e8495d9d1d895}{\index{meow\-::\-Splay\-Tree\-::\-Element@{meow\-::\-Splay\-Tree\-::\-Element}!same@{same}} \index{same@{same}!meow::SplayTree::Element@{meow\-::\-Splay\-Tree\-::\-Element}} \subsubsection[{same}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ bool {\bf meow\-::\-Splay\-Tree}$<$ Key, Value $>$\-::Element\-::same ( \begin{DoxyParamCaption} \item[{{\bf Element} const \&}]{e2} \end{DoxyParamCaption} ) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1SplayTree_1_1Element_a01f7474b5018d9505c0e8495d9d1d895} 比對兩者是否為指向同一個\-Entry The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize} \item meowpp/dsa/\hyperlink{SplayTree_8h}{Splay\-Tree.\-h}\end{DoxyCompactItemize}