树
0.1
数据结构_第6章
|
#include <seqStack.hxx>
Public Member Functions | |
seqStack (int initSize=10) | |
seqStack (std::initializer_list< T > &&il) | |
virtual bool | isEmpty () const |
virtual void | push (const T &elem) |
virtual void | push (T &&elem) |
virtual T | pop () |
virtual T | top () const |
int | size () const |
int | elemMem () const |
virtual | ~seqStack () |
bool | empty () const |
Public Member Functions inherited from Stack::Stack< T > | |
virtual | ~Stack ()=default |
Private Member Functions | |
void | doubleSpace () |
Private Attributes | |
T * | elem |
int | top_p |
int | maxSize |
Definition at line 37 of file seqStack.hxx.
Stack::seqStack< T >::seqStack | ( | int | initSize = 10 | ) |
Definition at line 60 of file seqStack.hxx.
Stack::seqStack< T >::seqStack | ( | std::initializer_list< T > && | il | ) |
Definition at line 66 of file seqStack.hxx.
|
virtual |
Definition at line 74 of file seqStack.hxx.
|
private |
Definition at line 116 of file seqStack.hxx.
int Stack::seqStack< T >::elemMem |
Definition at line 134 of file seqStack.hxx.
|
inline |
Definition at line 68 of file seqStack.hxx.
|
virtual |
Implements Stack::Stack< T >.
Definition at line 80 of file seqStack.hxx.
|
virtual |
Implements Stack::Stack< T >.
Definition at line 104 of file seqStack.hxx.
|
virtual |
Implements Stack::Stack< T >.
Definition at line 86 of file seqStack.hxx.
|
virtual |
Definition at line 95 of file seqStack.hxx.
int Stack::seqStack< T >::size |
Definition at line 128 of file seqStack.hxx.
|
virtual |
Implements Stack::Stack< T >.
Definition at line 110 of file seqStack.hxx.
|
private |
Definition at line 52 of file seqStack.hxx.
|
private |
Definition at line 54 of file seqStack.hxx.
|
private |
Definition at line 53 of file seqStack.hxx.