\hypertarget{_s_t_l___stack_8h}{}\doxysection{D\+:/gitt/\+Microchip\+For32/\+STL\+\_\+\+Device/\+STL\+\_\+\+Stack.h 文件参考}
\label{_s_t_l___stack_8h}\index{D:/gitt/MicrochipFor32/STL\_Device/STL\_Stack.h@{D:/gitt/MicrochipFor32/STL\_Device/STL\_Stack.h}}


实现了\+STL库中的\+Stack  


{\ttfamily \#include \char`\"{}varint.\+h\char`\"{}}\newline
{\ttfamily \#include $<$stdlib.\+h$>$}\newline
STL\+\_\+\+Stack.\+h 的引用(Include)关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=210pt]{_s_t_l___stack_8h__incl}
\end{center}
\end{figure}
此图展示该文件直接或间接的被哪些文件引用了\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=220pt]{_s_t_l___stack_8h__dep__incl}
\end{center}
\end{figure}
\doxysubsection*{类}
\begin{DoxyCompactItemize}
\item 
class \mbox{\hyperlink{class_s_t_l__r_stack}{STL\+\_\+r\+Stack}}
\begin{DoxyCompactList}\small\item\em 一个栈的类 \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{struct__l_stack}{\+\_\+l\+Stack}}
\begin{DoxyCompactList}\small\item\em 链表方式栈的节点 \end{DoxyCompactList}\item 
class \mbox{\hyperlink{class_s_t_l__l_stack}{STL\+\_\+l\+Stack}}
\begin{DoxyCompactList}\small\item\em 一个栈的类 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{类型定义}
\begin{DoxyCompactItemize}
\item 
typedef struct \mbox{\hyperlink{_s_t_l___stack_8h_a93c02da3227db123d738697d4e451b2a}{\+\_\+l\+Stacks}} \mbox{\hyperlink{_s_t_l___stack_8h_a93c02da3227db123d738697d4e451b2a}{\+\_\+l\+Stacks}}
\end{DoxyCompactItemize}
\doxysubsection*{枚举}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0}{STACKS\+\_\+\+RES}} \{ \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a3e9b3bff72ae3f8f3c62c4f4bc24ca16}{STACKS\+\_\+\+OK}}
, \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0aeb269e15565d4aaef1a9b5023a160eba}{STACKS\+\_\+\+EMPTY}}
, \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a9f2b3bdf4ae6c347dbf6bb0797672de7}{STACKS\+\_\+\+REAL\+\_\+\+ERROR}}
, \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a805af9c12fa10d0d7c4846e02dd8b1d4}{STACKS\+\_\+\+MALL\+\_\+\+ERROR}}
 \}
\begin{DoxyCompactList}\small\item\em 栈的返回值 \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{详细描述}
实现了\+STL库中的\+Stack 



在文件 \mbox{\hyperlink{_s_t_l___stack_8h_source}{STL\+\_\+\+Stack.\+h}} 中定义.



\doxysubsection{类型定义说明}
\mbox{\Hypertarget{_s_t_l___stack_8h_a93c02da3227db123d738697d4e451b2a}\label{_s_t_l___stack_8h_a93c02da3227db123d738697d4e451b2a}} 
\index{STL\_Stack.h@{STL\_Stack.h}!\_lStacks@{\_lStacks}}
\index{\_lStacks@{\_lStacks}!STL\_Stack.h@{STL\_Stack.h}}
\doxysubsubsection{\texorpdfstring{\_lStacks}{\_lStacks}}
{\footnotesize\ttfamily typedef struct \mbox{\hyperlink{_s_t_l___stack_8h_a93c02da3227db123d738697d4e451b2a}{\+\_\+l\+Stacks}} \mbox{\hyperlink{_s_t_l___stack_8h_a93c02da3227db123d738697d4e451b2a}{\+\_\+l\+Stacks}}}



在文件 \mbox{\hyperlink{_s_t_l___stack_8h_source}{STL\+\_\+\+Stack.\+h}} 第 \mbox{\hyperlink{_s_t_l___stack_8h_source_l00093}{93}} 行定义.



\doxysubsection{枚举类型说明}
\mbox{\Hypertarget{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0}\label{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0}} 
\index{STL\_Stack.h@{STL\_Stack.h}!STACKS\_RES@{STACKS\_RES}}
\index{STACKS\_RES@{STACKS\_RES}!STL\_Stack.h@{STL\_Stack.h}}
\doxysubsubsection{\texorpdfstring{STACKS\_RES}{STACKS\_RES}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0}{STACKS\+\_\+\+RES}}}



栈的返回值 

\begin{DoxyEnumFields}{枚举值}
\raisebox{\heightof{T}}[0pt][0pt]{\index{STACKS\_OK@{STACKS\_OK}!STL\_Stack.h@{STL\_Stack.h}}\index{STL\_Stack.h@{STL\_Stack.h}!STACKS\_OK@{STACKS\_OK}}}\mbox{\Hypertarget{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a3e9b3bff72ae3f8f3c62c4f4bc24ca16}\label{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a3e9b3bff72ae3f8f3c62c4f4bc24ca16}} 
STACKS\+\_\+\+OK&成功 \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{STACKS\_EMPTY@{STACKS\_EMPTY}!STL\_Stack.h@{STL\_Stack.h}}\index{STL\_Stack.h@{STL\_Stack.h}!STACKS\_EMPTY@{STACKS\_EMPTY}}}\mbox{\Hypertarget{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0aeb269e15565d4aaef1a9b5023a160eba}\label{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0aeb269e15565d4aaef1a9b5023a160eba}} 
STACKS\+\_\+\+EMPTY&栈是空的 \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{STACKS\_REAL\_ERROR@{STACKS\_REAL\_ERROR}!STL\_Stack.h@{STL\_Stack.h}}\index{STL\_Stack.h@{STL\_Stack.h}!STACKS\_REAL\_ERROR@{STACKS\_REAL\_ERROR}}}\mbox{\Hypertarget{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a9f2b3bdf4ae6c347dbf6bb0797672de7}\label{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a9f2b3bdf4ae6c347dbf6bb0797672de7}} 
STACKS\+\_\+\+REAL\+\_\+\+ERROR&重分配出错realloc \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{STACKS\_MALL\_ERROR@{STACKS\_MALL\_ERROR}!STL\_Stack.h@{STL\_Stack.h}}\index{STL\_Stack.h@{STL\_Stack.h}!STACKS\_MALL\_ERROR@{STACKS\_MALL\_ERROR}}}\mbox{\Hypertarget{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a805af9c12fa10d0d7c4846e02dd8b1d4}\label{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a805af9c12fa10d0d7c4846e02dd8b1d4}} 
STACKS\+\_\+\+MALL\+\_\+\+ERROR&重分配出错malloc \\
\hline

\end{DoxyEnumFields}


在文件 \mbox{\hyperlink{_s_t_l___stack_8h_source}{STL\+\_\+\+Stack.\+h}} 第 \mbox{\hyperlink{_s_t_l___stack_8h_source_l00045}{45}} 行定义.

