初代发行版本

增加了栈的链表实现方法
编写了markdown文件
This commit is contained in:
XerolySkinner
2022-11-10 03:34:52 +08:00
parent 376a9edc0f
commit 1004372110
449 changed files with 10804 additions and 1657 deletions

View File

@@ -6,8 +6,7 @@
{\ttfamily \#include \char`\"{}vartable.\+h\char`\"{}}\newline
Callback.\+cpp 的引用(Include)关系图\+:
\nopagebreak
Callback.\+cpp 的引用(Include)关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode

View File

@@ -6,8 +6,7 @@
{\ttfamily \#include \char`\"{}vartable.\+h\char`\"{}}\newline
Main\+System.\+cpp 的引用(Include)关系图\+:
\nopagebreak
Main\+System.\+cpp 的引用(Include)关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode

View File

@@ -0,0 +1,24 @@
\hypertarget{_s_t_l___queue_8cpp}{}\doxysection{D\+:/gitt/\+Microchip\+For32/\+STL\+\_\+\+Device/\+STL\+\_\+\+Queue.cpp 文件参考}
\label{_s_t_l___queue_8cpp}\index{D:/gitt/MicrochipFor32/STL\_Device/STL\_Queue.cpp@{D:/gitt/MicrochipFor32/STL\_Device/STL\_Queue.cpp}}
实现了\+STL库中的\+Queue
{\ttfamily \#include \char`\"{}STL\+\_\+\+Queue.\+h\char`\"{}}\newline
STL\+\_\+\+Queue.\+cpp 的引用(Include)关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=223pt]{_s_t_l___queue_8cpp__incl}
\end{center}
\end{figure}
\doxysubsection{详细描述}
实现了\+STL库中的\+Queue
在文件 \mbox{\hyperlink{_s_t_l___queue_8cpp_source}{STL\+\_\+\+Queue.\+cpp}} 中定义.

View File

@@ -0,0 +1 @@
90af04557dc9c56e2f6a6cc134d1cec3

Binary file not shown.

View File

@@ -0,0 +1,139 @@
\hypertarget{_s_t_l___queue_8cpp_source}{}\doxysection{STL\+\_\+\+Queue.\+cpp}
\label{_s_t_l___queue_8cpp_source}\index{D:/gitt/MicrochipFor32/STL\_Device/STL\_Queue.cpp@{D:/gitt/MicrochipFor32/STL\_Device/STL\_Queue.cpp}}
\mbox{\hyperlink{_s_t_l___queue_8cpp}{浏览该文件的文档.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00001}00001 \textcolor{comment}{/*-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00002}00002 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00003}00003 \textcolor{comment}{ \# Copyright (c) 2022 Yuankang Liang(XerolySkinner)}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00004}00004 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00005}00005 \textcolor{comment}{ \# 本软件按原样提供,无任何明示或暗示}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00006}00006 \textcolor{comment}{ \# 在任何情况下,作者都不承担任何损害赔偿责任}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00007}00007 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00008}00008 \textcolor{comment}{ \# 使用的许可声明:}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00009}00009 \textcolor{comment}{ \# 1. 不得歪曲本软件的来源,你不能声称你编写了原始软件.}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00010}00010 \textcolor{comment}{ \# 2. 免费授予以任何目的,前提是版权声明出现在所有副本中.}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00011}00011 \textcolor{comment}{ \# 并且版权声明和许可声明同时出现.}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00012}00012 \textcolor{comment}{ \# 3. 你有使用,复制,修改,分发,和销售本软件的许可.}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00013}00013 \textcolor{comment}{ \# 4. 如果你在产品中使用,产品文档中的声明是赞赏的但不是必须的.}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00014}00014 \textcolor{comment}{ \# 5. 本通知不得从任何来源删除或更改.}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00015}00015 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00016}00016 \textcolor{comment}{ \# Yuankang Liang(XerolySkinner)}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00017}00017 \textcolor{comment}{ \# E-\/mail:zabbcccbbaz@163.com}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00018}00018 \textcolor{comment}{ \# QQ:2715099320}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00019}00019 \textcolor{comment}{ \# Mobile Phone:13005636215}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00020}00020 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00021}00021 \textcolor{comment}{ \# All rights reserved.}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00022}00022 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00023}00023 }
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00035}00035 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00036}00036 \textcolor{comment}{// 头文件}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00037}00037 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{_s_t_l___queue_8h}{STL\_Queue.h}}"{}}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00039}00039 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00040}00040 \textcolor{comment}{// 构造函数}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00041}\mbox{\hyperlink{class_s_t_l__r_queue_aa590a265ee2309e6150adcdf377f32b6}{00041}} \mbox{\hyperlink{class_s_t_l__r_queue_aa590a265ee2309e6150adcdf377f32b6}{STL\_rQueue::STL\_rQueue}}(\textcolor{keywordtype}{void}) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00042}00042 \mbox{\hyperlink{class_s_t_l__r_queue_a42636190858b2aa8bdf93b80f2e3ed33}{room}} = 0;}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00043}00043 \mbox{\hyperlink{class_s_t_l__r_queue_ae5ab3dd9890cb990edaf511174da12a1}{size}} = 0;}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00044}00044 \mbox{\hyperlink{class_s_t_l__r_queue_a32e298e5a9194d97492496f5f311068b}{dat}} = NULL;\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00045}00045 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00046}\mbox{\hyperlink{class_s_t_l__r_queue_a96e6153133db180421c9321fb6ee83a8}{00046}} \mbox{\hyperlink{class_s_t_l__r_queue_a96e6153133db180421c9321fb6ee83a8}{STL\_rQueue::\string~STL\_rQueue}}(\textcolor{keywordtype}{void}) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00047}00047 free(\mbox{\hyperlink{class_s_t_l__r_queue_a32e298e5a9194d97492496f5f311068b}{dat}});\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00049}00049 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00050}00050 \textcolor{comment}{// 成员函数}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00056}\mbox{\hyperlink{class_s_t_l__r_queue_a20a4e57dc9a4350f49cfada5cf083881}{00056}} \textcolor{comment}{}\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_queue_a20a4e57dc9a4350f49cfada5cf083881}{STL\_rQueue::push}}(\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} var) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00057}00057 \textcolor{comment}{// 保存分配前的数据头}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00058}00058 \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}* temp\_stacks = \mbox{\hyperlink{class_s_t_l__r_queue_a32e298e5a9194d97492496f5f311068b}{dat}};}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00059}00059 \textcolor{comment}{// 若所需空间小于现有空间}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00060}00060 \textcolor{keywordflow}{if} (\mbox{\hyperlink{class_s_t_l__r_queue_ae5ab3dd9890cb990edaf511174da12a1}{size}} >= \mbox{\hyperlink{class_s_t_l__r_queue_a42636190858b2aa8bdf93b80f2e3ed33}{room}}) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00061}00061 \textcolor{comment}{// 分配新长度}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00062}00062 \mbox{\hyperlink{class_s_t_l__r_queue_a32e298e5a9194d97492496f5f311068b}{dat}} = \textcolor{keyword}{static\_cast<}\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}*\textcolor{keyword}{>}(realloc(\mbox{\hyperlink{class_s_t_l__r_queue_a32e298e5a9194d97492496f5f311068b}{dat}}, ++\mbox{\hyperlink{class_s_t_l__r_queue_ae5ab3dd9890cb990edaf511174da12a1}{size}}));}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00063}00063 \textcolor{comment}{// 分配失败,善后并且返回错误}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00064}00064 \textcolor{keywordflow}{if} (\mbox{\hyperlink{class_s_t_l__r_queue_a32e298e5a9194d97492496f5f311068b}{dat}} == NULL) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00065}00065 -\/-\/\mbox{\hyperlink{class_s_t_l__r_queue_ae5ab3dd9890cb990edaf511174da12a1}{size}}; \textcolor{comment}{// 恢复原长度}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00066}00066 \mbox{\hyperlink{class_s_t_l__r_queue_a32e298e5a9194d97492496f5f311068b}{dat}} = temp\_stacks; \textcolor{comment}{// 恢复数据}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00067}00067 \textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5a3df7082063e14f0ae068a2feb3e4a03d}{QUEUES\_REAL\_ERROR}};\} \textcolor{comment}{// 返回错误}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00068}00068 \mbox{\hyperlink{class_s_t_l__r_queue_a42636190858b2aa8bdf93b80f2e3ed33}{room}} = \mbox{\hyperlink{class_s_t_l__r_queue_ae5ab3dd9890cb990edaf511174da12a1}{size}};}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00069}00069 \textcolor{comment}{// 分配成功,压入数据}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00070}00070 \mbox{\hyperlink{class_s_t_l__r_queue_a32e298e5a9194d97492496f5f311068b}{dat}}[\mbox{\hyperlink{class_s_t_l__r_queue_ae5ab3dd9890cb990edaf511174da12a1}{size}} -\/ 1] = var;}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00071}00071 \textcolor{comment}{// 返回正确指数}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00072}00072 \textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5a277fc31bdbe46a70ffc98da7a7468162}{QUEUES\_OK}};\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00073}00073 \textcolor{comment}{// 空间剩余,压入数据}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00074}00074 \mbox{\hyperlink{class_s_t_l__r_queue_a32e298e5a9194d97492496f5f311068b}{dat}}[(++\mbox{\hyperlink{class_s_t_l__r_queue_ae5ab3dd9890cb990edaf511174da12a1}{size}}) -\/ 1] = var;}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00075}00075 \textcolor{comment}{// 返回正确指数}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00076}00076 \textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5a277fc31bdbe46a70ffc98da7a7468162}{QUEUES\_OK}};\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00077}00077 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00082}\mbox{\hyperlink{class_s_t_l__r_queue_a6fcfa9e50f6719e2f3632a6ad333542f}{00082}} \textcolor{comment}{}\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_queue_a6fcfa9e50f6719e2f3632a6ad333542f}{STL\_rQueue::pop}}(\textcolor{keywordtype}{void}) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00083}00083 \textcolor{comment}{// 若数据队列中大于1,缩短成员空间}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00084}00084 \textcolor{keywordflow}{if} (\mbox{\hyperlink{class_s_t_l__r_queue_ae5ab3dd9890cb990edaf511174da12a1}{size}} > 1) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00085}00085 \textcolor{comment}{// 整体移动掉一位}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00086}00086 \textcolor{keywordflow}{for} (\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} i = 0; i < \mbox{\hyperlink{class_s_t_l__r_queue_ae5ab3dd9890cb990edaf511174da12a1}{size}} -\/ 1; i++)}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00087}00087 *(\mbox{\hyperlink{class_s_t_l__r_queue_a32e298e5a9194d97492496f5f311068b}{dat}} + i) = *(\mbox{\hyperlink{class_s_t_l__r_queue_a32e298e5a9194d97492496f5f311068b}{dat}} + i + 1);}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00088}00088 -\/-\/\mbox{\hyperlink{class_s_t_l__r_queue_ae5ab3dd9890cb990edaf511174da12a1}{size}}; \textcolor{comment}{// 重新分配成员空间}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00089}00089 \textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5a277fc31bdbe46a70ffc98da7a7468162}{QUEUES\_OK}};\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00090}00090 \textcolor{comment}{// 若数据队列中等于1,重指定头}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00091}00091 \textcolor{keywordflow}{else} \textcolor{keywordflow}{if} (\mbox{\hyperlink{class_s_t_l__r_queue_ae5ab3dd9890cb990edaf511174da12a1}{size}} == 1) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00092}00092 \mbox{\hyperlink{class_s_t_l__r_queue_ae5ab3dd9890cb990edaf511174da12a1}{size}} = 0; \textcolor{comment}{// 重新分配成员空间}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00093}00093 \textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5a277fc31bdbe46a70ffc98da7a7468162}{QUEUES\_OK}};\} \textcolor{comment}{// 若数据队列为空,返回空队列错误号}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00094}00094 \textcolor{keywordflow}{else}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00095}00095 \textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5ad39f1a970bf2ee35cee3b69168e7d4d1}{QUEUES\_EMPTY}};\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00096}00096 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00102}\mbox{\hyperlink{class_s_t_l__r_queue_a3507658579a1abb5e50b34b6bb536ece}{00102}} \textcolor{comment}{}\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_queue_a3507658579a1abb5e50b34b6bb536ece}{STL\_rQueue::top}}(\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}\& var) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00103}00103 \textcolor{keywordflow}{if} (\mbox{\hyperlink{class_s_t_l__r_queue_ae5ab3dd9890cb990edaf511174da12a1}{size}}) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00104}00104 var = \mbox{\hyperlink{class_s_t_l__r_queue_a32e298e5a9194d97492496f5f311068b}{dat}}[0];}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00105}00105 \textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5a277fc31bdbe46a70ffc98da7a7468162}{QUEUES\_OK}};\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00106}00106 \textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5ad39f1a970bf2ee35cee3b69168e7d4d1}{QUEUES\_EMPTY}};\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00107}00107 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00112}\mbox{\hyperlink{class_s_t_l__r_queue_a9892dad9a7802f12a8bad524aefbe162}{00112}} \textcolor{comment}{}\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{class_s_t_l__r_queue_a9892dad9a7802f12a8bad524aefbe162}{STL\_rQueue::The\_size}}(\textcolor{keywordtype}{void}) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00113}00113 \textcolor{keywordflow}{return} \mbox{\hyperlink{class_s_t_l__r_queue_ae5ab3dd9890cb990edaf511174da12a1}{size}};\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00114}00114 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00119}\mbox{\hyperlink{class_s_t_l__r_queue_a3f1905efcb68f543a152abc8fa1214e3}{00119}} \textcolor{comment}{}\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{class_s_t_l__r_queue_a3f1905efcb68f543a152abc8fa1214e3}{STL\_rQueue::The\_room}}(\textcolor{keywordtype}{void}) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00120}00120 \textcolor{keywordflow}{return} \mbox{\hyperlink{class_s_t_l__r_queue_a42636190858b2aa8bdf93b80f2e3ed33}{room}};\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00121}00121 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00126}\mbox{\hyperlink{class_s_t_l__r_queue_a554dd220ac324bec51a6cde43116efc3}{00126}} \textcolor{comment}{}\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_queue_a554dd220ac324bec51a6cde43116efc3}{STL\_rQueue::clean}}(\textcolor{keywordtype}{void}) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00127}00127 \textcolor{comment}{// 保存分配前的数据头}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00128}00128 \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}* temp\_stacks = \mbox{\hyperlink{class_s_t_l__r_queue_a32e298e5a9194d97492496f5f311068b}{dat}};}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00129}00129 \textcolor{comment}{// 如果有成员,重新分配空间}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00130}00130 \textcolor{keywordflow}{if} (\mbox{\hyperlink{class_s_t_l__r_queue_ae5ab3dd9890cb990edaf511174da12a1}{size}}) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00131}00131 \textcolor{comment}{// 重新分配空间}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00132}00132 \mbox{\hyperlink{class_s_t_l__r_queue_a32e298e5a9194d97492496f5f311068b}{dat}} = \textcolor{keyword}{static\_cast<}\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}*\textcolor{keyword}{>}(realloc(\mbox{\hyperlink{class_s_t_l__r_queue_a32e298e5a9194d97492496f5f311068b}{dat}}, \mbox{\hyperlink{class_s_t_l__r_queue_ae5ab3dd9890cb990edaf511174da12a1}{size}}));}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00133}00133 \textcolor{comment}{// 分配失败,善后并返回错误}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00134}00134 \textcolor{keywordflow}{if} (\mbox{\hyperlink{class_s_t_l__r_queue_a32e298e5a9194d97492496f5f311068b}{dat}} == NULL) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00135}00135 -\/-\/\mbox{\hyperlink{class_s_t_l__r_queue_ae5ab3dd9890cb990edaf511174da12a1}{size}}; \textcolor{comment}{// 恢复原长度}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00136}00136 \mbox{\hyperlink{class_s_t_l__r_queue_a32e298e5a9194d97492496f5f311068b}{dat}} = temp\_stacks; \textcolor{comment}{// 恢复数据}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00137}00137 \textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5a3df7082063e14f0ae068a2feb3e4a03d}{QUEUES\_REAL\_ERROR}};\} \textcolor{comment}{// 返回错误}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00138}00138 \}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00139}00139 \textcolor{comment}{// 无成员队列重新分配成员}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00140}00140 \textcolor{keywordflow}{else} \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00141}00141 free(\mbox{\hyperlink{class_s_t_l__r_queue_a32e298e5a9194d97492496f5f311068b}{dat}}); \textcolor{comment}{// 释放全部空间}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00142}00142 \mbox{\hyperlink{class_s_t_l__r_queue_a32e298e5a9194d97492496f5f311068b}{dat}} = NULL;}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00143}00143 \mbox{\hyperlink{class_s_t_l__r_queue_ae5ab3dd9890cb990edaf511174da12a1}{size}} = 0;\} \textcolor{comment}{// 重指定首部}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00144}00144 \textcolor{comment}{// 无数据返回空队列}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00145}00145 \mbox{\hyperlink{class_s_t_l__r_queue_a42636190858b2aa8bdf93b80f2e3ed33}{room}} = \mbox{\hyperlink{class_s_t_l__r_queue_ae5ab3dd9890cb990edaf511174da12a1}{size}}; \textcolor{comment}{// 新的空间大小}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00146}00146 \textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5a277fc31bdbe46a70ffc98da7a7468162}{QUEUES\_OK}};\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00147}00147 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00153}\mbox{\hyperlink{class_s_t_l__r_queue_ac57bfdea03866852334cbf52e262e286}{00153}} \textcolor{comment}{}\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_queue_ac57bfdea03866852334cbf52e262e286}{STL\_rQueue::push32}}(\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} var) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00154}00154 \mbox{\hyperlink{class_s_t_l__r_queue_a20a4e57dc9a4350f49cfada5cf083881}{push}}(((\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}*)(\&var))[3]);}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00155}00155 \mbox{\hyperlink{class_s_t_l__r_queue_a20a4e57dc9a4350f49cfada5cf083881}{push}}(((\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}*)(\&var))[2]);}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00156}00156 \mbox{\hyperlink{class_s_t_l__r_queue_a20a4e57dc9a4350f49cfada5cf083881}{push}}(((\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}*)(\&var))[1]);}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00157}00157 \mbox{\hyperlink{class_s_t_l__r_queue_a20a4e57dc9a4350f49cfada5cf083881}{push}}(((\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}*)(\&var))[0]);}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00158}00158 \textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5a277fc31bdbe46a70ffc98da7a7468162}{QUEUES\_OK}};\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00159}00159 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00165}\mbox{\hyperlink{class_s_t_l__r_queue_a3431ef2eff0319a93be5dac50bd19b99}{00165}} \textcolor{comment}{}\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_queue_a3431ef2eff0319a93be5dac50bd19b99}{STL\_rQueue::poptop}}(\textcolor{keywordtype}{void}) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00166}00166 \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} var = 0;}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00167}00167 \mbox{\hyperlink{class_s_t_l__r_queue_a3507658579a1abb5e50b34b6bb536ece}{top}}(var); \mbox{\hyperlink{class_s_t_l__r_queue_a6fcfa9e50f6719e2f3632a6ad333542f}{pop}}();}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00168}00168 \textcolor{keywordflow}{return} var;\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00169}00169 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00175}\mbox{\hyperlink{class_s_t_l__r_queue_a9362012b2eda4207d130e03f420c11a8}{00175}} \textcolor{comment}{}\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{class_s_t_l__r_queue_a9362012b2eda4207d130e03f420c11a8}{STL\_rQueue::poptop32}}(\textcolor{keywordtype}{void}) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00176}00176 \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_queue_a32e298e5a9194d97492496f5f311068b}{dat}}[4] = \{ 0,0,0,0 \};}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00177}00177 \mbox{\hyperlink{class_s_t_l__r_queue_a3507658579a1abb5e50b34b6bb536ece}{top}}(\mbox{\hyperlink{class_s_t_l__r_queue_a32e298e5a9194d97492496f5f311068b}{dat}}[3]); \mbox{\hyperlink{class_s_t_l__r_queue_a6fcfa9e50f6719e2f3632a6ad333542f}{pop}}();}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00178}00178 \mbox{\hyperlink{class_s_t_l__r_queue_a3507658579a1abb5e50b34b6bb536ece}{top}}(\mbox{\hyperlink{class_s_t_l__r_queue_a32e298e5a9194d97492496f5f311068b}{dat}}[2]); \mbox{\hyperlink{class_s_t_l__r_queue_a6fcfa9e50f6719e2f3632a6ad333542f}{pop}}();}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00179}00179 \mbox{\hyperlink{class_s_t_l__r_queue_a3507658579a1abb5e50b34b6bb536ece}{top}}(\mbox{\hyperlink{class_s_t_l__r_queue_a32e298e5a9194d97492496f5f311068b}{dat}}[1]); \mbox{\hyperlink{class_s_t_l__r_queue_a6fcfa9e50f6719e2f3632a6ad333542f}{pop}}();}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00180}00180 \mbox{\hyperlink{class_s_t_l__r_queue_a3507658579a1abb5e50b34b6bb536ece}{top}}(\mbox{\hyperlink{class_s_t_l__r_queue_a32e298e5a9194d97492496f5f311068b}{dat}}[0]); \mbox{\hyperlink{class_s_t_l__r_queue_a6fcfa9e50f6719e2f3632a6ad333542f}{pop}}();}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00181}00181 \textcolor{keywordflow}{return} *((\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}}*)(\mbox{\hyperlink{class_s_t_l__r_queue_a32e298e5a9194d97492496f5f311068b}{dat}}));\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00182}00182 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00187}00187 \textcolor{comment}{}void(*\mbox{\hyperlink{class_s_t_l__r_queue_a8deafb8a60277665e85b99deeff96d8c}{STL\_rQueue::poptopfun}}(\textcolor{keywordtype}{void}))(void) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00188}00188 \textcolor{keywordflow}{return} (\textcolor{keywordtype}{void}(*)(void))poptop32();\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00189}00189 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00194}\mbox{\hyperlink{class_s_t_l__r_queue_a6279ce46687da109354f7f84b979343f}{00194}} \textcolor{comment}{}\textcolor{keywordtype}{void} \mbox{\hyperlink{class_s_t_l__r_queue_a6279ce46687da109354f7f84b979343f}{STL\_rQueue::pushfun}}(\textcolor{keywordtype}{void}(*fun)(\textcolor{keywordtype}{void})) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8cpp_source_l00195}00195 \mbox{\hyperlink{class_s_t_l__r_queue_ac57bfdea03866852334cbf52e262e286}{push32}}((\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}})fun);\}}
\end{DoxyCode}

View File

@@ -0,0 +1,81 @@
\hypertarget{_s_t_l___queue_8h}{}\doxysection{D\+:/gitt/\+Microchip\+For32/\+STL\+\_\+\+Device/\+STL\+\_\+\+Queue.h 文件参考}
\label{_s_t_l___queue_8h}\index{D:/gitt/MicrochipFor32/STL\_Device/STL\_Queue.h@{D:/gitt/MicrochipFor32/STL\_Device/STL\_Queue.h}}
实现了\+STL库中的\+Queue
{\ttfamily \#include \char`\"{}varint.\+h\char`\"{}}\newline
{\ttfamily \#include $<$stdlib.\+h$>$}\newline
STL\+\_\+\+Queue.\+h 的引用(Include)关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=213pt]{_s_t_l___queue_8h__incl}
\end{center}
\end{figure}
此图展示该文件直接或间接的被哪些文件引用了\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=223pt]{_s_t_l___queue_8h__dep__incl}
\end{center}
\end{figure}
\doxysubsection*{}
\begin{DoxyCompactItemize}
\item
class \mbox{\hyperlink{class_s_t_l__r_queue}{STL\+\_\+r\+Queue}}
\begin{DoxyCompactList}\small\item\em 一个队列的类 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{枚举}
\begin{DoxyCompactItemize}
\item
enum \mbox{\hyperlink{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5}{QUEUES\+\_\+\+RES}} \{ \mbox{\hyperlink{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5a277fc31bdbe46a70ffc98da7a7468162}{QUEUES\+\_\+\+OK}}
, \mbox{\hyperlink{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5ad39f1a970bf2ee35cee3b69168e7d4d1}{QUEUES\+\_\+\+EMPTY}}
, \mbox{\hyperlink{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5a3df7082063e14f0ae068a2feb3e4a03d}{QUEUES\+\_\+\+REAL\+\_\+\+ERROR}}
, \mbox{\hyperlink{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5a0ecfdce5da7daaea657afe0c2060d8e6}{QUEUES\+\_\+\+MALL\+\_\+\+ERROR}}
\}
\begin{DoxyCompactList}\small\item\em 队列的返回值 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection{详细描述}
实现了\+STL库中的\+Queue
在文件 \mbox{\hyperlink{_s_t_l___queue_8h_source}{STL\+\_\+\+Queue.\+h}} 中定义.
\doxysubsection{枚举类型说明}
\mbox{\Hypertarget{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5}\label{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5}}
\index{STL\_Queue.h@{STL\_Queue.h}!QUEUES\_RES@{QUEUES\_RES}}
\index{QUEUES\_RES@{QUEUES\_RES}!STL\_Queue.h@{STL\_Queue.h}}
\doxysubsubsection{\texorpdfstring{QUEUES\_RES}{QUEUES\_RES}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5}{QUEUES\+\_\+\+RES}}}
队列的返回值
\begin{DoxyEnumFields}{枚举值}
\raisebox{\heightof{T}}[0pt][0pt]{\index{QUEUES\_OK@{QUEUES\_OK}!STL\_Queue.h@{STL\_Queue.h}}\index{STL\_Queue.h@{STL\_Queue.h}!QUEUES\_OK@{QUEUES\_OK}}}\mbox{\Hypertarget{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5a277fc31bdbe46a70ffc98da7a7468162}\label{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5a277fc31bdbe46a70ffc98da7a7468162}}
QUEUES\+\_\+\+OK&成功 \\
\hline
\raisebox{\heightof{T}}[0pt][0pt]{\index{QUEUES\_EMPTY@{QUEUES\_EMPTY}!STL\_Queue.h@{STL\_Queue.h}}\index{STL\_Queue.h@{STL\_Queue.h}!QUEUES\_EMPTY@{QUEUES\_EMPTY}}}\mbox{\Hypertarget{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5ad39f1a970bf2ee35cee3b69168e7d4d1}\label{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5ad39f1a970bf2ee35cee3b69168e7d4d1}}
QUEUES\+\_\+\+EMPTY&队列是空的 \\
\hline
\raisebox{\heightof{T}}[0pt][0pt]{\index{QUEUES\_REAL\_ERROR@{QUEUES\_REAL\_ERROR}!STL\_Queue.h@{STL\_Queue.h}}\index{STL\_Queue.h@{STL\_Queue.h}!QUEUES\_REAL\_ERROR@{QUEUES\_REAL\_ERROR}}}\mbox{\Hypertarget{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5a3df7082063e14f0ae068a2feb3e4a03d}\label{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5a3df7082063e14f0ae068a2feb3e4a03d}}
QUEUES\+\_\+\+REAL\+\_\+\+ERROR&重分配出错realloc \\
\hline
\raisebox{\heightof{T}}[0pt][0pt]{\index{QUEUES\_MALL\_ERROR@{QUEUES\_MALL\_ERROR}!STL\_Queue.h@{STL\_Queue.h}}\index{STL\_Queue.h@{STL\_Queue.h}!QUEUES\_MALL\_ERROR@{QUEUES\_MALL\_ERROR}}}\mbox{\Hypertarget{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5a0ecfdce5da7daaea657afe0c2060d8e6}\label{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5a0ecfdce5da7daaea657afe0c2060d8e6}}
QUEUES\+\_\+\+MALL\+\_\+\+ERROR&重分配出错malloc \\
\hline
\end{DoxyEnumFields}
在文件 \mbox{\hyperlink{_s_t_l___queue_8h_source}{STL\+\_\+\+Queue.\+h}}\mbox{\hyperlink{_s_t_l___queue_8h_source_l00045}{45}} 行定义.

View File

@@ -0,0 +1 @@
004fc3c29962039742819b312154ab62

Binary file not shown.

View File

@@ -0,0 +1 @@
6334a3d6ac3689685a982fa2c33b6afc

Binary file not shown.

View File

@@ -0,0 +1,69 @@
\hypertarget{_s_t_l___queue_8h_source}{}\doxysection{STL\+\_\+\+Queue.\+h}
\label{_s_t_l___queue_8h_source}\index{D:/gitt/MicrochipFor32/STL\_Device/STL\_Queue.h@{D:/gitt/MicrochipFor32/STL\_Device/STL\_Queue.h}}
\mbox{\hyperlink{_s_t_l___queue_8h}{浏览该文件的文档.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00001}00001 \textcolor{comment}{/*-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00002}00002 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00003}00003 \textcolor{comment}{ \# Copyright (c) 2022 Yuankang Liang(XerolySkinner)}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00004}00004 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00005}00005 \textcolor{comment}{ \# 本软件按原样提供,无任何明示或暗示}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00006}00006 \textcolor{comment}{ \# 在任何情况下,作者都不承担任何损害赔偿责任}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00007}00007 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00008}00008 \textcolor{comment}{ \# 使用的许可声明:}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00009}00009 \textcolor{comment}{ \# 1. 不得歪曲本软件的来源,你不能声称你编写了原始软件.}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00010}00010 \textcolor{comment}{ \# 2. 免费授予以任何目的,前提是版权声明出现在所有副本中.}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00011}00011 \textcolor{comment}{ \# 并且版权声明和许可声明同时出现.}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00012}00012 \textcolor{comment}{ \# 3. 你有使用,复制,修改,分发,和销售本软件的许可.}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00013}00013 \textcolor{comment}{ \# 4. 如果你在产品中使用,产品文档中的声明是赞赏的但不是必须的.}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00014}00014 \textcolor{comment}{ \# 5. 本通知不得从任何来源删除或更改.}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00015}00015 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00016}00016 \textcolor{comment}{ \# Yuankang Liang(XerolySkinner)}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00017}00017 \textcolor{comment}{ \# E-\/mail:zabbcccbbaz@163.com}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00018}00018 \textcolor{comment}{ \# QQ:2715099320}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00019}00019 \textcolor{comment}{ \# Mobile Phone:13005636215}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00020}00020 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00021}00021 \textcolor{comment}{ \# All rights reserved.}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00022}00022 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00023}00023 }
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00034}00034 \textcolor{preprocessor}{\#ifdef \_\_cplusplus}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00035}00035 \textcolor{preprocessor}{\#pragma once}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00036}00036 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{varint_8h}{varint.h}}"{}}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00037}00037 \textcolor{preprocessor}{\#include <stdlib.h>}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00039}00039 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00040}00040 \textcolor{comment}{// 返回值枚举}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00041}00041 \textcolor{comment}{// }}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00045}\mbox{\hyperlink{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5}{00045}} \textcolor{comment}{}\textcolor{keyword}{enum} \mbox{\hyperlink{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5}{QUEUES\_RES}} \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00046}\mbox{\hyperlink{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5a277fc31bdbe46a70ffc98da7a7468162}{00046}} \mbox{\hyperlink{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5a277fc31bdbe46a70ffc98da7a7468162}{QUEUES\_OK}}, }
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00047}\mbox{\hyperlink{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5ad39f1a970bf2ee35cee3b69168e7d4d1}{00047}} \mbox{\hyperlink{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5ad39f1a970bf2ee35cee3b69168e7d4d1}{QUEUES\_EMPTY}}, }
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00048}\mbox{\hyperlink{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5a3df7082063e14f0ae068a2feb3e4a03d}{00048}} \mbox{\hyperlink{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5a3df7082063e14f0ae068a2feb3e4a03d}{QUEUES\_REAL\_ERROR}}, }
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00049}00049 \mbox{\hyperlink{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5a0ecfdce5da7daaea657afe0c2060d8e6}{QUEUES\_MALL\_ERROR}} }
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00050}\mbox{\hyperlink{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5a0ecfdce5da7daaea657afe0c2060d8e6}{00050}} \};}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00052}00052 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00053}00053 \textcolor{comment}{// 类目}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00057}\mbox{\hyperlink{class_s_t_l__r_queue}{00057}} \textcolor{comment}{}\textcolor{keyword}{class }\mbox{\hyperlink{class_s_t_l__r_queue}{STL\_rQueue}}\{}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00058}00058 \textcolor{keyword}{public}:}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00059}00059 \mbox{\hyperlink{class_s_t_l__r_queue_aa590a265ee2309e6150adcdf377f32b6}{STL\_rQueue}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00060}00060 \mbox{\hyperlink{class_s_t_l__r_queue_a96e6153133db180421c9321fb6ee83a8}{\string~STL\_rQueue}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00061}00061 \textcolor{keyword}{public}:}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00062}00062 \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_queue_a20a4e57dc9a4350f49cfada5cf083881}{push}}(\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} var);}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00063}00063 \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_queue_a6fcfa9e50f6719e2f3632a6ad333542f}{pop}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00064}00064 \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_queue_a3507658579a1abb5e50b34b6bb536ece}{top}}(\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}\& var);}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00065}00065 \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{class_s_t_l__r_queue_a9892dad9a7802f12a8bad524aefbe162}{The\_size}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00066}00066 \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{class_s_t_l__r_queue_a3f1905efcb68f543a152abc8fa1214e3}{The\_room}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00067}00067 \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_queue_a554dd220ac324bec51a6cde43116efc3}{clean}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00068}00068 }
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00069}00069 \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_queue_a3431ef2eff0319a93be5dac50bd19b99}{poptop}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00070}00070 }
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00071}00071 \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_queue_ac57bfdea03866852334cbf52e262e286}{push32}}(\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} var);}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00072}00072 \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{class_s_t_l__r_queue_a9362012b2eda4207d130e03f420c11a8}{poptop32}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00073}00073 }
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00074}00074 \textcolor{keywordtype}{void} \mbox{\hyperlink{class_s_t_l__r_queue_a6279ce46687da109354f7f84b979343f}{pushfun}}(\textcolor{keywordtype}{void}(*fun)(\textcolor{keywordtype}{void}));}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00075}\mbox{\hyperlink{class_s_t_l__r_queue_a8deafb8a60277665e85b99deeff96d8c}{00075}} void (*\mbox{\hyperlink{class_s_t_l__r_queue_a8deafb8a60277665e85b99deeff96d8c}{poptopfun}}(\textcolor{keywordtype}{void}))(void);}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00076}00076 \textcolor{keyword}{private}:}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00077}\mbox{\hyperlink{class_s_t_l__r_queue_a42636190858b2aa8bdf93b80f2e3ed33}{00077}} \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{class_s_t_l__r_queue_a42636190858b2aa8bdf93b80f2e3ed33}{room}}; \textcolor{comment}{// 分配空间}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00078}\mbox{\hyperlink{class_s_t_l__r_queue_ae5ab3dd9890cb990edaf511174da12a1}{00078}} \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{class_s_t_l__r_queue_ae5ab3dd9890cb990edaf511174da12a1}{size}}; \textcolor{comment}{// 已有成员}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00079}\mbox{\hyperlink{class_s_t_l__r_queue_a32e298e5a9194d97492496f5f311068b}{00079}} \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}* \mbox{\hyperlink{class_s_t_l__r_queue_a32e298e5a9194d97492496f5f311068b}{dat}}; \textcolor{comment}{// 数据头}}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00080}00080 \};}
\DoxyCodeLine{\Hypertarget{_s_t_l___queue_8h_source_l00082}00082 \textcolor{preprocessor}{\#endif}}
\end{DoxyCode}

View File

@@ -0,0 +1,11 @@
\hypertarget{_s_t_l___stack_8cpp}{}\doxysection{D\+:/gitt/\+Microchip\+For32/\+STL\+\_\+\+Device/\+STL\+\_\+\+Stack.cpp 文件参考}
\label{_s_t_l___stack_8cpp}\index{D:/gitt/MicrochipFor32/STL\_Device/STL\_Stack.cpp@{D:/gitt/MicrochipFor32/STL\_Device/STL\_Stack.cpp}}
{\ttfamily \#include \char`\"{}STL\+\_\+\+Stack.\+h\char`\"{}}\newline
STL\+\_\+\+Stack.\+cpp 的引用(Include)关系图\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=220pt]{_s_t_l___stack_8cpp__incl}
\end{center}
\end{figure}

View File

@@ -0,0 +1 @@
9cfa6e281259bf1e8c192faad602491e

Binary file not shown.

View File

@@ -0,0 +1,226 @@
\hypertarget{_s_t_l___stack_8cpp_source}{}\doxysection{STL\+\_\+\+Stack.\+cpp}
\label{_s_t_l___stack_8cpp_source}\index{D:/gitt/MicrochipFor32/STL\_Device/STL\_Stack.cpp@{D:/gitt/MicrochipFor32/STL\_Device/STL\_Stack.cpp}}
\mbox{\hyperlink{_s_t_l___stack_8cpp}{浏览该文件的文档.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00001}00001 \textcolor{comment}{/*-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00002}00002 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00003}00003 \textcolor{comment}{ \# Copyright (c) 2022 Yuankang Liang(XerolySkinner)}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00004}00004 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00005}00005 \textcolor{comment}{ \# 本软件按原样提供,无任何明示或暗示}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00006}00006 \textcolor{comment}{ \# 在任何情况下,作者都不承担任何损害赔偿责任}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00007}00007 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00008}00008 \textcolor{comment}{ \# 使用的许可声明:}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00009}00009 \textcolor{comment}{ \# 1. 不得歪曲本软件的来源,你不能声称你编写了原始软件.}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00010}00010 \textcolor{comment}{ \# 2. 免费授予以任何目的,前提是版权声明出现在所有副本中.}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00011}00011 \textcolor{comment}{ \# 并且版权声明和许可声明同时出现.}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00012}00012 \textcolor{comment}{ \# 3. 你有使用,复制,修改,分发,和销售本软件的许可.}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00013}00013 \textcolor{comment}{ \# 4. 如果你在产品中使用,产品文档中的声明是赞赏的但不是必须的.}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00014}00014 \textcolor{comment}{ \# 5. 本通知不得从任何来源删除或更改.}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00015}00015 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00016}00016 \textcolor{comment}{ \# Yuankang Liang(XerolySkinner)}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00017}00017 \textcolor{comment}{ \# E-\/mail:zabbcccbbaz@163.com}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00018}00018 \textcolor{comment}{ \# QQ:2715099320}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00019}00019 \textcolor{comment}{ \# Mobile Phone:13005636215}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00020}00020 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00021}00021 \textcolor{comment}{ \# All rights reserved.}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00022}00022 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00023}00023 }
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00035}00035 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00036}00036 \textcolor{comment}{// 头文件}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00037}00037 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{_s_t_l___stack_8h}{STL\_Stack.h}}"{}}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00039}00039 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00040}00040 \textcolor{comment}{// 构造函数}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00041}\mbox{\hyperlink{class_s_t_l__r_stack_a55a54a57fe2f6625ef6b995f2d95e026}{00041}} \mbox{\hyperlink{class_s_t_l__r_stack_a55a54a57fe2f6625ef6b995f2d95e026}{STL\_rStack::STL\_rStack}}(\textcolor{keywordtype}{void}) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00042}00042 \mbox{\hyperlink{class_s_t_l__r_stack_a857415d9ae151b6acd395760b2e9cedf}{room}} = 0;}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00043}00043 \mbox{\hyperlink{class_s_t_l__r_stack_adf95fc53b74c9955a648f3500ae1e746}{size}} = 0;}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00044}00044 \mbox{\hyperlink{class_s_t_l__r_stack_a2ff878cef1cc42db3c31812e654c8674}{dat}} = NULL;\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00045}00045 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00046}\mbox{\hyperlink{class_s_t_l__r_stack_aed992153d5efc1cd3007863c8c08797c}{00046}} \mbox{\hyperlink{class_s_t_l__r_stack_aed992153d5efc1cd3007863c8c08797c}{STL\_rStack::\string~STL\_rStack}}(\textcolor{keywordtype}{void}) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00047}00047 free(\mbox{\hyperlink{class_s_t_l__r_stack_a2ff878cef1cc42db3c31812e654c8674}{dat}});\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00049}00049 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00050}00050 \textcolor{comment}{// 成员函数}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00056}\mbox{\hyperlink{class_s_t_l__r_stack_a153de2f05c0e0164ad68fb09130bf475}{00056}} \textcolor{comment}{}\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_stack_a153de2f05c0e0164ad68fb09130bf475}{STL\_rStack::push}}(\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} var) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00057}00057 \textcolor{comment}{// 保存分配前的数据头}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00058}00058 \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}* temp\_stacks = \mbox{\hyperlink{class_s_t_l__r_stack_a2ff878cef1cc42db3c31812e654c8674}{dat}};}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00059}00059 \textcolor{comment}{// 若所需空间小于现有空间}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00060}00060 \textcolor{keywordflow}{if} (\mbox{\hyperlink{class_s_t_l__r_stack_adf95fc53b74c9955a648f3500ae1e746}{size}} >= \mbox{\hyperlink{class_s_t_l__r_stack_a857415d9ae151b6acd395760b2e9cedf}{room}}) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00061}00061 \textcolor{comment}{// 分配新长度}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00062}00062 \mbox{\hyperlink{class_s_t_l__r_stack_a2ff878cef1cc42db3c31812e654c8674}{dat}} = \textcolor{keyword}{static\_cast<}\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}*\textcolor{keyword}{>}(realloc(\mbox{\hyperlink{class_s_t_l__r_stack_a2ff878cef1cc42db3c31812e654c8674}{dat}}, ++\mbox{\hyperlink{class_s_t_l__r_stack_adf95fc53b74c9955a648f3500ae1e746}{size}}));}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00063}00063 \textcolor{comment}{// 分配失败,善后并且返回错误}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00064}00064 \textcolor{keywordflow}{if} (\mbox{\hyperlink{class_s_t_l__r_stack_a2ff878cef1cc42db3c31812e654c8674}{dat}} == NULL) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00065}00065 -\/-\/\mbox{\hyperlink{class_s_t_l__r_stack_adf95fc53b74c9955a648f3500ae1e746}{size}}; \textcolor{comment}{// 恢复原长度}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00066}00066 \mbox{\hyperlink{class_s_t_l__r_stack_a2ff878cef1cc42db3c31812e654c8674}{dat}} = temp\_stacks; \textcolor{comment}{// 恢复数据}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00067}00067 \textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a9f2b3bdf4ae6c347dbf6bb0797672de7}{STACKS\_REAL\_ERROR}};}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00068}00068 \} \textcolor{comment}{// 返回错误}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00069}00069 \mbox{\hyperlink{class_s_t_l__r_stack_a857415d9ae151b6acd395760b2e9cedf}{room}} = \mbox{\hyperlink{class_s_t_l__r_stack_adf95fc53b74c9955a648f3500ae1e746}{size}};}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00070}00070 \textcolor{comment}{// 分配成功,压入数据}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00071}00071 \mbox{\hyperlink{class_s_t_l__r_stack_a2ff878cef1cc42db3c31812e654c8674}{dat}}[\mbox{\hyperlink{class_s_t_l__r_stack_adf95fc53b74c9955a648f3500ae1e746}{size}} -\/ 1] = var;}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00072}00072 \textcolor{comment}{// 返回正确指数}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00073}00073 \textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a3e9b3bff72ae3f8f3c62c4f4bc24ca16}{STACKS\_OK}};\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00074}00074 \textcolor{comment}{// 空间剩余,压入数据}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00075}00075 \mbox{\hyperlink{class_s_t_l__r_stack_a2ff878cef1cc42db3c31812e654c8674}{dat}}[(++\mbox{\hyperlink{class_s_t_l__r_stack_adf95fc53b74c9955a648f3500ae1e746}{size}}) -\/ 1] = var;}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00076}00076 \textcolor{comment}{// 返回正确指数}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00077}00077 \textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a3e9b3bff72ae3f8f3c62c4f4bc24ca16}{STACKS\_OK}};\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00078}00078 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00083}\mbox{\hyperlink{class_s_t_l__r_stack_a5c7016a370c7665d554dda4b8f7dee22}{00083}} \textcolor{comment}{}\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_stack_a5c7016a370c7665d554dda4b8f7dee22}{STL\_rStack::pop}}(\textcolor{keywordtype}{void}) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00084}00084 \textcolor{comment}{// 若数据栈中大于1,缩短成员空间}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00085}00085 \textcolor{keywordflow}{if} (\mbox{\hyperlink{class_s_t_l__r_stack_adf95fc53b74c9955a648f3500ae1e746}{size}} > 1) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00086}00086 -\/-\/\mbox{\hyperlink{class_s_t_l__r_stack_adf95fc53b74c9955a648f3500ae1e746}{size}}; \textcolor{comment}{// 重新分配成员空间}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00087}00087 \textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a3e9b3bff72ae3f8f3c62c4f4bc24ca16}{STACKS\_OK}};\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00088}00088 \textcolor{comment}{// 若数据栈中等于1,重指定头}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00089}00089 \textcolor{keywordflow}{else} \textcolor{keywordflow}{if} (\mbox{\hyperlink{class_s_t_l__r_stack_adf95fc53b74c9955a648f3500ae1e746}{size}} == 1) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00090}00090 \mbox{\hyperlink{class_s_t_l__r_stack_adf95fc53b74c9955a648f3500ae1e746}{size}} = 0; \textcolor{comment}{// 重新分配成员空间}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00091}00091 \textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a3e9b3bff72ae3f8f3c62c4f4bc24ca16}{STACKS\_OK}};\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00092}00092 \textcolor{comment}{// 若数据栈为空,返回空栈错误号}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00093}00093 \textcolor{keywordflow}{else}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00094}00094 \textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0aeb269e15565d4aaef1a9b5023a160eba}{STACKS\_EMPTY}};\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00095}00095 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00101}\mbox{\hyperlink{class_s_t_l__r_stack_a49d2ca43dafd695e4e0d92018736f732}{00101}} \textcolor{comment}{}\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_stack_a49d2ca43dafd695e4e0d92018736f732}{STL\_rStack::top}}(\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \&var) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00102}00102 \textcolor{keywordflow}{if} (\mbox{\hyperlink{class_s_t_l__r_stack_adf95fc53b74c9955a648f3500ae1e746}{size}}) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00103}00103 var = \mbox{\hyperlink{class_s_t_l__r_stack_a2ff878cef1cc42db3c31812e654c8674}{dat}}[\mbox{\hyperlink{class_s_t_l__r_stack_adf95fc53b74c9955a648f3500ae1e746}{size}}-\/1];}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00104}00104 \textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a3e9b3bff72ae3f8f3c62c4f4bc24ca16}{STACKS\_OK}};\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00105}00105 \textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0aeb269e15565d4aaef1a9b5023a160eba}{STACKS\_EMPTY}};\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00106}00106 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00111}\mbox{\hyperlink{class_s_t_l__r_stack_ac63cd564c04e4481925ead650dfb2edf}{00111}} \textcolor{comment}{}\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{class_s_t_l__r_stack_ac63cd564c04e4481925ead650dfb2edf}{STL\_rStack::The\_size}}(\textcolor{keywordtype}{void}) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00112}00112 \textcolor{keywordflow}{return} \mbox{\hyperlink{class_s_t_l__r_stack_adf95fc53b74c9955a648f3500ae1e746}{size}};\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00113}00113 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00118}\mbox{\hyperlink{class_s_t_l__r_stack_a22c1e309f6476f31f1e5c313b01afd13}{00118}} \textcolor{comment}{}\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{class_s_t_l__r_stack_a22c1e309f6476f31f1e5c313b01afd13}{STL\_rStack::The\_room}}(\textcolor{keywordtype}{void}) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00119}00119 \textcolor{keywordflow}{return} \mbox{\hyperlink{class_s_t_l__r_stack_a857415d9ae151b6acd395760b2e9cedf}{room}};\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00120}00120 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00125}\mbox{\hyperlink{class_s_t_l__r_stack_a843cc47e7a2c281dd82392c8ed257dc1}{00125}} \textcolor{comment}{}\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_stack_a843cc47e7a2c281dd82392c8ed257dc1}{STL\_rStack::clean}}(\textcolor{keywordtype}{void}) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00126}00126 \textcolor{comment}{// 保存分配前的数据头}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00127}00127 \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}* temp\_stacks = \mbox{\hyperlink{class_s_t_l__r_stack_a2ff878cef1cc42db3c31812e654c8674}{dat}};}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00128}00128 \textcolor{comment}{// 如果有成员,重新分配空间}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00129}00129 \textcolor{keywordflow}{if} (\mbox{\hyperlink{class_s_t_l__r_stack_adf95fc53b74c9955a648f3500ae1e746}{size}}) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00130}00130 \textcolor{comment}{// 重新分配空间}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00131}00131 \mbox{\hyperlink{class_s_t_l__r_stack_a2ff878cef1cc42db3c31812e654c8674}{dat}} = \textcolor{keyword}{static\_cast<}\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}*\textcolor{keyword}{>}(realloc(\mbox{\hyperlink{class_s_t_l__r_stack_a2ff878cef1cc42db3c31812e654c8674}{dat}},\mbox{\hyperlink{class_s_t_l__r_stack_adf95fc53b74c9955a648f3500ae1e746}{size}}));}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00132}00132 \textcolor{comment}{// 分配失败,善后并返回错误}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00133}00133 \textcolor{keywordflow}{if} (\mbox{\hyperlink{class_s_t_l__r_stack_a2ff878cef1cc42db3c31812e654c8674}{dat}} == NULL) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00134}00134 -\/-\/\mbox{\hyperlink{class_s_t_l__r_stack_adf95fc53b74c9955a648f3500ae1e746}{size}}; \textcolor{comment}{// 恢复原长度}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00135}00135 \mbox{\hyperlink{class_s_t_l__r_stack_a2ff878cef1cc42db3c31812e654c8674}{dat}} = temp\_stacks; \textcolor{comment}{// 恢复数据}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00136}00136 \textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a9f2b3bdf4ae6c347dbf6bb0797672de7}{STACKS\_REAL\_ERROR}};\} \textcolor{comment}{// 返回错误}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00137}00137 \}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00138}00138 \textcolor{comment}{// 无成员栈重新分配成员}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00139}00139 \textcolor{keywordflow}{else} \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00140}00140 free(\mbox{\hyperlink{class_s_t_l__r_stack_a2ff878cef1cc42db3c31812e654c8674}{dat}}); \textcolor{comment}{// 释放全部空间}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00141}00141 \mbox{\hyperlink{class_s_t_l__r_stack_a2ff878cef1cc42db3c31812e654c8674}{dat}} = NULL;}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00142}00142 \mbox{\hyperlink{class_s_t_l__r_stack_adf95fc53b74c9955a648f3500ae1e746}{size}} = 0;\} \textcolor{comment}{// 重指定首部}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00143}00143 \textcolor{comment}{// 无数据返回空栈}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00144}00144 \mbox{\hyperlink{class_s_t_l__r_stack_a857415d9ae151b6acd395760b2e9cedf}{room}} = \mbox{\hyperlink{class_s_t_l__r_stack_adf95fc53b74c9955a648f3500ae1e746}{size}}; \textcolor{comment}{// 新的空间大小}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00145}00145 \textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a3e9b3bff72ae3f8f3c62c4f4bc24ca16}{STACKS\_OK}};\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00146}00146 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00152}\mbox{\hyperlink{class_s_t_l__r_stack_a8a72b28e3a7faa2aae9272d90032d5a5}{00152}} \textcolor{comment}{}\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_stack_a8a72b28e3a7faa2aae9272d90032d5a5}{STL\_rStack::push32}}(\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} var) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00153}00153 \mbox{\hyperlink{class_s_t_l__r_stack_a153de2f05c0e0164ad68fb09130bf475}{push}}(((\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}*)(\&var))[3]);}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00154}00154 \mbox{\hyperlink{class_s_t_l__r_stack_a153de2f05c0e0164ad68fb09130bf475}{push}}(((\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}*)(\&var))[2]);}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00155}00155 \mbox{\hyperlink{class_s_t_l__r_stack_a153de2f05c0e0164ad68fb09130bf475}{push}}(((\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}*)(\&var))[1]);}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00156}00156 \mbox{\hyperlink{class_s_t_l__r_stack_a153de2f05c0e0164ad68fb09130bf475}{push}}(((\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}*)(\&var))[0]);}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00157}00157 \textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a3e9b3bff72ae3f8f3c62c4f4bc24ca16}{STACKS\_OK}};\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00158}00158 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00164}\mbox{\hyperlink{class_s_t_l__r_stack_a31fd424472fcf069ec2cbcb50ab34ed1}{00164}} \textcolor{comment}{}\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_stack_a31fd424472fcf069ec2cbcb50ab34ed1}{STL\_rStack::poptop}}(\textcolor{keywordtype}{void}) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00165}00165 \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} var = 0;}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00166}00166 \mbox{\hyperlink{class_s_t_l__r_stack_a49d2ca43dafd695e4e0d92018736f732}{top}}(var);\mbox{\hyperlink{class_s_t_l__r_stack_a5c7016a370c7665d554dda4b8f7dee22}{pop}}();}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00167}00167 \textcolor{keywordflow}{return} var;\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00168}00168 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00174}\mbox{\hyperlink{class_s_t_l__r_stack_ad64450c2168e2551ed8fad637a8b9c99}{00174}} \textcolor{comment}{}\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{class_s_t_l__r_stack_ad64450c2168e2551ed8fad637a8b9c99}{STL\_rStack::poptop32}}(\textcolor{keywordtype}{void}) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00175}00175 \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_stack_a2ff878cef1cc42db3c31812e654c8674}{dat}}[4] = \{ 0,0,0,0 \};}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00176}00176 \mbox{\hyperlink{class_s_t_l__r_stack_a49d2ca43dafd695e4e0d92018736f732}{top}}(\mbox{\hyperlink{class_s_t_l__r_stack_a2ff878cef1cc42db3c31812e654c8674}{dat}}[0]); \mbox{\hyperlink{class_s_t_l__r_stack_a5c7016a370c7665d554dda4b8f7dee22}{pop}}();}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00177}00177 \mbox{\hyperlink{class_s_t_l__r_stack_a49d2ca43dafd695e4e0d92018736f732}{top}}(\mbox{\hyperlink{class_s_t_l__r_stack_a2ff878cef1cc42db3c31812e654c8674}{dat}}[1]); \mbox{\hyperlink{class_s_t_l__r_stack_a5c7016a370c7665d554dda4b8f7dee22}{pop}}();}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00178}00178 \mbox{\hyperlink{class_s_t_l__r_stack_a49d2ca43dafd695e4e0d92018736f732}{top}}(\mbox{\hyperlink{class_s_t_l__r_stack_a2ff878cef1cc42db3c31812e654c8674}{dat}}[2]); \mbox{\hyperlink{class_s_t_l__r_stack_a5c7016a370c7665d554dda4b8f7dee22}{pop}}();}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00179}00179 \mbox{\hyperlink{class_s_t_l__r_stack_a49d2ca43dafd695e4e0d92018736f732}{top}}(\mbox{\hyperlink{class_s_t_l__r_stack_a2ff878cef1cc42db3c31812e654c8674}{dat}}[3]); \mbox{\hyperlink{class_s_t_l__r_stack_a5c7016a370c7665d554dda4b8f7dee22}{pop}}();}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00180}00180 \textcolor{keywordflow}{return} *((\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}}*)(\mbox{\hyperlink{class_s_t_l__r_stack_a2ff878cef1cc42db3c31812e654c8674}{dat}}));\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00181}00181 }
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00182}00182 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00187}00187 \textcolor{comment}{}void(*\mbox{\hyperlink{class_s_t_l__r_stack_a4d702aae14e43421c0818dba3b8c99a1}{STL\_rStack::poptopfun}}(\textcolor{keywordtype}{void}))(void) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00188}00188 \textcolor{keywordflow}{return} (\textcolor{keywordtype}{void}(*)(void))poptop32();\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00189}00189 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00194}\mbox{\hyperlink{class_s_t_l__r_stack_a4287e70b3adaf5e2a3a941299a085b09}{00194}} \textcolor{comment}{}\textcolor{keywordtype}{void} \mbox{\hyperlink{class_s_t_l__r_stack_a4287e70b3adaf5e2a3a941299a085b09}{STL\_rStack::pushfun}}(\textcolor{keywordtype}{void}(*fun)(\textcolor{keywordtype}{void}))\{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00195}00195 \mbox{\hyperlink{class_s_t_l__r_stack_a8a72b28e3a7faa2aae9272d90032d5a5}{push32}}((\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}})fun);\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00197}00197 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00198}00198 \textcolor{comment}{// 构造函数}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00199}\mbox{\hyperlink{class_s_t_l__l_stack_a029d691b9e7998e4ccb7cf1b362b1bd8}{00199}} \mbox{\hyperlink{class_s_t_l__l_stack_a029d691b9e7998e4ccb7cf1b362b1bd8}{STL\_lStack::STL\_lStack}}(\textcolor{keywordtype}{void}) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00200}00200 \mbox{\hyperlink{class_s_t_l__l_stack_a73ada1fa0e938b4ea2ce5ce1d43a0e69}{mem}} = 0;}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00201}00201 \mbox{\hyperlink{class_s_t_l__l_stack_af1c37b0edd984eae41db798351eb87fe}{dat}} = NULL;\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00202}00202 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00203}\mbox{\hyperlink{class_s_t_l__l_stack_a44f31f3912ff977c18e6d5a702319e9f}{00203}} \mbox{\hyperlink{class_s_t_l__l_stack_a44f31f3912ff977c18e6d5a702319e9f}{STL\_lStack::\string~STL\_lStack}}(\textcolor{keywordtype}{void}) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00204}00204 \textcolor{keywordflow}{if} (\mbox{\hyperlink{class_s_t_l__l_stack_a73ada1fa0e938b4ea2ce5ce1d43a0e69}{mem}})\mbox{\hyperlink{class_s_t_l__l_stack_a8122fd4341e6851961a210e2361c55b0}{pop}}();\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00206}00206 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00207}00207 \textcolor{comment}{// 成员函数}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00214}\mbox{\hyperlink{class_s_t_l__l_stack_a19b8e4216ae1fad27b58bc6b9c10af2e}{00214}} \textcolor{comment}{}\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_stack_a19b8e4216ae1fad27b58bc6b9c10af2e}{STL\_lStack::push}}(\textcolor{keywordtype}{void}* \&var,\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} size) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00215}00215 \mbox{\hyperlink{struct__l_stack}{\_lStack}}* newdat = (\mbox{\hyperlink{struct__l_stack}{\_lStack}}*)malloc(\textcolor{keyword}{sizeof}(\mbox{\hyperlink{struct__l_stack}{\_lStack}}));}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00216}00216 \textcolor{keywordflow}{if} (newdat == NULL)\textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a805af9c12fa10d0d7c4846e02dd8b1d4}{STACKS\_MALL\_ERROR}};}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00217}00217 newdat-\/>\mbox{\hyperlink{struct__l_stack_a6bdae5ac1294a8f08f4b5b8a809e4f32}{size}} = size;}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00218}00218 newdat-\/>\mbox{\hyperlink{struct__l_stack_affc30df8369219ce967936b083106ee4}{front}} = \mbox{\hyperlink{class_s_t_l__l_stack_af1c37b0edd984eae41db798351eb87fe}{dat}};}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00219}00219 newdat-\/>\mbox{\hyperlink{struct__l_stack_a560ebf00b475d44dc7a96c9c15d91bc8}{dat}} = var;}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00220}00220 \mbox{\hyperlink{class_s_t_l__l_stack_af1c37b0edd984eae41db798351eb87fe}{dat}} = newdat;}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00221}00221 ++\mbox{\hyperlink{class_s_t_l__l_stack_a73ada1fa0e938b4ea2ce5ce1d43a0e69}{mem}};}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00222}00222 \textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a3e9b3bff72ae3f8f3c62c4f4bc24ca16}{STACKS\_OK}};\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00223}00223 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00229}\mbox{\hyperlink{class_s_t_l__l_stack_a8122fd4341e6851961a210e2361c55b0}{00229}} \textcolor{comment}{}\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_stack_a8122fd4341e6851961a210e2361c55b0}{STL\_lStack::pop}}(\textcolor{keywordtype}{void}) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00230}00230 \textcolor{keywordflow}{if} (\mbox{\hyperlink{class_s_t_l__l_stack_a73ada1fa0e938b4ea2ce5ce1d43a0e69}{mem}} == 0) \textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0aeb269e15565d4aaef1a9b5023a160eba}{STACKS\_EMPTY}};}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00231}00231 \mbox{\hyperlink{struct__l_stack}{\_lStack}}* savedat = \mbox{\hyperlink{class_s_t_l__l_stack_af1c37b0edd984eae41db798351eb87fe}{dat}}; \textcolor{comment}{// 保存首部}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00232}00232 \mbox{\hyperlink{class_s_t_l__l_stack_af1c37b0edd984eae41db798351eb87fe}{dat}} = \mbox{\hyperlink{class_s_t_l__l_stack_af1c37b0edd984eae41db798351eb87fe}{dat}}-\/>\mbox{\hyperlink{struct__l_stack_affc30df8369219ce967936b083106ee4}{front}}; \textcolor{comment}{// 弹出}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00233}00233 free(savedat-\/>\mbox{\hyperlink{struct__l_stack_a560ebf00b475d44dc7a96c9c15d91bc8}{dat}}); \textcolor{comment}{// 回收目标指针}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00234}00234 free(savedat); \textcolor{comment}{// 回收}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00235}00235 -\/-\/\mbox{\hyperlink{class_s_t_l__l_stack_a73ada1fa0e938b4ea2ce5ce1d43a0e69}{mem}}; \textcolor{comment}{// 成员自减}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00236}00236 \textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a3e9b3bff72ae3f8f3c62c4f4bc24ca16}{STACKS\_OK}};\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00237}00237 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00244}\mbox{\hyperlink{class_s_t_l__l_stack_a1e1f0b6f70bff3c9dbb95a90cac0f261}{00244}} \textcolor{comment}{}\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_stack_a1e1f0b6f70bff3c9dbb95a90cac0f261}{STL\_lStack::top}}(\textcolor{keywordtype}{void}* \&var,\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \&size) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00245}00245 \textcolor{keywordflow}{if} (\mbox{\hyperlink{class_s_t_l__l_stack_a73ada1fa0e938b4ea2ce5ce1d43a0e69}{mem}}==0) \textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0aeb269e15565d4aaef1a9b5023a160eba}{STACKS\_EMPTY}};}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00246}00246 var = \mbox{\hyperlink{class_s_t_l__l_stack_af1c37b0edd984eae41db798351eb87fe}{dat}}-\/>\mbox{\hyperlink{struct__l_stack_a560ebf00b475d44dc7a96c9c15d91bc8}{dat}};}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00247}00247 size = \mbox{\hyperlink{class_s_t_l__l_stack_af1c37b0edd984eae41db798351eb87fe}{dat}}-\/>\mbox{\hyperlink{struct__l_stack_a6bdae5ac1294a8f08f4b5b8a809e4f32}{size}};}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00248}00248 \textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a3e9b3bff72ae3f8f3c62c4f4bc24ca16}{STACKS\_OK}};\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00249}00249 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00250}00250 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00256}\mbox{\hyperlink{class_s_t_l__l_stack_af48199bb7c616ad2b4642ca967296e30}{00256}} \textcolor{comment}{}\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_stack_af48199bb7c616ad2b4642ca967296e30}{STL\_lStack::push8}}(\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} var) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00257}00257 \textcolor{keywordtype}{void}* num=(\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}*)malloc(\textcolor{keyword}{sizeof}(\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}));}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00258}00258 \textcolor{keywordflow}{if} (num == NULL)\textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a805af9c12fa10d0d7c4846e02dd8b1d4}{STACKS\_MALL\_ERROR}};}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00259}00259 *(\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}*)num = var;}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00260}00260 \mbox{\hyperlink{class_s_t_l__l_stack_a19b8e4216ae1fad27b58bc6b9c10af2e}{push}}(num, \textcolor{keyword}{sizeof}(\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}));}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00261}00261 \textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a3e9b3bff72ae3f8f3c62c4f4bc24ca16}{STACKS\_OK}};\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00262}00262 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00268}\mbox{\hyperlink{class_s_t_l__l_stack_a5e3abb3c9743eff3757b95ce2bdc8d47}{00268}} \textcolor{comment}{}\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_stack_a5e3abb3c9743eff3757b95ce2bdc8d47}{STL\_lStack::top8}}(\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}\& var) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00269}00269 \textcolor{keywordtype}{void}* vars=NULL;}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00270}00270 \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} sizes=0;}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00271}00271 \textcolor{keywordflow}{if} (\mbox{\hyperlink{class_s_t_l__l_stack_a1e1f0b6f70bff3c9dbb95a90cac0f261}{top}}(vars, sizes) == \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0aeb269e15565d4aaef1a9b5023a160eba}{STACKS\_EMPTY}})}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00272}00272 \textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0aeb269e15565d4aaef1a9b5023a160eba}{STACKS\_EMPTY}};}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00273}00273 var = *((\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}*)vars);}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00274}00274 \textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a3e9b3bff72ae3f8f3c62c4f4bc24ca16}{STACKS\_OK}};\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00275}00275 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00280}\mbox{\hyperlink{class_s_t_l__l_stack_ab4a4991e79e9e3fd14cd9e7e9a7d4c5a}{00280}} \textcolor{comment}{}\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_stack_ab4a4991e79e9e3fd14cd9e7e9a7d4c5a}{STL\_lStack::poptop8}}(\textcolor{keywordtype}{void}) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00281}00281 \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} temp=0;}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00282}00282 \mbox{\hyperlink{class_s_t_l__l_stack_a5e3abb3c9743eff3757b95ce2bdc8d47}{top8}}(temp);}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00283}00283 \mbox{\hyperlink{class_s_t_l__l_stack_a8122fd4341e6851961a210e2361c55b0}{pop}}();}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00284}00284 \textcolor{keywordflow}{return} temp;\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00285}00285 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00286}00286 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00292}\mbox{\hyperlink{class_s_t_l__l_stack_a3f662cd8f02f5fa991f4c489ec384194}{00292}} \textcolor{comment}{}\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_stack_a3f662cd8f02f5fa991f4c489ec384194}{STL\_lStack::push32}}(\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} var) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00293}00293 \textcolor{keywordtype}{void}* num = (\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}}*)malloc(\textcolor{keyword}{sizeof}(\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}}));}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00294}00294 \textcolor{keywordflow}{if} (num == NULL)\textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a805af9c12fa10d0d7c4846e02dd8b1d4}{STACKS\_MALL\_ERROR}};}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00295}00295 *(\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}}*)num = var;}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00296}00296 \mbox{\hyperlink{class_s_t_l__l_stack_a19b8e4216ae1fad27b58bc6b9c10af2e}{push}}(num, \textcolor{keyword}{sizeof}(\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}}));}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00297}00297 \textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a3e9b3bff72ae3f8f3c62c4f4bc24ca16}{STACKS\_OK}};\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00298}00298 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00304}\mbox{\hyperlink{class_s_t_l__l_stack_a1cbd6347328f1bf000e7662a5386d361}{00304}} \textcolor{comment}{}\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_stack_a1cbd6347328f1bf000e7662a5386d361}{STL\_lStack::top32}}(\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}}\& var) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00305}00305 \textcolor{keywordtype}{void}* vars = NULL;}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00306}00306 \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} sizes = 0;}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00307}00307 \textcolor{keywordflow}{if} (\mbox{\hyperlink{class_s_t_l__l_stack_a1e1f0b6f70bff3c9dbb95a90cac0f261}{top}}(vars, sizes) == \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0aeb269e15565d4aaef1a9b5023a160eba}{STACKS\_EMPTY}})}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00308}00308 \textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0aeb269e15565d4aaef1a9b5023a160eba}{STACKS\_EMPTY}};}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00309}00309 var = *((\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}}*)vars);}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00310}00310 \textcolor{keywordflow}{return} \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a3e9b3bff72ae3f8f3c62c4f4bc24ca16}{STACKS\_OK}};\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00311}00311 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00316}\mbox{\hyperlink{class_s_t_l__l_stack_a5d566c869456665d5dd831e28cfcb7ab}{00316}} \textcolor{comment}{}\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{class_s_t_l__l_stack_a5d566c869456665d5dd831e28cfcb7ab}{STL\_lStack::poptop32}}(\textcolor{keywordtype}{void}) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00317}00317 \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} temp = 0;}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00318}00318 \mbox{\hyperlink{class_s_t_l__l_stack_a1cbd6347328f1bf000e7662a5386d361}{top32}}(temp);}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00319}00319 \mbox{\hyperlink{class_s_t_l__l_stack_a8122fd4341e6851961a210e2361c55b0}{pop}}();}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00320}00320 \textcolor{keywordflow}{return} temp;\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00321}00321 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00322}00322 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00331}\mbox{\hyperlink{class_s_t_l__l_stack_ad321b32eb00ba9d63ddf2631a143abf0}{00331}} \textcolor{comment}{}\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_stack_ad321b32eb00ba9d63ddf2631a143abf0}{STL\_lStack::pushfun}}(\textcolor{keywordtype}{void}(*fun)(\textcolor{keywordtype}{void})) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00332}00332 \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} res;}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00333}00333 res=\mbox{\hyperlink{class_s_t_l__l_stack_a3f662cd8f02f5fa991f4c489ec384194}{push32}}((\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}})fun);}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00334}00334 \textcolor{keywordflow}{return} res;\}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00335}00335 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00342}00342 \textcolor{comment}{}void(*\mbox{\hyperlink{class_s_t_l__l_stack_a027231aabf8efb3c813be67eabbbee55}{STL\_lStack::poptopfun}}(\textcolor{keywordtype}{void}))(void) \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8cpp_source_l00343}00343 \textcolor{keywordflow}{return} (\textcolor{keywordtype}{void}(*)(void))poptop32();\}}
\end{DoxyCode}

View File

@@ -0,0 +1,104 @@
\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}} 行定义.

View File

@@ -0,0 +1 @@
d2fbfe3d457f19dd061ef6047987548c

Binary file not shown.

View File

@@ -0,0 +1 @@
51bfe6773d4708df113f1d8bc5c490a3

Binary file not shown.

View File

@@ -0,0 +1,100 @@
\hypertarget{_s_t_l___stack_8h_source}{}\doxysection{STL\+\_\+\+Stack.\+h}
\label{_s_t_l___stack_8h_source}\index{D:/gitt/MicrochipFor32/STL\_Device/STL\_Stack.h@{D:/gitt/MicrochipFor32/STL\_Device/STL\_Stack.h}}
\mbox{\hyperlink{_s_t_l___stack_8h}{浏览该文件的文档.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00001}00001 \textcolor{comment}{/*-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00002}00002 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00003}00003 \textcolor{comment}{ \# Copyright (c) 2022 Yuankang Liang(XerolySkinner)}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00004}00004 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00005}00005 \textcolor{comment}{ \# 本软件按原样提供,无任何明示或暗示}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00006}00006 \textcolor{comment}{ \# 在任何情况下,作者都不承担任何损害赔偿责任}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00007}00007 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00008}00008 \textcolor{comment}{ \# 使用的许可声明:}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00009}00009 \textcolor{comment}{ \# 1. 不得歪曲本软件的来源,你不能声称你编写了原始软件.}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00010}00010 \textcolor{comment}{ \# 2. 免费授予以任何目的,前提是版权声明出现在所有副本中.}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00011}00011 \textcolor{comment}{ \# 并且版权声明和许可声明同时出现.}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00012}00012 \textcolor{comment}{ \# 3. 你有使用,复制,修改,分发,和销售本软件的许可.}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00013}00013 \textcolor{comment}{ \# 4. 如果你在产品中使用,产品文档中的声明是赞赏的但不是必须的.}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00014}00014 \textcolor{comment}{ \# 5. 本通知不得从任何来源删除或更改.}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00015}00015 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00016}00016 \textcolor{comment}{ \# Yuankang Liang(XerolySkinner)}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00017}00017 \textcolor{comment}{ \# E-\/mail:zabbcccbbaz@163.com}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00018}00018 \textcolor{comment}{ \# QQ:2715099320}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00019}00019 \textcolor{comment}{ \# Mobile Phone:13005636215}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00020}00020 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00021}00021 \textcolor{comment}{ \# All rights reserved.}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00022}00022 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00023}00023 }
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00034}00034 \textcolor{preprocessor}{\#ifdef \_\_cplusplus}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00035}00035 \textcolor{preprocessor}{\#pragma once}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00036}00036 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{varint_8h}{varint.h}}"{}}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00037}00037 \textcolor{preprocessor}{\#include <stdlib.h>}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00039}00039 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00040}00040 \textcolor{comment}{// 返回值枚举}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00041}00041 \textcolor{comment}{// }}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00045}\mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0}{00045}} \textcolor{comment}{}\textcolor{keyword}{enum} \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0}{STACKS\_RES}}\{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00046}\mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a3e9b3bff72ae3f8f3c62c4f4bc24ca16}{00046}} \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a3e9b3bff72ae3f8f3c62c4f4bc24ca16}{STACKS\_OK}}, }
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00047}\mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0aeb269e15565d4aaef1a9b5023a160eba}{00047}} \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0aeb269e15565d4aaef1a9b5023a160eba}{STACKS\_EMPTY}}, }
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00048}\mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a9f2b3bdf4ae6c347dbf6bb0797672de7}{00048}} \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a9f2b3bdf4ae6c347dbf6bb0797672de7}{STACKS\_REAL\_ERROR}}, }
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00049}00049 \mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a805af9c12fa10d0d7c4846e02dd8b1d4}{STACKS\_MALL\_ERROR}} }
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00050}\mbox{\hyperlink{_s_t_l___stack_8h_ad01fec74b6b0b6c599780dd41cf55ec0a805af9c12fa10d0d7c4846e02dd8b1d4}{00050}} \};}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00052}00052 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00053}00053 \textcolor{comment}{// 类目}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00059}\mbox{\hyperlink{class_s_t_l__r_stack}{00059}} \textcolor{comment}{}\textcolor{keyword}{class }\mbox{\hyperlink{class_s_t_l__r_stack}{STL\_rStack}}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00060}00060 \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00061}00061 \textcolor{keyword}{public}:}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00062}00062 \mbox{\hyperlink{class_s_t_l__r_stack_a55a54a57fe2f6625ef6b995f2d95e026}{STL\_rStack}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00063}00063 \mbox{\hyperlink{class_s_t_l__r_stack_aed992153d5efc1cd3007863c8c08797c}{\string~STL\_rStack}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00064}00064 \textcolor{keyword}{public}:}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00065}00065 \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_stack_a153de2f05c0e0164ad68fb09130bf475}{push}} (\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} var);}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00066}00066 \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_stack_a5c7016a370c7665d554dda4b8f7dee22}{pop}} (\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00067}00067 \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_stack_a49d2ca43dafd695e4e0d92018736f732}{top}} (\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}\& var);}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00068}00068 \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{class_s_t_l__r_stack_ac63cd564c04e4481925ead650dfb2edf}{The\_size}} (\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00069}00069 \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{class_s_t_l__r_stack_a22c1e309f6476f31f1e5c313b01afd13}{The\_room}} (\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00070}00070 \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_stack_a843cc47e7a2c281dd82392c8ed257dc1}{clean}} (\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00071}00071 }
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00072}00072 \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_stack_a31fd424472fcf069ec2cbcb50ab34ed1}{poptop}} (\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00073}00073 }
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00074}00074 \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_stack_a8a72b28e3a7faa2aae9272d90032d5a5}{push32}} (\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} var);}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00075}00075 \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{class_s_t_l__r_stack_ad64450c2168e2551ed8fad637a8b9c99}{poptop32}} (\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00076}00076 }
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00077}00077 \textcolor{keywordtype}{void} \mbox{\hyperlink{class_s_t_l__r_stack_a4287e70b3adaf5e2a3a941299a085b09}{pushfun}}(\textcolor{keywordtype}{void}(*fun)(\textcolor{keywordtype}{void}));}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00078}\mbox{\hyperlink{class_s_t_l__r_stack_a4d702aae14e43421c0818dba3b8c99a1}{00078}} void (*\mbox{\hyperlink{class_s_t_l__r_stack_a4d702aae14e43421c0818dba3b8c99a1}{poptopfun}}(\textcolor{keywordtype}{void}))(void);}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00079}00079 \textcolor{keyword}{private}:}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00080}\mbox{\hyperlink{class_s_t_l__r_stack_a857415d9ae151b6acd395760b2e9cedf}{00080}} \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{class_s_t_l__r_stack_a857415d9ae151b6acd395760b2e9cedf}{room}}; \textcolor{comment}{// 分配空间}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00081}\mbox{\hyperlink{class_s_t_l__r_stack_adf95fc53b74c9955a648f3500ae1e746}{00081}} \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{class_s_t_l__r_stack_adf95fc53b74c9955a648f3500ae1e746}{size}}; \textcolor{comment}{// 已有成员}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00082}\mbox{\hyperlink{class_s_t_l__r_stack_a2ff878cef1cc42db3c31812e654c8674}{00082}} \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}* \mbox{\hyperlink{class_s_t_l__r_stack_a2ff878cef1cc42db3c31812e654c8674}{dat}}; \textcolor{comment}{// 数据头}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00083}00083 \};}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00084}00084 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00088}\mbox{\hyperlink{struct__l_stack}{00088}} \textcolor{comment}{}\textcolor{keyword}{struct }\mbox{\hyperlink{struct__l_stack}{\_lStack}} \{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00089}\mbox{\hyperlink{struct__l_stack_affc30df8369219ce967936b083106ee4}{00089}} \textcolor{keyword}{struct }\mbox{\hyperlink{struct__l_stack}{\_lStack}}* \mbox{\hyperlink{struct__l_stack_affc30df8369219ce967936b083106ee4}{front}}; }
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00090}\mbox{\hyperlink{struct__l_stack_a560ebf00b475d44dc7a96c9c15d91bc8}{00090}} \textcolor{keywordtype}{void}* \mbox{\hyperlink{struct__l_stack_a560ebf00b475d44dc7a96c9c15d91bc8}{dat}}; }
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00091}\mbox{\hyperlink{struct__l_stack_a6bdae5ac1294a8f08f4b5b8a809e4f32}{00091}} \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{struct__l_stack_a6bdae5ac1294a8f08f4b5b8a809e4f32}{size}}; }
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00092}00092 \};}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00093}\mbox{\hyperlink{_s_t_l___stack_8h_a93c02da3227db123d738697d4e451b2a}{00093}} \textcolor{keyword}{typedef} \textcolor{keyword}{struct }\mbox{\hyperlink{_s_t_l___stack_8h_a93c02da3227db123d738697d4e451b2a}{\_lStacks}} \mbox{\hyperlink{_s_t_l___stack_8h_a93c02da3227db123d738697d4e451b2a}{\_lStacks}};}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00099}\mbox{\hyperlink{class_s_t_l__l_stack}{00099}} \textcolor{keyword}{class }\mbox{\hyperlink{class_s_t_l__l_stack}{STL\_lStack}}\{}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00100}00100 \textcolor{keyword}{public}:}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00101}00101 \mbox{\hyperlink{class_s_t_l__l_stack_a029d691b9e7998e4ccb7cf1b362b1bd8}{STL\_lStack}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00102}00102 \mbox{\hyperlink{class_s_t_l__l_stack_a44f31f3912ff977c18e6d5a702319e9f}{\string~STL\_lStack}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00103}00103 \textcolor{keyword}{public}:}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00104}00104 \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_stack_a19b8e4216ae1fad27b58bc6b9c10af2e}{push}}(\textcolor{keywordtype}{void}* \&var, \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} size);}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00105}00105 \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_stack_a8122fd4341e6851961a210e2361c55b0}{pop}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00106}00106 \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_stack_a1e1f0b6f70bff3c9dbb95a90cac0f261}{top}}(\textcolor{keywordtype}{void}* \&var, \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}}\& size);}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00107}00107 }
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00108}00108 \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_stack_af48199bb7c616ad2b4642ca967296e30}{push8}}(\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} var);}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00109}00109 \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_stack_a5e3abb3c9743eff3757b95ce2bdc8d47}{top8}}(\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}\& var);}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00110}00110 \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_stack_ab4a4991e79e9e3fd14cd9e7e9a7d4c5a}{poptop8}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00111}00111 }
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00112}00112 \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_stack_a3f662cd8f02f5fa991f4c489ec384194}{push32}}(\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} var);}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00113}00113 \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_stack_a1cbd6347328f1bf000e7662a5386d361}{top32}}(\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}}\& var);}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00114}00114 \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{class_s_t_l__l_stack_a5d566c869456665d5dd831e28cfcb7ab}{poptop32}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00115}00115 }
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00116}00116 \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_stack_ad321b32eb00ba9d63ddf2631a143abf0}{pushfun}}(\textcolor{keywordtype}{void}(*fun)(\textcolor{keywordtype}{void}));}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00117}\mbox{\hyperlink{class_s_t_l__l_stack_a027231aabf8efb3c813be67eabbbee55}{00117}} void (*\mbox{\hyperlink{class_s_t_l__l_stack_a027231aabf8efb3c813be67eabbbee55}{poptopfun}}(\textcolor{keywordtype}{void}))(void);}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00118}00118 \textcolor{keyword}{private}:}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00119}\mbox{\hyperlink{class_s_t_l__l_stack_a73ada1fa0e938b4ea2ce5ce1d43a0e69}{00119}} \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{class_s_t_l__l_stack_a73ada1fa0e938b4ea2ce5ce1d43a0e69}{mem}}; \textcolor{comment}{// 已有成员}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00120}\mbox{\hyperlink{class_s_t_l__l_stack_af1c37b0edd984eae41db798351eb87fe}{00120}} \mbox{\hyperlink{struct__l_stack}{\_lStack}}* \mbox{\hyperlink{class_s_t_l__l_stack_af1c37b0edd984eae41db798351eb87fe}{dat}}; \textcolor{comment}{// 栈顶成员}}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00121}00121 \};}
\DoxyCodeLine{\Hypertarget{_s_t_l___stack_8h_source_l00123}00123 \textcolor{preprocessor}{\#endif}}
\end{DoxyCode}

View File

@@ -5,8 +5,7 @@
用户设置信息
此图展示该文件直接或间接的被哪些文件引用了\+:
\nopagebreak
此图展示该文件直接或间接的被哪些文件引用了\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode

View File

@@ -1,5 +1,6 @@
\doxysection{类列表}
这里列出了所有类、结构、联合以及接口定义等,并附带简要说明\+:\begin{DoxyCompactList}
\item\contentsline{section}{\mbox{\hyperlink{struct__l_stack}{\+\_\+l\+Stack}} \\*链表方式栈的节点 }{\pageref{struct__l_stack}}{}
\item\contentsline{section}{\mbox{\hyperlink{classbscpp___i_i_c}{bscpp\+\_\+\+IIC}} \\*IIC的基础实现方法 留下三个保护性接口需要实现,分别是控制时钟,控制数据,延时函数 }{\pageref{classbscpp___i_i_c}}{}
\item\contentsline{section}{\mbox{\hyperlink{classbscpp___i_i_c___s_t_m32}{bscpp\+\_\+\+IIC\+\_\+\+STM32}} \\*STM32版本的软件\+IIC 需要使用构造函数初始化 }{\pageref{classbscpp___i_i_c___s_t_m32}}{}
\item\contentsline{section}{\mbox{\hyperlink{classbscpp___s_t_m32___a_t24_c00}{bscpp\+\_\+\+STM32\+\_\+\+AT24\+C00}} \\*一个\+AT24设备,基于\+STM32的\+IIC总线 }{\pageref{classbscpp___s_t_m32___a_t24_c00}}{}
@@ -11,6 +12,9 @@
\item\contentsline{section}{\mbox{\hyperlink{structhw__s}{hw\+\_\+s}} }{\pageref{structhw__s}}{}
\item\contentsline{section}{\mbox{\hyperlink{structint__param__s}{int\+\_\+param\+\_\+s}} }{\pageref{structint__param__s}}{}
\item\contentsline{section}{\mbox{\hyperlink{structmotion__int__cache__s}{motion\+\_\+int\+\_\+cache\+\_\+s}} }{\pageref{structmotion__int__cache__s}}{}
\item\contentsline{section}{\mbox{\hyperlink{class_s_t_l__l_stack}{STL\+\_\+l\+Stack}} \\*一个栈的类 }{\pageref{class_s_t_l__l_stack}}{}
\item\contentsline{section}{\mbox{\hyperlink{class_s_t_l__r_queue}{STL\+\_\+r\+Queue}} \\*一个队列的类 }{\pageref{class_s_t_l__r_queue}}{}
\item\contentsline{section}{\mbox{\hyperlink{class_s_t_l__r_stack}{STL\+\_\+r\+Stack}} \\*一个栈的类 }{\pageref{class_s_t_l__r_stack}}{}
\item\contentsline{section}{\mbox{\hyperlink{structtest__s}{test\+\_\+s}} }{\pageref{structtest__s}}{}
\item\contentsline{section}{\mbox{\hyperlink{structt_key_label}{t\+Key\+Label}} }{\pageref{structt_key_label}}{}
\end{DoxyCompactList}

View File

@@ -8,8 +8,7 @@
{\ttfamily \#include \char`\"{}varint.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}main.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}bscpp\+\_\+\+AT24\+C00.\+h\char`\"{}}\newline
bscpp\+\_\+\+AT24\+C00.\+cpp 的引用(Include)关系图\+:
\nopagebreak
bscpp\+\_\+\+AT24\+C00.\+cpp 的引用(Include)关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode

View File

@@ -7,16 +7,14 @@
{\ttfamily \#include \char`\"{}varint.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}bscpp\+\_\+\+IIC\+\_\+\+STM32.\+h\char`\"{}}\newline
bscpp\+\_\+\+AT24\+C00.\+h 的引用(Include)关系图\+:
\nopagebreak
bscpp\+\_\+\+AT24\+C00.\+h 的引用(Include)关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=317pt]{bscpp___a_t24_c00_8h__incl}
\end{center}
\end{figure}
此图展示该文件直接或间接的被哪些文件引用了\+:
\nopagebreak
此图展示该文件直接或间接的被哪些文件引用了\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode

View File

@@ -6,8 +6,7 @@
{\ttfamily \#include \char`\"{}bscpp\+\_\+\+IIC.\+h\char`\"{}}\newline
bscpp\+\_\+\+IIC.\+cpp 的引用(Include)关系图\+:
\nopagebreak
bscpp\+\_\+\+IIC.\+cpp 的引用(Include)关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode

View File

@@ -6,16 +6,14 @@
{\ttfamily \#include \char`\"{}varint.\+h\char`\"{}}\newline
bscpp\+\_\+\+IIC.\+h 的引用(Include)关系图\+:
\nopagebreak
bscpp\+\_\+\+IIC.\+h 的引用(Include)关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=214pt]{bscpp___i_i_c_8h__incl}
\end{center}
\end{figure}
此图展示该文件直接或间接的被哪些文件引用了\+:
\nopagebreak
此图展示该文件直接或间接的被哪些文件引用了\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode

View File

@@ -7,8 +7,7 @@
{\ttfamily \#include \char`\"{}bscpp\+\_\+\+IIC\+\_\+\+STM32.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}gpio.\+h\char`\"{}}\newline
bscpp\+\_\+\+IIC\+\_\+\+STM32.\+cpp 的引用(Include)关系图\+:
\nopagebreak
bscpp\+\_\+\+IIC\+\_\+\+STM32.\+cpp 的引用(Include)关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode

View File

@@ -8,16 +8,14 @@
{\ttfamily \#include \char`\"{}gpio.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}varint.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}bscpp\+\_\+\+IIC.\+h\char`\"{}}\newline
bscpp\+\_\+\+IIC\+\_\+\+STM32.\+h 的引用(Include)关系图\+:
\nopagebreak
bscpp\+\_\+\+IIC\+\_\+\+STM32.\+h 的引用(Include)关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=248pt]{bscpp___i_i_c___s_t_m32_8h__incl}
\end{center}
\end{figure}
此图展示该文件直接或间接的被哪些文件引用了\+:
\nopagebreak
此图展示该文件直接或间接的被哪些文件引用了\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode

View File

@@ -2,8 +2,7 @@
\label{bscpp___s_t_m32___o_l_e_d_8cpp}\index{D:/gitt/MicrochipFor32/bscpp\_Device/bscpp\_STM32\_OLED.cpp@{D:/gitt/MicrochipFor32/bscpp\_Device/bscpp\_STM32\_OLED.cpp}}
{\ttfamily \#include \char`\"{}bscpp\+\_\+\+IIC\+\_\+\+STM32.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}bscpp\+\_\+\+STM32\+\_\+\+OLED.\+h\char`\"{}}\newline
bscpp\+\_\+\+STM32\+\_\+\+OLED.\+cpp 的引用(Include)关系图\+:
\nopagebreak
bscpp\+\_\+\+STM32\+\_\+\+OLED.\+cpp 的引用(Include)关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode

View File

@@ -2,16 +2,14 @@
\label{bscpp___s_t_m32___o_l_e_d_8h}\index{D:/gitt/MicrochipFor32/bscpp\_Device/bscpp\_STM32\_OLED.h@{D:/gitt/MicrochipFor32/bscpp\_Device/bscpp\_STM32\_OLED.h}}
{\ttfamily \#include \char`\"{}varint.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}bscpp\+\_\+\+IIC\+\_\+\+STM32.\+h\char`\"{}}\newline
bscpp\+\_\+\+STM32\+\_\+\+OLED.\+h 的引用(Include)关系图\+:
\nopagebreak
bscpp\+\_\+\+STM32\+\_\+\+OLED.\+h 的引用(Include)关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=309pt]{bscpp___s_t_m32___o_l_e_d_8h__incl}
\end{center}
\end{figure}
此图展示该文件直接或间接的被哪些文件引用了\+:
\nopagebreak
此图展示该文件直接或间接的被哪些文件引用了\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode

View File

@@ -0,0 +1,464 @@
\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}

View File

@@ -0,0 +1 @@
f22eef225e388f3f877c25e00c9a38b0

Binary file not shown.

View File

@@ -0,0 +1 @@
9dd8fa7d5795332f8b972e5d227ad681

View File

@@ -0,0 +1 @@
1ff0726bca95f3d3a6919512f17a374a

View File

@@ -0,0 +1 @@
9241dffb61d875705a4900ec9ebc1bb0

View File

@@ -0,0 +1 @@
b2a41bf3d5a46db3e029fcd26614397c

View File

@@ -0,0 +1 @@
ecd002e28178208fcd7c179ae6983110

View File

@@ -0,0 +1 @@
7bd998ead00bca1e967eb31e6c79d713

View File

@@ -0,0 +1 @@
c631d2aabd3f90dc8473819af5737e69

View File

@@ -0,0 +1 @@
325f1529ee181523223889985853fda0

View File

@@ -0,0 +1 @@
c7282a329360574f74ef9679d471da02

View File

@@ -0,0 +1 @@
3508402ebb0977043bcbd011991d5fac

View File

@@ -0,0 +1 @@
430528dc3e76d34b66e0fab02305ee31

View File

@@ -0,0 +1 @@
652c0a7d10140ee2f3223338de1b7f7f

View File

@@ -0,0 +1 @@
144a9dcea1d098c9cac7839b9b96391a

View File

@@ -0,0 +1 @@
c00f0a127df20327a8bafaafeaa99d7b

View File

@@ -0,0 +1,381 @@
\hypertarget{class_s_t_l__r_queue}{}\doxysection{STL\+\_\+r\+Queue类 参考}
\label{class_s_t_l__r_queue}\index{STL\_rQueue@{STL\_rQueue}}
一个队列的类
{\ttfamily \#include $<$STL\+\_\+\+Queue.\+h$>$}
\doxysubsection*{Public 成员函数}
\begin{DoxyCompactItemize}
\item
\mbox{\hyperlink{class_s_t_l__r_queue_aa590a265ee2309e6150adcdf377f32b6}{STL\+\_\+r\+Queue}} (void)
\item
\mbox{\hyperlink{class_s_t_l__r_queue_a96e6153133db180421c9321fb6ee83a8}{$\sim$\+STL\+\_\+r\+Queue}} (void)
\item
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_queue_a20a4e57dc9a4350f49cfada5cf083881}{push}} (\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__r_queue_a6fcfa9e50f6719e2f3632a6ad333542f}{pop}} (void)
\begin{DoxyCompactList}\small\item\em 弹出一个成员 \end{DoxyCompactList}\item
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_queue_a3507658579a1abb5e50b34b6bb536ece}{top}} (\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \&var)
\begin{DoxyCompactList}\small\item\em 显示最后压入的数值 \end{DoxyCompactList}\item
\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{class_s_t_l__r_queue_a9892dad9a7802f12a8bad524aefbe162}{The\+\_\+size}} (void)
\begin{DoxyCompactList}\small\item\em 返回成员数量 \end{DoxyCompactList}\item
\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{class_s_t_l__r_queue_a3f1905efcb68f543a152abc8fa1214e3}{The\+\_\+room}} (void)
\begin{DoxyCompactList}\small\item\em 返回占用的内存数 \end{DoxyCompactList}\item
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_queue_a554dd220ac324bec51a6cde43116efc3}{clean}} (void)
\begin{DoxyCompactList}\small\item\em 将申请的空间比对所需空间,腾出冗余空间 \end{DoxyCompactList}\item
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_queue_a3431ef2eff0319a93be5dac50bd19b99}{poptop}} (void)
\begin{DoxyCompactList}\small\item\em 弹出并且返回一个成员 \end{DoxyCompactList}\item
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_queue_ac57bfdea03866852334cbf52e262e286}{push32}} (\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} var)
\begin{DoxyCompactList}\small\item\em 压入一个32位成员 \end{DoxyCompactList}\item
\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{class_s_t_l__r_queue_a9362012b2eda4207d130e03f420c11a8}{poptop32}} (void)
\begin{DoxyCompactList}\small\item\em 弹出并且返回一个32位成员 \end{DoxyCompactList}\item
void \mbox{\hyperlink{class_s_t_l__r_queue_a6279ce46687da109354f7f84b979343f}{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__r_queue_a8deafb8a60277665e85b99deeff96d8c}{poptopfun}} (void)
\end{DoxyCompactItemize}
\doxysubsection*{Private 属性}
\begin{DoxyCompactItemize}
\item
\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{class_s_t_l__r_queue_a42636190858b2aa8bdf93b80f2e3ed33}{room}}
\item
\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{class_s_t_l__r_queue_ae5ab3dd9890cb990edaf511174da12a1}{size}}
\item
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} $\ast$ \mbox{\hyperlink{class_s_t_l__r_queue_a32e298e5a9194d97492496f5f311068b}{dat}}
\end{DoxyCompactItemize}
\doxysubsection{详细描述}
一个队列的类
在文件 \mbox{\hyperlink{_s_t_l___queue_8h_source}{STL\+\_\+\+Queue.\+h}}\mbox{\hyperlink{_s_t_l___queue_8h_source_l00057}{57}} 行定义.
\doxysubsection{构造及析构函数说明}
\mbox{\Hypertarget{class_s_t_l__r_queue_aa590a265ee2309e6150adcdf377f32b6}\label{class_s_t_l__r_queue_aa590a265ee2309e6150adcdf377f32b6}}
\index{STL\_rQueue@{STL\_rQueue}!STL\_rQueue@{STL\_rQueue}}
\index{STL\_rQueue@{STL\_rQueue}!STL\_rQueue@{STL\_rQueue}}
\doxysubsubsection{\texorpdfstring{STL\_rQueue()}{STL\_rQueue()}}
{\footnotesize\ttfamily STL\+\_\+r\+Queue\+::\+STL\+\_\+r\+Queue (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
在文件 \mbox{\hyperlink{_s_t_l___queue_8cpp_source}{STL\+\_\+\+Queue.\+cpp}}\mbox{\hyperlink{_s_t_l___queue_8cpp_source_l00041}{41}} 行定义.
\mbox{\Hypertarget{class_s_t_l__r_queue_a96e6153133db180421c9321fb6ee83a8}\label{class_s_t_l__r_queue_a96e6153133db180421c9321fb6ee83a8}}
\index{STL\_rQueue@{STL\_rQueue}!````~STL\_rQueue@{$\sim$STL\_rQueue}}
\index{````~STL\_rQueue@{$\sim$STL\_rQueue}!STL\_rQueue@{STL\_rQueue}}
\doxysubsubsection{\texorpdfstring{$\sim$STL\_rQueue()}{~STL\_rQueue()}}
{\footnotesize\ttfamily STL\+\_\+r\+Queue\+::$\sim$\+STL\+\_\+r\+Queue (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
在文件 \mbox{\hyperlink{_s_t_l___queue_8cpp_source}{STL\+\_\+\+Queue.\+cpp}}\mbox{\hyperlink{_s_t_l___queue_8cpp_source_l00046}{46}} 行定义.
\doxysubsection{成员函数说明}
\mbox{\Hypertarget{class_s_t_l__r_queue_a554dd220ac324bec51a6cde43116efc3}\label{class_s_t_l__r_queue_a554dd220ac324bec51a6cde43116efc3}}
\index{STL\_rQueue@{STL\_rQueue}!clean@{clean}}
\index{clean@{clean}!STL\_rQueue@{STL\_rQueue}}
\doxysubsubsection{\texorpdfstring{clean()}{clean()}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} STL\+\_\+r\+Queue\+::clean (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
将申请的空间比对所需空间,腾出冗余空间
\begin{DoxyReturn}{返回}
错误号
\end{DoxyReturn}
在文件 \mbox{\hyperlink{_s_t_l___queue_8cpp_source}{STL\+\_\+\+Queue.\+cpp}}\mbox{\hyperlink{_s_t_l___queue_8cpp_source_l00126}{126}} 行定义.
\mbox{\Hypertarget{class_s_t_l__r_queue_a6fcfa9e50f6719e2f3632a6ad333542f}\label{class_s_t_l__r_queue_a6fcfa9e50f6719e2f3632a6ad333542f}}
\index{STL\_rQueue@{STL\_rQueue}!pop@{pop}}
\index{pop@{pop}!STL\_rQueue@{STL\_rQueue}}
\doxysubsubsection{\texorpdfstring{pop()}{pop()}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} STL\+\_\+r\+Queue\+::pop (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
弹出一个成员
\begin{DoxyReturn}{返回}
错误号
\end{DoxyReturn}
在文件 \mbox{\hyperlink{_s_t_l___queue_8cpp_source}{STL\+\_\+\+Queue.\+cpp}}\mbox{\hyperlink{_s_t_l___queue_8cpp_source_l00082}{82}} 行定义.
这是这个函数的调用关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=324pt]{class_s_t_l__r_queue_a6fcfa9e50f6719e2f3632a6ad333542f_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{class_s_t_l__r_queue_a3431ef2eff0319a93be5dac50bd19b99}\label{class_s_t_l__r_queue_a3431ef2eff0319a93be5dac50bd19b99}}
\index{STL\_rQueue@{STL\_rQueue}!poptop@{poptop}}
\index{poptop@{poptop}!STL\_rQueue@{STL\_rQueue}}
\doxysubsubsection{\texorpdfstring{poptop()}{poptop()}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} STL\+\_\+r\+Queue\+::poptop (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
弹出并且返回一个成员
\begin{DoxyReturn}{返回}
弹出的成员值
\end{DoxyReturn}
\begin{DoxyNote}{注解}
该函数不会检查成功与否
\end{DoxyNote}
在文件 \mbox{\hyperlink{_s_t_l___queue_8cpp_source}{STL\+\_\+\+Queue.\+cpp}}\mbox{\hyperlink{_s_t_l___queue_8cpp_source_l00165}{165}} 行定义.
函数调用图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=314pt]{class_s_t_l__r_queue_a3431ef2eff0319a93be5dac50bd19b99_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{class_s_t_l__r_queue_a9362012b2eda4207d130e03f420c11a8}\label{class_s_t_l__r_queue_a9362012b2eda4207d130e03f420c11a8}}
\index{STL\_rQueue@{STL\_rQueue}!poptop32@{poptop32}}
\index{poptop32@{poptop32}!STL\_rQueue@{STL\_rQueue}}
\doxysubsubsection{\texorpdfstring{poptop32()}{poptop32()}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} STL\+\_\+r\+Queue\+::poptop32 (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
弹出并且返回一个32位成员
\begin{DoxyReturn}{返回}
弹出的成员值
\end{DoxyReturn}
\begin{DoxyNote}{注解}
该函数不会检查成功与否
\end{DoxyNote}
在文件 \mbox{\hyperlink{_s_t_l___queue_8cpp_source}{STL\+\_\+\+Queue.\+cpp}}\mbox{\hyperlink{_s_t_l___queue_8cpp_source_l00175}{175}} 行定义.
函数调用图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=324pt]{class_s_t_l__r_queue_a9362012b2eda4207d130e03f420c11a8_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{class_s_t_l__r_queue_a20a4e57dc9a4350f49cfada5cf083881}\label{class_s_t_l__r_queue_a20a4e57dc9a4350f49cfada5cf083881}}
\index{STL\_rQueue@{STL\_rQueue}!push@{push}}
\index{push@{push}!STL\_rQueue@{STL\_rQueue}}
\doxysubsubsection{\texorpdfstring{push()}{push()}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} STL\+\_\+r\+Queue\+::push (\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___queue_8cpp_source}{STL\+\_\+\+Queue.\+cpp}}\mbox{\hyperlink{_s_t_l___queue_8cpp_source_l00056}{56}} 行定义.
这是这个函数的调用关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_s_t_l__r_queue_a20a4e57dc9a4350f49cfada5cf083881_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{class_s_t_l__r_queue_ac57bfdea03866852334cbf52e262e286}\label{class_s_t_l__r_queue_ac57bfdea03866852334cbf52e262e286}}
\index{STL\_rQueue@{STL\_rQueue}!push32@{push32}}
\index{push32@{push32}!STL\_rQueue@{STL\_rQueue}}
\doxysubsubsection{\texorpdfstring{push32()}{push32()}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} STL\+\_\+r\+Queue\+::push32 (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}}}]{var }\end{DoxyParamCaption})}
压入一个32位成员
\begin{DoxyParams}{参数}
{\em var} & 需要压入的数值 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
错误号
\end{DoxyReturn}
在文件 \mbox{\hyperlink{_s_t_l___queue_8cpp_source}{STL\+\_\+\+Queue.\+cpp}}\mbox{\hyperlink{_s_t_l___queue_8cpp_source_l00153}{153}} 行定义.
函数调用图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=322pt]{class_s_t_l__r_queue_ac57bfdea03866852334cbf52e262e286_cgraph}
\end{center}
\end{figure}
这是这个函数的调用关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=334pt]{class_s_t_l__r_queue_ac57bfdea03866852334cbf52e262e286_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{class_s_t_l__r_queue_a6279ce46687da109354f7f84b979343f}\label{class_s_t_l__r_queue_a6279ce46687da109354f7f84b979343f}}
\index{STL\_rQueue@{STL\_rQueue}!pushfun@{pushfun}}
\index{pushfun@{pushfun}!STL\_rQueue@{STL\_rQueue}}
\doxysubsubsection{\texorpdfstring{pushfun()}{pushfun()}}
{\footnotesize\ttfamily void STL\+\_\+r\+Queue\+::pushfun (\begin{DoxyParamCaption}\item[{void($\ast$)(void)}]{fun }\end{DoxyParamCaption})}
压入一个void($\ast$)void函数
\begin{DoxyNote}{注解}
该函数不会检查成功与否
\end{DoxyNote}
在文件 \mbox{\hyperlink{_s_t_l___queue_8cpp_source}{STL\+\_\+\+Queue.\+cpp}}\mbox{\hyperlink{_s_t_l___queue_8cpp_source_l00194}{194}} 行定义.
函数调用图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_s_t_l__r_queue_a6279ce46687da109354f7f84b979343f_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{class_s_t_l__r_queue_a3f1905efcb68f543a152abc8fa1214e3}\label{class_s_t_l__r_queue_a3f1905efcb68f543a152abc8fa1214e3}}
\index{STL\_rQueue@{STL\_rQueue}!The\_room@{The\_room}}
\index{The\_room@{The\_room}!STL\_rQueue@{STL\_rQueue}}
\doxysubsubsection{\texorpdfstring{The\_room()}{The\_room()}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} STL\+\_\+r\+Queue\+::\+The\+\_\+room (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
返回占用的内存数
\begin{DoxyReturn}{返回}
内存数,u8类型
\end{DoxyReturn}
在文件 \mbox{\hyperlink{_s_t_l___queue_8cpp_source}{STL\+\_\+\+Queue.\+cpp}}\mbox{\hyperlink{_s_t_l___queue_8cpp_source_l00119}{119}} 行定义.
\mbox{\Hypertarget{class_s_t_l__r_queue_a9892dad9a7802f12a8bad524aefbe162}\label{class_s_t_l__r_queue_a9892dad9a7802f12a8bad524aefbe162}}
\index{STL\_rQueue@{STL\_rQueue}!The\_size@{The\_size}}
\index{The\_size@{The\_size}!STL\_rQueue@{STL\_rQueue}}
\doxysubsubsection{\texorpdfstring{The\_size()}{The\_size()}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} STL\+\_\+r\+Queue\+::\+The\+\_\+size (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
返回成员数量
\begin{DoxyReturn}{返回}
成员数量,为u8类型,如u32将占4个元素
\end{DoxyReturn}
在文件 \mbox{\hyperlink{_s_t_l___queue_8cpp_source}{STL\+\_\+\+Queue.\+cpp}}\mbox{\hyperlink{_s_t_l___queue_8cpp_source_l00112}{112}} 行定义.
\mbox{\Hypertarget{class_s_t_l__r_queue_a3507658579a1abb5e50b34b6bb536ece}\label{class_s_t_l__r_queue_a3507658579a1abb5e50b34b6bb536ece}}
\index{STL\_rQueue@{STL\_rQueue}!top@{top}}
\index{top@{top}!STL\_rQueue@{STL\_rQueue}}
\doxysubsubsection{\texorpdfstring{top()}{top()}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} STL\+\_\+r\+Queue\+::top (\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___queue_8cpp_source}{STL\+\_\+\+Queue.\+cpp}}\mbox{\hyperlink{_s_t_l___queue_8cpp_source_l00102}{102}} 行定义.
这是这个函数的调用关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=322pt]{class_s_t_l__r_queue_a3507658579a1abb5e50b34b6bb536ece_icgraph}
\end{center}
\end{figure}
\doxysubsection{类成员变量说明}
\mbox{\Hypertarget{class_s_t_l__r_queue_a32e298e5a9194d97492496f5f311068b}\label{class_s_t_l__r_queue_a32e298e5a9194d97492496f5f311068b}}
\index{STL\_rQueue@{STL\_rQueue}!dat@{dat}}
\index{dat@{dat}!STL\_rQueue@{STL\_rQueue}}
\doxysubsubsection{\texorpdfstring{dat}{dat}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}$\ast$ STL\+\_\+r\+Queue\+::dat\hspace{0.3cm}{\ttfamily [private]}}
在文件 \mbox{\hyperlink{_s_t_l___queue_8h_source}{STL\+\_\+\+Queue.\+h}}\mbox{\hyperlink{_s_t_l___queue_8h_source_l00079}{79}} 行定义.
\mbox{\Hypertarget{class_s_t_l__r_queue_a8deafb8a60277665e85b99deeff96d8c}\label{class_s_t_l__r_queue_a8deafb8a60277665e85b99deeff96d8c}}
\index{STL\_rQueue@{STL\_rQueue}!poptopfun@{poptopfun}}
\index{poptopfun@{poptopfun}!STL\_rQueue@{STL\_rQueue}}
\doxysubsubsection{\texorpdfstring{poptopfun}{poptopfun}}
{\footnotesize\ttfamily void($\ast$)(void) STL\+\_\+r\+Queue\+::poptopfun(void)}
在文件 \mbox{\hyperlink{_s_t_l___queue_8h_source}{STL\+\_\+\+Queue.\+h}}\mbox{\hyperlink{_s_t_l___queue_8h_source_l00075}{75}} 行定义.
\mbox{\Hypertarget{class_s_t_l__r_queue_a42636190858b2aa8bdf93b80f2e3ed33}\label{class_s_t_l__r_queue_a42636190858b2aa8bdf93b80f2e3ed33}}
\index{STL\_rQueue@{STL\_rQueue}!room@{room}}
\index{room@{room}!STL\_rQueue@{STL\_rQueue}}
\doxysubsubsection{\texorpdfstring{room}{room}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} STL\+\_\+r\+Queue\+::room\hspace{0.3cm}{\ttfamily [private]}}
在文件 \mbox{\hyperlink{_s_t_l___queue_8h_source}{STL\+\_\+\+Queue.\+h}}\mbox{\hyperlink{_s_t_l___queue_8h_source_l00077}{77}} 行定义.
\mbox{\Hypertarget{class_s_t_l__r_queue_ae5ab3dd9890cb990edaf511174da12a1}\label{class_s_t_l__r_queue_ae5ab3dd9890cb990edaf511174da12a1}}
\index{STL\_rQueue@{STL\_rQueue}!size@{size}}
\index{size@{size}!STL\_rQueue@{STL\_rQueue}}
\doxysubsubsection{\texorpdfstring{size}{size}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} STL\+\_\+r\+Queue\+::size\hspace{0.3cm}{\ttfamily [private]}}
在文件 \mbox{\hyperlink{_s_t_l___queue_8h_source}{STL\+\_\+\+Queue.\+h}}\mbox{\hyperlink{_s_t_l___queue_8h_source_l00078}{78}} 行定义.
该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item
D\+:/gitt/\+Microchip\+For32/\+STL\+\_\+\+Device/\mbox{\hyperlink{_s_t_l___queue_8h}{STL\+\_\+\+Queue.\+h}}\item
D\+:/gitt/\+Microchip\+For32/\+STL\+\_\+\+Device/\mbox{\hyperlink{_s_t_l___queue_8cpp}{STL\+\_\+\+Queue.\+cpp}}\end{DoxyCompactItemize}

View File

@@ -0,0 +1 @@
996555840fdcba57d429e5d23b3e6a1d

View File

@@ -0,0 +1 @@
af0ac2ec1e12ae6471a2f2ea6cd18bfb

View File

@@ -0,0 +1 @@
6f01b5522b022ca78a4bf99bed2044d4

View File

@@ -0,0 +1 @@
b56948fb65d593fd929dcf3e5d2a90e1

View File

@@ -0,0 +1 @@
e080ecb08e88715b842d2bf5b279d432

View File

@@ -0,0 +1 @@
f729d93949e9e95d8064547ad1c50ca6

View File

@@ -0,0 +1 @@
f0c65cf8e176afa07f8a9aa28e25ff62

View File

@@ -0,0 +1 @@
8516e0946beadd6ae08cb6f37e32decb

View File

@@ -0,0 +1,386 @@
\hypertarget{class_s_t_l__r_stack}{}\doxysection{STL\+\_\+r\+Stack类 参考}
\label{class_s_t_l__r_stack}\index{STL\_rStack@{STL\_rStack}}
一个栈的类
{\ttfamily \#include $<$STL\+\_\+\+Stack.\+h$>$}
\doxysubsection*{Public 成员函数}
\begin{DoxyCompactItemize}
\item
\mbox{\hyperlink{class_s_t_l__r_stack_a55a54a57fe2f6625ef6b995f2d95e026}{STL\+\_\+r\+Stack}} (void)
\item
\mbox{\hyperlink{class_s_t_l__r_stack_aed992153d5efc1cd3007863c8c08797c}{$\sim$\+STL\+\_\+r\+Stack}} (void)
\item
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_stack_a153de2f05c0e0164ad68fb09130bf475}{push}} (\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__r_stack_a5c7016a370c7665d554dda4b8f7dee22}{pop}} (void)
\begin{DoxyCompactList}\small\item\em 弹出一个成员 \end{DoxyCompactList}\item
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_stack_a49d2ca43dafd695e4e0d92018736f732}{top}} (\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \&var)
\begin{DoxyCompactList}\small\item\em 显示最后压入的数值 \end{DoxyCompactList}\item
\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{class_s_t_l__r_stack_ac63cd564c04e4481925ead650dfb2edf}{The\+\_\+size}} (void)
\begin{DoxyCompactList}\small\item\em 返回成员数量 \end{DoxyCompactList}\item
\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{class_s_t_l__r_stack_a22c1e309f6476f31f1e5c313b01afd13}{The\+\_\+room}} (void)
\begin{DoxyCompactList}\small\item\em 返回占用的内存数 \end{DoxyCompactList}\item
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_stack_a843cc47e7a2c281dd82392c8ed257dc1}{clean}} (void)
\begin{DoxyCompactList}\small\item\em 将申请的空间比对所需空间,腾出冗余空间 \end{DoxyCompactList}\item
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_stack_a31fd424472fcf069ec2cbcb50ab34ed1}{poptop}} (void)
\begin{DoxyCompactList}\small\item\em 弹出并且返回一个成员 \end{DoxyCompactList}\item
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__r_stack_a8a72b28e3a7faa2aae9272d90032d5a5}{push32}} (\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} var)
\begin{DoxyCompactList}\small\item\em 压入一个32位成员 \end{DoxyCompactList}\item
\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{class_s_t_l__r_stack_ad64450c2168e2551ed8fad637a8b9c99}{poptop32}} (void)
\begin{DoxyCompactList}\small\item\em 弹出并且返回一个32位成员 \end{DoxyCompactList}\item
void \mbox{\hyperlink{class_s_t_l__r_stack_a4287e70b3adaf5e2a3a941299a085b09}{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__r_stack_a4d702aae14e43421c0818dba3b8c99a1}{poptopfun}} (void)
\end{DoxyCompactItemize}
\doxysubsection*{Private 属性}
\begin{DoxyCompactItemize}
\item
\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{class_s_t_l__r_stack_a857415d9ae151b6acd395760b2e9cedf}{room}}
\item
\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{class_s_t_l__r_stack_adf95fc53b74c9955a648f3500ae1e746}{size}}
\item
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} $\ast$ \mbox{\hyperlink{class_s_t_l__r_stack_a2ff878cef1cc42db3c31812e654c8674}{dat}}
\end{DoxyCompactItemize}
\doxysubsection{详细描述}
一个栈的类
\begin{DoxyNote}{注解}
使用realloc重新分配方式组织 栈的内存空间的连续的,适合小数据常规速度交换数据
\end{DoxyNote}
在文件 \mbox{\hyperlink{_s_t_l___stack_8h_source}{STL\+\_\+\+Stack.\+h}}\mbox{\hyperlink{_s_t_l___stack_8h_source_l00059}{59}} 行定义.
\doxysubsection{构造及析构函数说明}
\mbox{\Hypertarget{class_s_t_l__r_stack_a55a54a57fe2f6625ef6b995f2d95e026}\label{class_s_t_l__r_stack_a55a54a57fe2f6625ef6b995f2d95e026}}
\index{STL\_rStack@{STL\_rStack}!STL\_rStack@{STL\_rStack}}
\index{STL\_rStack@{STL\_rStack}!STL\_rStack@{STL\_rStack}}
\doxysubsubsection{\texorpdfstring{STL\_rStack()}{STL\_rStack()}}
{\footnotesize\ttfamily STL\+\_\+r\+Stack\+::\+STL\+\_\+r\+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_l00041}{41}} 行定义.
\mbox{\Hypertarget{class_s_t_l__r_stack_aed992153d5efc1cd3007863c8c08797c}\label{class_s_t_l__r_stack_aed992153d5efc1cd3007863c8c08797c}}
\index{STL\_rStack@{STL\_rStack}!````~STL\_rStack@{$\sim$STL\_rStack}}
\index{````~STL\_rStack@{$\sim$STL\_rStack}!STL\_rStack@{STL\_rStack}}
\doxysubsubsection{\texorpdfstring{$\sim$STL\_rStack()}{~STL\_rStack()}}
{\footnotesize\ttfamily STL\+\_\+r\+Stack\+::$\sim$\+STL\+\_\+r\+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_l00046}{46}} 行定义.
\doxysubsection{成员函数说明}
\mbox{\Hypertarget{class_s_t_l__r_stack_a843cc47e7a2c281dd82392c8ed257dc1}\label{class_s_t_l__r_stack_a843cc47e7a2c281dd82392c8ed257dc1}}
\index{STL\_rStack@{STL\_rStack}!clean@{clean}}
\index{clean@{clean}!STL\_rStack@{STL\_rStack}}
\doxysubsubsection{\texorpdfstring{clean()}{clean()}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} STL\+\_\+r\+Stack\+::clean (\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_l00125}{125}} 行定义.
\mbox{\Hypertarget{class_s_t_l__r_stack_a5c7016a370c7665d554dda4b8f7dee22}\label{class_s_t_l__r_stack_a5c7016a370c7665d554dda4b8f7dee22}}
\index{STL\_rStack@{STL\_rStack}!pop@{pop}}
\index{pop@{pop}!STL\_rStack@{STL\_rStack}}
\doxysubsubsection{\texorpdfstring{pop()}{pop()}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} STL\+\_\+r\+Stack\+::pop (\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_l00083}{83}} 行定义.
这是这个函数的调用关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=318pt]{class_s_t_l__r_stack_a5c7016a370c7665d554dda4b8f7dee22_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{class_s_t_l__r_stack_a31fd424472fcf069ec2cbcb50ab34ed1}\label{class_s_t_l__r_stack_a31fd424472fcf069ec2cbcb50ab34ed1}}
\index{STL\_rStack@{STL\_rStack}!poptop@{poptop}}
\index{poptop@{poptop}!STL\_rStack@{STL\_rStack}}
\doxysubsubsection{\texorpdfstring{poptop()}{poptop()}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} STL\+\_\+r\+Stack\+::poptop (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
弹出并且返回一个成员
\begin{DoxyReturn}{返回}
弹出的成员值
\end{DoxyReturn}
\begin{DoxyNote}{注解}
该函数不会检查成功与否
\end{DoxyNote}
在文件 \mbox{\hyperlink{_s_t_l___stack_8cpp_source}{STL\+\_\+\+Stack.\+cpp}}\mbox{\hyperlink{_s_t_l___stack_8cpp_source_l00164}{164}} 行定义.
函数调用图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=308pt]{class_s_t_l__r_stack_a31fd424472fcf069ec2cbcb50ab34ed1_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{class_s_t_l__r_stack_ad64450c2168e2551ed8fad637a8b9c99}\label{class_s_t_l__r_stack_ad64450c2168e2551ed8fad637a8b9c99}}
\index{STL\_rStack@{STL\_rStack}!poptop32@{poptop32}}
\index{poptop32@{poptop32}!STL\_rStack@{STL\_rStack}}
\doxysubsubsection{\texorpdfstring{poptop32()}{poptop32()}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} STL\+\_\+r\+Stack\+::poptop32 (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
弹出并且返回一个32位成员
\begin{DoxyReturn}{返回}
弹出的成员值
\end{DoxyReturn}
\begin{DoxyNote}{注解}
该函数不会检查成功与否
\end{DoxyNote}
在文件 \mbox{\hyperlink{_s_t_l___stack_8cpp_source}{STL\+\_\+\+Stack.\+cpp}}\mbox{\hyperlink{_s_t_l___stack_8cpp_source_l00174}{174}} 行定义.
函数调用图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=318pt]{class_s_t_l__r_stack_ad64450c2168e2551ed8fad637a8b9c99_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{class_s_t_l__r_stack_a153de2f05c0e0164ad68fb09130bf475}\label{class_s_t_l__r_stack_a153de2f05c0e0164ad68fb09130bf475}}
\index{STL\_rStack@{STL\_rStack}!push@{push}}
\index{push@{push}!STL\_rStack@{STL\_rStack}}
\doxysubsubsection{\texorpdfstring{push()}{push()}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} STL\+\_\+r\+Stack\+::push (\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_l00056}{56}} 行定义.
这是这个函数的调用关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_s_t_l__r_stack_a153de2f05c0e0164ad68fb09130bf475_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{class_s_t_l__r_stack_a8a72b28e3a7faa2aae9272d90032d5a5}\label{class_s_t_l__r_stack_a8a72b28e3a7faa2aae9272d90032d5a5}}
\index{STL\_rStack@{STL\_rStack}!push32@{push32}}
\index{push32@{push32}!STL\_rStack@{STL\_rStack}}
\doxysubsubsection{\texorpdfstring{push32()}{push32()}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} STL\+\_\+r\+Stack\+::push32 (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}}}]{var }\end{DoxyParamCaption})}
压入一个32位成员
\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_l00152}{152}} 行定义.
函数调用图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=316pt]{class_s_t_l__r_stack_a8a72b28e3a7faa2aae9272d90032d5a5_cgraph}
\end{center}
\end{figure}
这是这个函数的调用关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=328pt]{class_s_t_l__r_stack_a8a72b28e3a7faa2aae9272d90032d5a5_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{class_s_t_l__r_stack_a4287e70b3adaf5e2a3a941299a085b09}\label{class_s_t_l__r_stack_a4287e70b3adaf5e2a3a941299a085b09}}
\index{STL\_rStack@{STL\_rStack}!pushfun@{pushfun}}
\index{pushfun@{pushfun}!STL\_rStack@{STL\_rStack}}
\doxysubsubsection{\texorpdfstring{pushfun()}{pushfun()}}
{\footnotesize\ttfamily void STL\+\_\+r\+Stack\+::pushfun (\begin{DoxyParamCaption}\item[{void($\ast$)(void)}]{fun }\end{DoxyParamCaption})}
压入一个void($\ast$)void函数
\begin{DoxyNote}{注解}
该函数不会检查成功与否
\end{DoxyNote}
在文件 \mbox{\hyperlink{_s_t_l___stack_8cpp_source}{STL\+\_\+\+Stack.\+cpp}}\mbox{\hyperlink{_s_t_l___stack_8cpp_source_l00194}{194}} 行定义.
函数调用图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_s_t_l__r_stack_a4287e70b3adaf5e2a3a941299a085b09_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{class_s_t_l__r_stack_a22c1e309f6476f31f1e5c313b01afd13}\label{class_s_t_l__r_stack_a22c1e309f6476f31f1e5c313b01afd13}}
\index{STL\_rStack@{STL\_rStack}!The\_room@{The\_room}}
\index{The\_room@{The\_room}!STL\_rStack@{STL\_rStack}}
\doxysubsubsection{\texorpdfstring{The\_room()}{The\_room()}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} STL\+\_\+r\+Stack\+::\+The\+\_\+room (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
返回占用的内存数
\begin{DoxyReturn}{返回}
内存数,u8类型
\end{DoxyReturn}
在文件 \mbox{\hyperlink{_s_t_l___stack_8cpp_source}{STL\+\_\+\+Stack.\+cpp}}\mbox{\hyperlink{_s_t_l___stack_8cpp_source_l00118}{118}} 行定义.
\mbox{\Hypertarget{class_s_t_l__r_stack_ac63cd564c04e4481925ead650dfb2edf}\label{class_s_t_l__r_stack_ac63cd564c04e4481925ead650dfb2edf}}
\index{STL\_rStack@{STL\_rStack}!The\_size@{The\_size}}
\index{The\_size@{The\_size}!STL\_rStack@{STL\_rStack}}
\doxysubsubsection{\texorpdfstring{The\_size()}{The\_size()}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} STL\+\_\+r\+Stack\+::\+The\+\_\+size (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
返回成员数量
\begin{DoxyReturn}{返回}
成员数量,为u8类型,如u32将占4个元素
\end{DoxyReturn}
在文件 \mbox{\hyperlink{_s_t_l___stack_8cpp_source}{STL\+\_\+\+Stack.\+cpp}}\mbox{\hyperlink{_s_t_l___stack_8cpp_source_l00111}{111}} 行定义.
\mbox{\Hypertarget{class_s_t_l__r_stack_a49d2ca43dafd695e4e0d92018736f732}\label{class_s_t_l__r_stack_a49d2ca43dafd695e4e0d92018736f732}}
\index{STL\_rStack@{STL\_rStack}!top@{top}}
\index{top@{top}!STL\_rStack@{STL\_rStack}}
\doxysubsubsection{\texorpdfstring{top()}{top()}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} STL\+\_\+r\+Stack\+::top (\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_l00101}{101}} 行定义.
这是这个函数的调用关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=316pt]{class_s_t_l__r_stack_a49d2ca43dafd695e4e0d92018736f732_icgraph}
\end{center}
\end{figure}
\doxysubsection{类成员变量说明}
\mbox{\Hypertarget{class_s_t_l__r_stack_a2ff878cef1cc42db3c31812e654c8674}\label{class_s_t_l__r_stack_a2ff878cef1cc42db3c31812e654c8674}}
\index{STL\_rStack@{STL\_rStack}!dat@{dat}}
\index{dat@{dat}!STL\_rStack@{STL\_rStack}}
\doxysubsubsection{\texorpdfstring{dat}{dat}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}$\ast$ STL\+\_\+r\+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_l00082}{82}} 行定义.
\mbox{\Hypertarget{class_s_t_l__r_stack_a4d702aae14e43421c0818dba3b8c99a1}\label{class_s_t_l__r_stack_a4d702aae14e43421c0818dba3b8c99a1}}
\index{STL\_rStack@{STL\_rStack}!poptopfun@{poptopfun}}
\index{poptopfun@{poptopfun}!STL\_rStack@{STL\_rStack}}
\doxysubsubsection{\texorpdfstring{poptopfun}{poptopfun}}
{\footnotesize\ttfamily void($\ast$)(void) STL\+\_\+r\+Stack\+::poptopfun(void)}
在文件 \mbox{\hyperlink{_s_t_l___stack_8h_source}{STL\+\_\+\+Stack.\+h}}\mbox{\hyperlink{_s_t_l___stack_8h_source_l00078}{78}} 行定义.
\mbox{\Hypertarget{class_s_t_l__r_stack_a857415d9ae151b6acd395760b2e9cedf}\label{class_s_t_l__r_stack_a857415d9ae151b6acd395760b2e9cedf}}
\index{STL\_rStack@{STL\_rStack}!room@{room}}
\index{room@{room}!STL\_rStack@{STL\_rStack}}
\doxysubsubsection{\texorpdfstring{room}{room}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} STL\+\_\+r\+Stack\+::room\hspace{0.3cm}{\ttfamily [private]}}
在文件 \mbox{\hyperlink{_s_t_l___stack_8h_source}{STL\+\_\+\+Stack.\+h}}\mbox{\hyperlink{_s_t_l___stack_8h_source_l00080}{80}} 行定义.
\mbox{\Hypertarget{class_s_t_l__r_stack_adf95fc53b74c9955a648f3500ae1e746}\label{class_s_t_l__r_stack_adf95fc53b74c9955a648f3500ae1e746}}
\index{STL\_rStack@{STL\_rStack}!size@{size}}
\index{size@{size}!STL\_rStack@{STL\_rStack}}
\doxysubsubsection{\texorpdfstring{size}{size}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} STL\+\_\+r\+Stack\+::size\hspace{0.3cm}{\ttfamily [private]}}
在文件 \mbox{\hyperlink{_s_t_l___stack_8h_source}{STL\+\_\+\+Stack.\+h}}\mbox{\hyperlink{_s_t_l___stack_8h_source_l00081}{81}} 行定义.
该类的文档由以下文件生成\+:\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}

View File

@@ -0,0 +1 @@
b50fb90cb20cc5444446d1c3b107c7e7

View File

@@ -0,0 +1 @@
1d1175ac13baadfac08cead0f3fb085e

View File

@@ -0,0 +1 @@
eec18a037daf79a0729402d0e1809af1

View File

@@ -0,0 +1 @@
4bacb7f5470dc5adcf4bffa9da603d5d

View File

@@ -0,0 +1 @@
9d6ac3a23c7ff86a696f9ec6a241776b

View File

@@ -0,0 +1 @@
dd10cd08e301a4eec6016ded2a338980

View File

@@ -0,0 +1 @@
3f86294f91bcdd9b67fa6c4b89e2a0a4

View File

@@ -0,0 +1 @@
64c15fcbaa60380d9028d1d839cf9d1c

View File

@@ -0,0 +1,18 @@
\hypertarget{dir_0936a1419b13b4c1cc024f8a391d85b5}{}\doxysection{D\+:/工作库/\+Git\+Hub/\+Microchip\+For32 目录参考}
\label{dir_0936a1419b13b4c1cc024f8a391d85b5}\index{D:/工作库/GitHub/MicrochipFor32 目录参考@{D:/工作库/GitHub/MicrochipFor32 目录参考}}
Microchip\+For32 的目录依赖关系图\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{dir_0936a1419b13b4c1cc024f8a391d85b5_dep}
\end{center}
\end{figure}
\doxysubsection*{目录}
\begin{DoxyCompactItemize}
\item
目录 \mbox{\hyperlink{dir_4f264fdd5c3f67b0e43d3ddbd0362c60}{bscpp\+\_\+\+Device}}
\item
目录 \mbox{\hyperlink{dir_ff5aa5711c067f6363abd974623e90b6}{bscpp\+\_\+\+System}}
\item
目录 \mbox{\hyperlink{dir_cd2ab5de8d7303838509c3f59e9125a0}{STL\+\_\+\+Device}}
\end{DoxyCompactItemize}

View File

@@ -0,0 +1 @@
913c9cf565ad957bc65c04e9abb92804

Some files were not shown because too many files have changed in this diff Show More