450 lines
19 KiB
TeX
450 lines
19 KiB
TeX
\hypertarget{class_s_t_l__l_stack}{}\doxysection{STL\+\_\+l\+Stack类 参考}
|
|
\label{class_s_t_l__l_stack}\index{STL\_lStack@{STL\_lStack}}
|
|
|
|
|
|
一个栈的类
|
|
|
|
|
|
|
|
|
|
{\ttfamily \#include $<$STL\+\_\+\+Stack.\+h$>$}
|
|
|
|
|
|
|
|
STL\+\_\+l\+Stack 的协作图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=179pt]{class_s_t_l__l_stack__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Public 成员函数}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\hyperlink{class_s_t_l__l_stack_a029d691b9e7998e4ccb7cf1b362b1bd8}{STL\+\_\+l\+Stack}} (void)
|
|
\item
|
|
\mbox{\hyperlink{class_s_t_l__l_stack_a44f31f3912ff977c18e6d5a702319e9f}{$\sim$\+STL\+\_\+l\+Stack}} (void)
|
|
\item
|
|
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_stack_a19b8e4216ae1fad27b58bc6b9c10af2e}{push}} (void $\ast$\&var, \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} size)
|
|
\begin{DoxyCompactList}\small\item\em 压入一个成员 \end{DoxyCompactList}\item
|
|
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_stack_a8122fd4341e6851961a210e2361c55b0}{pop}} (void)
|
|
\begin{DoxyCompactList}\small\item\em 弹出一个成员 \end{DoxyCompactList}\item
|
|
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_stack_a1e1f0b6f70bff3c9dbb95a90cac0f261}{top}} (void $\ast$\&var, \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \&size)
|
|
\begin{DoxyCompactList}\small\item\em 显示栈顶部成员 \end{DoxyCompactList}\item
|
|
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_stack_af48199bb7c616ad2b4642ca967296e30}{push8}} (\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} var)
|
|
\begin{DoxyCompactList}\small\item\em 压入一个8位成员 \end{DoxyCompactList}\item
|
|
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_stack_a5e3abb3c9743eff3757b95ce2bdc8d47}{top8}} (\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \&var)
|
|
\begin{DoxyCompactList}\small\item\em 显示栈顶成员 \end{DoxyCompactList}\item
|
|
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_stack_ab4a4991e79e9e3fd14cd9e7e9a7d4c5a}{poptop8}} (void)
|
|
\begin{DoxyCompactList}\small\item\em 显示并且弹出一个栈顶成员 \end{DoxyCompactList}\item
|
|
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_stack_a3f662cd8f02f5fa991f4c489ec384194}{push32}} (\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} var)
|
|
\begin{DoxyCompactList}\small\item\em 压入一个32位成员 \end{DoxyCompactList}\item
|
|
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_stack_a1cbd6347328f1bf000e7662a5386d361}{top32}} (\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \&var)
|
|
\begin{DoxyCompactList}\small\item\em 显示栈顶成员 \end{DoxyCompactList}\item
|
|
\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{class_s_t_l__l_stack_a5d566c869456665d5dd831e28cfcb7ab}{poptop32}} (void)
|
|
\begin{DoxyCompactList}\small\item\em 显示并且弹出一个栈顶成员 \end{DoxyCompactList}\item
|
|
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_stack_ad321b32eb00ba9d63ddf2631a143abf0}{pushfun}} (void($\ast$fun)(void))
|
|
\begin{DoxyCompactList}\small\item\em 压入一个void($\ast$)(void)函数指针 \end{DoxyCompactList}\end{DoxyCompactItemize}
|
|
\doxysubsection*{Public 属性}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
void($\ast$)(void) \mbox{\hyperlink{class_s_t_l__l_stack_a027231aabf8efb3c813be67eabbbee55}{poptopfun}} (void)
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Private 属性}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{class_s_t_l__l_stack_a73ada1fa0e938b4ea2ce5ce1d43a0e69}{mem}}
|
|
\item
|
|
\mbox{\hyperlink{struct__l_stack}{\+\_\+l\+Stack}} $\ast$ \mbox{\hyperlink{class_s_t_l__l_stack_af1c37b0edd984eae41db798351eb87fe}{dat}}
|
|
\end{DoxyCompactItemize}
|
|
|
|
|
|
\doxysubsection{详细描述}
|
|
一个栈的类
|
|
|
|
\begin{DoxyNote}{注解}
|
|
使用链表重新分配方式组织 栈的内存空间是非连续的,适合快速交换数据
|
|
\end{DoxyNote}
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___stack_8h_source}{STL\+\_\+\+Stack.\+h}} 第 \mbox{\hyperlink{_s_t_l___stack_8h_source_l00099}{99}} 行定义.
|
|
|
|
|
|
|
|
\doxysubsection{构造及析构函数说明}
|
|
\mbox{\Hypertarget{class_s_t_l__l_stack_a029d691b9e7998e4ccb7cf1b362b1bd8}\label{class_s_t_l__l_stack_a029d691b9e7998e4ccb7cf1b362b1bd8}}
|
|
\index{STL\_lStack@{STL\_lStack}!STL\_lStack@{STL\_lStack}}
|
|
\index{STL\_lStack@{STL\_lStack}!STL\_lStack@{STL\_lStack}}
|
|
\doxysubsubsection{\texorpdfstring{STL\_lStack()}{STL\_lStack()}}
|
|
{\footnotesize\ttfamily STL\+\_\+l\+Stack\+::\+STL\+\_\+l\+Stack (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___stack_8cpp_source}{STL\+\_\+\+Stack.\+cpp}} 第 \mbox{\hyperlink{_s_t_l___stack_8cpp_source_l00199}{199}} 行定义.
|
|
|
|
\mbox{\Hypertarget{class_s_t_l__l_stack_a44f31f3912ff977c18e6d5a702319e9f}\label{class_s_t_l__l_stack_a44f31f3912ff977c18e6d5a702319e9f}}
|
|
\index{STL\_lStack@{STL\_lStack}!````~STL\_lStack@{$\sim$STL\_lStack}}
|
|
\index{````~STL\_lStack@{$\sim$STL\_lStack}!STL\_lStack@{STL\_lStack}}
|
|
\doxysubsubsection{\texorpdfstring{$\sim$STL\_lStack()}{~STL\_lStack()}}
|
|
{\footnotesize\ttfamily STL\+\_\+l\+Stack\+::$\sim$\+STL\+\_\+l\+Stack (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___stack_8cpp_source}{STL\+\_\+\+Stack.\+cpp}} 第 \mbox{\hyperlink{_s_t_l___stack_8cpp_source_l00203}{203}} 行定义.
|
|
|
|
函数调用图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=334pt]{class_s_t_l__l_stack_a44f31f3912ff977c18e6d5a702319e9f_cgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
\doxysubsection{成员函数说明}
|
|
\mbox{\Hypertarget{class_s_t_l__l_stack_a8122fd4341e6851961a210e2361c55b0}\label{class_s_t_l__l_stack_a8122fd4341e6851961a210e2361c55b0}}
|
|
\index{STL\_lStack@{STL\_lStack}!pop@{pop}}
|
|
\index{pop@{pop}!STL\_lStack@{STL\_lStack}}
|
|
\doxysubsubsection{\texorpdfstring{pop()}{pop()}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} STL\+\_\+l\+Stack\+::pop (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
弹出一个成员
|
|
|
|
\begin{DoxyReturn}{返回}
|
|
错误号
|
|
\end{DoxyReturn}
|
|
\begin{DoxyNote}{注解}
|
|
无论push进去的是32位还是8位数,都用这个弹出
|
|
\end{DoxyNote}
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___stack_8cpp_source}{STL\+\_\+\+Stack.\+cpp}} 第 \mbox{\hyperlink{_s_t_l___stack_8cpp_source_l00229}{229}} 行定义.
|
|
|
|
这是这个函数的调用关系图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=334pt]{class_s_t_l__l_stack_a8122fd4341e6851961a210e2361c55b0_icgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
\mbox{\Hypertarget{class_s_t_l__l_stack_a5d566c869456665d5dd831e28cfcb7ab}\label{class_s_t_l__l_stack_a5d566c869456665d5dd831e28cfcb7ab}}
|
|
\index{STL\_lStack@{STL\_lStack}!poptop32@{poptop32}}
|
|
\index{poptop32@{poptop32}!STL\_lStack@{STL\_lStack}}
|
|
\doxysubsubsection{\texorpdfstring{poptop32()}{poptop32()}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} STL\+\_\+l\+Stack\+::poptop32 (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
显示并且弹出一个栈顶成员
|
|
|
|
\begin{DoxyReturn}{返回}
|
|
返回弹出的数值
|
|
\end{DoxyReturn}
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___stack_8cpp_source}{STL\+\_\+\+Stack.\+cpp}} 第 \mbox{\hyperlink{_s_t_l___stack_8cpp_source_l00316}{316}} 行定义.
|
|
|
|
函数调用图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{class_s_t_l__l_stack_a5d566c869456665d5dd831e28cfcb7ab_cgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
\mbox{\Hypertarget{class_s_t_l__l_stack_ab4a4991e79e9e3fd14cd9e7e9a7d4c5a}\label{class_s_t_l__l_stack_ab4a4991e79e9e3fd14cd9e7e9a7d4c5a}}
|
|
\index{STL\_lStack@{STL\_lStack}!poptop8@{poptop8}}
|
|
\index{poptop8@{poptop8}!STL\_lStack@{STL\_lStack}}
|
|
\doxysubsubsection{\texorpdfstring{poptop8()}{poptop8()}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} STL\+\_\+l\+Stack\+::poptop8 (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
显示并且弹出一个栈顶成员
|
|
|
|
\begin{DoxyReturn}{返回}
|
|
返回弹出的数值
|
|
\end{DoxyReturn}
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___stack_8cpp_source}{STL\+\_\+\+Stack.\+cpp}} 第 \mbox{\hyperlink{_s_t_l___stack_8cpp_source_l00280}{280}} 行定义.
|
|
|
|
函数调用图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{class_s_t_l__l_stack_ab4a4991e79e9e3fd14cd9e7e9a7d4c5a_cgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
\mbox{\Hypertarget{class_s_t_l__l_stack_a19b8e4216ae1fad27b58bc6b9c10af2e}\label{class_s_t_l__l_stack_a19b8e4216ae1fad27b58bc6b9c10af2e}}
|
|
\index{STL\_lStack@{STL\_lStack}!push@{push}}
|
|
\index{push@{push}!STL\_lStack@{STL\_lStack}}
|
|
\doxysubsubsection{\texorpdfstring{push()}{push()}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} STL\+\_\+l\+Stack\+::push (\begin{DoxyParamCaption}\item[{void $\ast$\&}]{var, }\item[{\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}}}]{size }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
压入一个成员
|
|
|
|
|
|
\begin{DoxyParams}{参数}
|
|
{\em $\ast$\&var} & 需要压入的数值的地址 \\
|
|
\hline
|
|
{\em size} & 需要压入的数值的长度 \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyReturn}{返回}
|
|
错误号
|
|
\end{DoxyReturn}
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___stack_8cpp_source}{STL\+\_\+\+Stack.\+cpp}} 第 \mbox{\hyperlink{_s_t_l___stack_8cpp_source_l00214}{214}} 行定义.
|
|
|
|
这是这个函数的调用关系图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{class_s_t_l__l_stack_a19b8e4216ae1fad27b58bc6b9c10af2e_icgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
\mbox{\Hypertarget{class_s_t_l__l_stack_a3f662cd8f02f5fa991f4c489ec384194}\label{class_s_t_l__l_stack_a3f662cd8f02f5fa991f4c489ec384194}}
|
|
\index{STL\_lStack@{STL\_lStack}!push32@{push32}}
|
|
\index{push32@{push32}!STL\_lStack@{STL\_lStack}}
|
|
\doxysubsubsection{\texorpdfstring{push32()}{push32()}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} STL\+\_\+l\+Stack\+::push32 (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}}}]{var }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
压入一个32位成员
|
|
|
|
|
|
\begin{DoxyParams}{参数}
|
|
{\em var} & 需要压入的32位数据 \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyReturn}{返回}
|
|
错误号
|
|
\end{DoxyReturn}
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___stack_8cpp_source}{STL\+\_\+\+Stack.\+cpp}} 第 \mbox{\hyperlink{_s_t_l___stack_8cpp_source_l00292}{292}} 行定义.
|
|
|
|
函数调用图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=314pt]{class_s_t_l__l_stack_a3f662cd8f02f5fa991f4c489ec384194_cgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
这是这个函数的调用关系图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=327pt]{class_s_t_l__l_stack_a3f662cd8f02f5fa991f4c489ec384194_icgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
\mbox{\Hypertarget{class_s_t_l__l_stack_af48199bb7c616ad2b4642ca967296e30}\label{class_s_t_l__l_stack_af48199bb7c616ad2b4642ca967296e30}}
|
|
\index{STL\_lStack@{STL\_lStack}!push8@{push8}}
|
|
\index{push8@{push8}!STL\_lStack@{STL\_lStack}}
|
|
\doxysubsubsection{\texorpdfstring{push8()}{push8()}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} STL\+\_\+l\+Stack\+::push8 (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}}]{var }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
压入一个8位成员
|
|
|
|
|
|
\begin{DoxyParams}{参数}
|
|
{\em var} & 需要压入的8位数据 \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyReturn}{返回}
|
|
错误号
|
|
\end{DoxyReturn}
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___stack_8cpp_source}{STL\+\_\+\+Stack.\+cpp}} 第 \mbox{\hyperlink{_s_t_l___stack_8cpp_source_l00256}{256}} 行定义.
|
|
|
|
函数调用图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=309pt]{class_s_t_l__l_stack_af48199bb7c616ad2b4642ca967296e30_cgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
\mbox{\Hypertarget{class_s_t_l__l_stack_ad321b32eb00ba9d63ddf2631a143abf0}\label{class_s_t_l__l_stack_ad321b32eb00ba9d63ddf2631a143abf0}}
|
|
\index{STL\_lStack@{STL\_lStack}!pushfun@{pushfun}}
|
|
\index{pushfun@{pushfun}!STL\_lStack@{STL\_lStack}}
|
|
\doxysubsubsection{\texorpdfstring{pushfun()}{pushfun()}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} STL\+\_\+l\+Stack\+::pushfun (\begin{DoxyParamCaption}\item[{void($\ast$)(void)}]{fun }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
压入一个void($\ast$)(void)函数指针
|
|
|
|
|
|
\begin{DoxyParams}{参数}
|
|
{\em $\ast$fun} & 需要压入的函数 \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyReturn}{返回}
|
|
错误号
|
|
\end{DoxyReturn}
|
|
\begin{DoxyNote}{注解}
|
|
如果有个函数是 void fun(void); 可以通过pushfun(fun);将其压入
|
|
\end{DoxyNote}
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___stack_8cpp_source}{STL\+\_\+\+Stack.\+cpp}} 第 \mbox{\hyperlink{_s_t_l___stack_8cpp_source_l00331}{331}} 行定义.
|
|
|
|
函数调用图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{class_s_t_l__l_stack_ad321b32eb00ba9d63ddf2631a143abf0_cgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
\mbox{\Hypertarget{class_s_t_l__l_stack_a1e1f0b6f70bff3c9dbb95a90cac0f261}\label{class_s_t_l__l_stack_a1e1f0b6f70bff3c9dbb95a90cac0f261}}
|
|
\index{STL\_lStack@{STL\_lStack}!top@{top}}
|
|
\index{top@{top}!STL\_lStack@{STL\_lStack}}
|
|
\doxysubsubsection{\texorpdfstring{top()}{top()}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} STL\+\_\+l\+Stack\+::top (\begin{DoxyParamCaption}\item[{void $\ast$\&}]{var, }\item[{\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \&}]{size }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
显示栈顶部成员
|
|
|
|
|
|
\begin{DoxyParams}{参数}
|
|
{\em $\ast$\&var} & 需要赋予的数值的地址 \\
|
|
\hline
|
|
{\em \&size} & 需要赋予的数值的长度 \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyReturn}{返回}
|
|
错误号
|
|
\end{DoxyReturn}
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___stack_8cpp_source}{STL\+\_\+\+Stack.\+cpp}} 第 \mbox{\hyperlink{_s_t_l___stack_8cpp_source_l00244}{244}} 行定义.
|
|
|
|
这是这个函数的调用关系图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{class_s_t_l__l_stack_a1e1f0b6f70bff3c9dbb95a90cac0f261_icgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
\mbox{\Hypertarget{class_s_t_l__l_stack_a1cbd6347328f1bf000e7662a5386d361}\label{class_s_t_l__l_stack_a1cbd6347328f1bf000e7662a5386d361}}
|
|
\index{STL\_lStack@{STL\_lStack}!top32@{top32}}
|
|
\index{top32@{top32}!STL\_lStack@{STL\_lStack}}
|
|
\doxysubsubsection{\texorpdfstring{top32()}{top32()}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} STL\+\_\+l\+Stack\+::top32 (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \&}]{var }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
显示栈顶成员
|
|
|
|
|
|
\begin{DoxyParams}{参数}
|
|
{\em \&var} & 结果赋予给该变量 \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyReturn}{返回}
|
|
错误号
|
|
\end{DoxyReturn}
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___stack_8cpp_source}{STL\+\_\+\+Stack.\+cpp}} 第 \mbox{\hyperlink{_s_t_l___stack_8cpp_source_l00304}{304}} 行定义.
|
|
|
|
函数调用图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=299pt]{class_s_t_l__l_stack_a1cbd6347328f1bf000e7662a5386d361_cgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
这是这个函数的调用关系图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=326pt]{class_s_t_l__l_stack_a1cbd6347328f1bf000e7662a5386d361_icgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
\mbox{\Hypertarget{class_s_t_l__l_stack_a5e3abb3c9743eff3757b95ce2bdc8d47}\label{class_s_t_l__l_stack_a5e3abb3c9743eff3757b95ce2bdc8d47}}
|
|
\index{STL\_lStack@{STL\_lStack}!top8@{top8}}
|
|
\index{top8@{top8}!STL\_lStack@{STL\_lStack}}
|
|
\doxysubsubsection{\texorpdfstring{top8()}{top8()}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} STL\+\_\+l\+Stack\+::top8 (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \&}]{var }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
显示栈顶成员
|
|
|
|
|
|
\begin{DoxyParams}{参数}
|
|
{\em \&var} & 结果赋予给该变量 \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyReturn}{返回}
|
|
错误号
|
|
\end{DoxyReturn}
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___stack_8cpp_source}{STL\+\_\+\+Stack.\+cpp}} 第 \mbox{\hyperlink{_s_t_l___stack_8cpp_source_l00268}{268}} 行定义.
|
|
|
|
函数调用图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=294pt]{class_s_t_l__l_stack_a5e3abb3c9743eff3757b95ce2bdc8d47_cgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
这是这个函数的调用关系图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=315pt]{class_s_t_l__l_stack_a5e3abb3c9743eff3757b95ce2bdc8d47_icgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
\doxysubsection{类成员变量说明}
|
|
\mbox{\Hypertarget{class_s_t_l__l_stack_af1c37b0edd984eae41db798351eb87fe}\label{class_s_t_l__l_stack_af1c37b0edd984eae41db798351eb87fe}}
|
|
\index{STL\_lStack@{STL\_lStack}!dat@{dat}}
|
|
\index{dat@{dat}!STL\_lStack@{STL\_lStack}}
|
|
\doxysubsubsection{\texorpdfstring{dat}{dat}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{struct__l_stack}{\+\_\+l\+Stack}}$\ast$ STL\+\_\+l\+Stack\+::dat\hspace{0.3cm}{\ttfamily [private]}}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___stack_8h_source}{STL\+\_\+\+Stack.\+h}} 第 \mbox{\hyperlink{_s_t_l___stack_8h_source_l00120}{120}} 行定义.
|
|
|
|
\mbox{\Hypertarget{class_s_t_l__l_stack_a73ada1fa0e938b4ea2ce5ce1d43a0e69}\label{class_s_t_l__l_stack_a73ada1fa0e938b4ea2ce5ce1d43a0e69}}
|
|
\index{STL\_lStack@{STL\_lStack}!mem@{mem}}
|
|
\index{mem@{mem}!STL\_lStack@{STL\_lStack}}
|
|
\doxysubsubsection{\texorpdfstring{mem}{mem}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} STL\+\_\+l\+Stack\+::mem\hspace{0.3cm}{\ttfamily [private]}}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___stack_8h_source}{STL\+\_\+\+Stack.\+h}} 第 \mbox{\hyperlink{_s_t_l___stack_8h_source_l00119}{119}} 行定义.
|
|
|
|
\mbox{\Hypertarget{class_s_t_l__l_stack_a027231aabf8efb3c813be67eabbbee55}\label{class_s_t_l__l_stack_a027231aabf8efb3c813be67eabbbee55}}
|
|
\index{STL\_lStack@{STL\_lStack}!poptopfun@{poptopfun}}
|
|
\index{poptopfun@{poptopfun}!STL\_lStack@{STL\_lStack}}
|
|
\doxysubsubsection{\texorpdfstring{poptopfun}{poptopfun}}
|
|
{\footnotesize\ttfamily void($\ast$)(void) STL\+\_\+l\+Stack\+::poptopfun(void)}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___stack_8h_source}{STL\+\_\+\+Stack.\+h}} 第 \mbox{\hyperlink{_s_t_l___stack_8h_source_l00117}{117}} 行定义.
|
|
|
|
|
|
|
|
该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
D\+:/gitt/\+Microchip\+For32/\+STL\+\_\+\+Device/\mbox{\hyperlink{_s_t_l___stack_8h}{STL\+\_\+\+Stack.\+h}}\item
|
|
D\+:/gitt/\+Microchip\+For32/\+STL\+\_\+\+Device/\mbox{\hyperlink{_s_t_l___stack_8cpp}{STL\+\_\+\+Stack.\+cpp}}\end{DoxyCompactItemize}
|