aboutsummaryrefslogtreecommitdiffstats
path: root/doc/latex/classmeow_1_1SplayTree__Range_1_1Element.tex
blob: bf29bc0ee24a03e6e0fa8b0ef75ca26ba4f19264 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
\hypertarget{classmeow_1_1SplayTree__Range_1_1Element}{\section{meow\-:\-:Splay\-Tree\-\_\-\-Range$<$ Key, Value $>$\-:\-:Element Class Reference}
\label{classmeow_1_1SplayTree__Range_1_1Element}\index{meow\-::\-Splay\-Tree\-\_\-\-Range$<$ Key, Value $>$\-::\-Element@{meow\-::\-Splay\-Tree\-\_\-\-Range$<$ Key, Value $>$\-::\-Element}}
}


類似 {\ttfamily stl}{\ttfamily iterator} ,不過這邊叫做{\ttfamily \hyperlink{classmeow_1_1SplayTree__Range_1_1Element}{Element}}  




{\ttfamily \#include \char`\"{}Splay\-Tree.\-h\char`\"{}}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classmeow_1_1SplayTree__Range_1_1Element_acc3dcc61b0b363c10ab3cb572a37bffe}{Element} ()
\item 
\hyperlink{classmeow_1_1SplayTree__Range_1_1Element_a18157d69d14dad8e2a9600a3052ef341}{Element} (Node $\ast$node)
\item 
\hyperlink{classmeow_1_1SplayTree__Range_1_1Element_aaf32bca541ab3b6212a135a77e7f7d91}{Element} (\hyperlink{classmeow_1_1SplayTree__Range_1_1Element}{Element} const \&element2)
\item 
\hyperlink{classmeow_1_1SplayTree__Range_1_1Element_a5441072951b572b2859f6f0f1b55d3cc}{$\sim$\-Element} ()
\item 
\hyperlink{classmeow_1_1SplayTree__Range_1_1Element}{Element} \& \hyperlink{classmeow_1_1SplayTree__Range_1_1Element_ace7c7fb2416ca7afd7df627a0fe57ed0}{copy\-From} (\hyperlink{classmeow_1_1SplayTree__Range_1_1Element}{Element} const \&e)
\begin{DoxyCompactList}\small\item\em 複製資料 \end{DoxyCompactList}\item 
bool \hyperlink{classmeow_1_1SplayTree__Range_1_1Element_aea48bcfd0ad50cbdcdc15128be5e8f15}{same} (\hyperlink{classmeow_1_1SplayTree__Range_1_1Element}{Element} const \&e2) const 
\begin{DoxyCompactList}\small\item\em 比對兩者是否為指向同一個\-Entry \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1SplayTree__Range_1_1Element}{Element} \& \hyperlink{classmeow_1_1SplayTree__Range_1_1Element_a126d57eee520aa17868ce74112249e12}{operator=} (\hyperlink{classmeow_1_1SplayTree__Range_1_1Element}{Element} const \&e2)
\begin{DoxyCompactList}\small\item\em same as copy\-From \end{DoxyCompactList}\item 
Entry $\ast$ \hyperlink{classmeow_1_1SplayTree__Range_1_1Element_a6344204522f3093165b1a100cc2bf6f2}{operator-\/$>$} ()
\begin{DoxyCompactList}\small\item\em 重導至{\ttfamily std\-::pair$<$Key} {\ttfamily const\&},{\ttfamily Value\&$>$$\ast$} \end{DoxyCompactList}\item 
Entry \& \hyperlink{classmeow_1_1SplayTree__Range_1_1Element_ad860aa695abffe96716eed4a5e58d950}{operator$\ast$} ()
\begin{DoxyCompactList}\small\item\em 重導至{\ttfamily std\-::pair$<$Key} {\ttfamily const\&},{\ttfamily Value\&$>$\&} \end{DoxyCompactList}\item 
bool \hyperlink{classmeow_1_1SplayTree__Range_1_1Element_a42f71bf3aa7e009582e628e87763482d}{operator==} (\hyperlink{classmeow_1_1SplayTree__Range_1_1Element}{Element} const \&e2) const 
\begin{DoxyCompactList}\small\item\em same as {\ttfamily same(e2)} \end{DoxyCompactList}\item 
bool \hyperlink{classmeow_1_1SplayTree__Range_1_1Element_a7e8d951ce66208a88ac8d8a177af48a5}{operator!=} (\hyperlink{classmeow_1_1SplayTree__Range_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\-\_\-\-Range$<$ Key, Value $>$\-::\-Element}

類似 {\ttfamily stl}{\ttfamily iterator} ,不過這邊叫做{\ttfamily \hyperlink{classmeow_1_1SplayTree__Range_1_1Element}{Element}} 

用來當作回傳資料的媒介 

Definition at line 750 of file Splay\-Tree.\-h.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{classmeow_1_1SplayTree__Range_1_1Element_acc3dcc61b0b363c10ab3cb572a37bffe}{\index{meow\-::\-Splay\-Tree\-\_\-\-Range\-::\-Element@{meow\-::\-Splay\-Tree\-\_\-\-Range\-::\-Element}!Element@{Element}}
\index{Element@{Element}!meow::SplayTree_Range::Element@{meow\-::\-Splay\-Tree\-\_\-\-Range\-::\-Element}}
\subsubsection[{Element}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ {\bf meow\-::\-Splay\-Tree\-\_\-\-Range}$<$ Key, Value $>$\-::Element\-::\-Element (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1SplayTree__Range_1_1Element_acc3dcc61b0b363c10ab3cb572a37bffe}


Definition at line 762 of file Splay\-Tree.\-h.

\hypertarget{classmeow_1_1SplayTree__Range_1_1Element_a18157d69d14dad8e2a9600a3052ef341}{\index{meow\-::\-Splay\-Tree\-\_\-\-Range\-::\-Element@{meow\-::\-Splay\-Tree\-\_\-\-Range\-::\-Element}!Element@{Element}}
\index{Element@{Element}!meow::SplayTree_Range::Element@{meow\-::\-Splay\-Tree\-\_\-\-Range\-::\-Element}}
\subsubsection[{Element}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ {\bf meow\-::\-Splay\-Tree\-\_\-\-Range}$<$ Key, Value $>$\-::Element\-::\-Element (
\begin{DoxyParamCaption}
\item[{Node $\ast$}]{node}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1SplayTree__Range_1_1Element_a18157d69d14dad8e2a9600a3052ef341}


Definition at line 764 of file Splay\-Tree.\-h.

\hypertarget{classmeow_1_1SplayTree__Range_1_1Element_aaf32bca541ab3b6212a135a77e7f7d91}{\index{meow\-::\-Splay\-Tree\-\_\-\-Range\-::\-Element@{meow\-::\-Splay\-Tree\-\_\-\-Range\-::\-Element}!Element@{Element}}
\index{Element@{Element}!meow::SplayTree_Range::Element@{meow\-::\-Splay\-Tree\-\_\-\-Range\-::\-Element}}
\subsubsection[{Element}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ {\bf meow\-::\-Splay\-Tree\-\_\-\-Range}$<$ Key, Value $>$\-::Element\-::\-Element (
\begin{DoxyParamCaption}
\item[{{\bf Element} const \&}]{element2}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1SplayTree__Range_1_1Element_aaf32bca541ab3b6212a135a77e7f7d91}


Definition at line 767 of file Splay\-Tree.\-h.

\hypertarget{classmeow_1_1SplayTree__Range_1_1Element_a5441072951b572b2859f6f0f1b55d3cc}{\index{meow\-::\-Splay\-Tree\-\_\-\-Range\-::\-Element@{meow\-::\-Splay\-Tree\-\_\-\-Range\-::\-Element}!$\sim$\-Element@{$\sim$\-Element}}
\index{$\sim$\-Element@{$\sim$\-Element}!meow::SplayTree_Range::Element@{meow\-::\-Splay\-Tree\-\_\-\-Range\-::\-Element}}
\subsubsection[{$\sim$\-Element}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ {\bf meow\-::\-Splay\-Tree\-\_\-\-Range}$<$ Key, Value $>$\-::Element\-::$\sim$\-Element (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1SplayTree__Range_1_1Element_a5441072951b572b2859f6f0f1b55d3cc}


Definition at line 770 of file Splay\-Tree.\-h.



\subsection{Member Function Documentation}
\hypertarget{classmeow_1_1SplayTree__Range_1_1Element_ace7c7fb2416ca7afd7df627a0fe57ed0}{\index{meow\-::\-Splay\-Tree\-\_\-\-Range\-::\-Element@{meow\-::\-Splay\-Tree\-\_\-\-Range\-::\-Element}!copy\-From@{copy\-From}}
\index{copy\-From@{copy\-From}!meow::SplayTree_Range::Element@{meow\-::\-Splay\-Tree\-\_\-\-Range\-::\-Element}}
\subsubsection[{copy\-From}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ {\bf Element}\& {\bf meow\-::\-Splay\-Tree\-\_\-\-Range}$<$ Key, Value $>$\-::Element\-::copy\-From (
\begin{DoxyParamCaption}
\item[{{\bf Element} const \&}]{e}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1SplayTree__Range_1_1Element_ace7c7fb2416ca7afd7df627a0fe57ed0}


複製資料 



Definition at line 775 of file Splay\-Tree.\-h.

\hypertarget{classmeow_1_1SplayTree__Range_1_1Element_a7e8d951ce66208a88ac8d8a177af48a5}{\index{meow\-::\-Splay\-Tree\-\_\-\-Range\-::\-Element@{meow\-::\-Splay\-Tree\-\_\-\-Range\-::\-Element}!operator!=@{operator!=}}
\index{operator!=@{operator!=}!meow::SplayTree_Range::Element@{meow\-::\-Splay\-Tree\-\_\-\-Range\-::\-Element}}
\subsubsection[{operator!=}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ bool {\bf meow\-::\-Splay\-Tree\-\_\-\-Range}$<$ Key, Value $>$\-::Element\-::operator!= (
\begin{DoxyParamCaption}
\item[{{\bf Element} const \&}]{e2}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1SplayTree__Range_1_1Element_a7e8d951ce66208a88ac8d8a177af48a5}


same as {\ttfamily !same}(e2) 



Definition at line 806 of file Splay\-Tree.\-h.

\hypertarget{classmeow_1_1SplayTree__Range_1_1Element_ad860aa695abffe96716eed4a5e58d950}{\index{meow\-::\-Splay\-Tree\-\_\-\-Range\-::\-Element@{meow\-::\-Splay\-Tree\-\_\-\-Range\-::\-Element}!operator$\ast$@{operator$\ast$}}
\index{operator$\ast$@{operator$\ast$}!meow::SplayTree_Range::Element@{meow\-::\-Splay\-Tree\-\_\-\-Range\-::\-Element}}
\subsubsection[{operator$\ast$}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ Entry\& {\bf meow\-::\-Splay\-Tree\-\_\-\-Range}$<$ Key, Value $>$\-::Element\-::operator$\ast$ (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1SplayTree__Range_1_1Element_ad860aa695abffe96716eed4a5e58d950}


重導至{\ttfamily std\-::pair$<$Key} {\ttfamily const\&},{\ttfamily Value\&$>$\&} 



Definition at line 796 of file Splay\-Tree.\-h.

\hypertarget{classmeow_1_1SplayTree__Range_1_1Element_a6344204522f3093165b1a100cc2bf6f2}{\index{meow\-::\-Splay\-Tree\-\_\-\-Range\-::\-Element@{meow\-::\-Splay\-Tree\-\_\-\-Range\-::\-Element}!operator-\/$>$@{operator-\/$>$}}
\index{operator-\/$>$@{operator-\/$>$}!meow::SplayTree_Range::Element@{meow\-::\-Splay\-Tree\-\_\-\-Range\-::\-Element}}
\subsubsection[{operator-\/$>$}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ Entry$\ast$ {\bf meow\-::\-Splay\-Tree\-\_\-\-Range}$<$ Key, Value $>$\-::Element\-::operator-\/$>$ (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1SplayTree__Range_1_1Element_a6344204522f3093165b1a100cc2bf6f2}


重導至{\ttfamily std\-::pair$<$Key} {\ttfamily const\&},{\ttfamily Value\&$>$$\ast$} 



Definition at line 791 of file Splay\-Tree.\-h.

\hypertarget{classmeow_1_1SplayTree__Range_1_1Element_a126d57eee520aa17868ce74112249e12}{\index{meow\-::\-Splay\-Tree\-\_\-\-Range\-::\-Element@{meow\-::\-Splay\-Tree\-\_\-\-Range\-::\-Element}!operator=@{operator=}}
\index{operator=@{operator=}!meow::SplayTree_Range::Element@{meow\-::\-Splay\-Tree\-\_\-\-Range\-::\-Element}}
\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ {\bf Element}\& {\bf meow\-::\-Splay\-Tree\-\_\-\-Range}$<$ Key, Value $>$\-::Element\-::operator= (
\begin{DoxyParamCaption}
\item[{{\bf Element} const \&}]{e2}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1SplayTree__Range_1_1Element_a126d57eee520aa17868ce74112249e12}


same as copy\-From 



Definition at line 786 of file Splay\-Tree.\-h.

\hypertarget{classmeow_1_1SplayTree__Range_1_1Element_a42f71bf3aa7e009582e628e87763482d}{\index{meow\-::\-Splay\-Tree\-\_\-\-Range\-::\-Element@{meow\-::\-Splay\-Tree\-\_\-\-Range\-::\-Element}!operator==@{operator==}}
\index{operator==@{operator==}!meow::SplayTree_Range::Element@{meow\-::\-Splay\-Tree\-\_\-\-Range\-::\-Element}}
\subsubsection[{operator==}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ bool {\bf meow\-::\-Splay\-Tree\-\_\-\-Range}$<$ Key, Value $>$\-::Element\-::operator== (
\begin{DoxyParamCaption}
\item[{{\bf Element} const \&}]{e2}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1SplayTree__Range_1_1Element_a42f71bf3aa7e009582e628e87763482d}


same as {\ttfamily same(e2)} 



Definition at line 801 of file Splay\-Tree.\-h.

\hypertarget{classmeow_1_1SplayTree__Range_1_1Element_aea48bcfd0ad50cbdcdc15128be5e8f15}{\index{meow\-::\-Splay\-Tree\-\_\-\-Range\-::\-Element@{meow\-::\-Splay\-Tree\-\_\-\-Range\-::\-Element}!same@{same}}
\index{same@{same}!meow::SplayTree_Range::Element@{meow\-::\-Splay\-Tree\-\_\-\-Range\-::\-Element}}
\subsubsection[{same}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Key , class Value $>$ bool {\bf meow\-::\-Splay\-Tree\-\_\-\-Range}$<$ Key, Value $>$\-::Element\-::same (
\begin{DoxyParamCaption}
\item[{{\bf Element} const \&}]{e2}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1SplayTree__Range_1_1Element_aea48bcfd0ad50cbdcdc15128be5e8f15}


比對兩者是否為指向同一個\-Entry 



Definition at line 781 of file Splay\-Tree.\-h.



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
meowpp/dsa/\hyperlink{SplayTree_8h}{Splay\-Tree.\-h}\end{DoxyCompactItemize}