栈
0.1
数据结构_第3章
|
#include <seqList.h>
Classes | |
class | const_iterator |
class | iterator |
Public Member Functions | |
seqList (int initSize=10) | |
seqList (const seqList< T > &rhs) | |
seqList (seqList< T > &&rvalue) | |
virtual | ~seqList () |
virtual void | clear () |
virtual int | length () const |
virtual void | insert (int i, const T &obj) |
virtual void | remove (int i) |
virtual int | search (const T &obj) const |
virtual T | visit (int i) const |
virtual void | traverse () const |
virtual iterator | begin () |
virtual const_iterator | begin () const |
virtual iterator | end () |
virtual const_iterator | end () const |
Private Member Functions | |
void | doubleSpace () |
Private Attributes | |
T * | data |
int | currentLength |
int | maxSize |
List::seqList< T >::seqList | ( | int | initSize = 10 | ) |
List::seqList< T >::seqList | ( | const seqList< T > & | rhs | ) |
Definition at line 155 of file seqList.h.
References List::seqList< T >::maxSize.
List::seqList< T >::seqList | ( | seqList< T > && | rvalue | ) |
|
virtual |
|
inlinevirtual |
Definition at line 97 of file seqList.h.
References List::seqList< T >::data.
|
inlinevirtual |
Definition at line 98 of file seqList.h.
References List::seqList< T >::data.
|
virtual |
Implements List::List< T >.
|
private |
|
inlinevirtual |
Definition at line 99 of file seqList.h.
References List::seqList< T >::currentLength, and List::seqList< T >::data.
|
inlinevirtual |
Definition at line 100 of file seqList.h.
References List::seqList< T >::currentLength, and List::seqList< T >::data.
|
virtual |
Implements List::List< T >.
Definition at line 184 of file seqList.h.
Referenced by List::operator+().
|
virtual |
Implements List::List< T >.
Definition at line 117 of file seqList.h.
Referenced by List::operator+().
|
virtual |
Implements List::List< T >.
|
virtual |
Implements List::List< T >.
|
virtual |
|
virtual |
Implements List::List< T >.
Definition at line 123 of file seqList.h.
Referenced by List::operator+().
|
private |
Definition at line 26 of file seqList.h.
Referenced by List::seqList< T >::end().
|
private |
Definition at line 25 of file seqList.h.
Referenced by List::seqList< T >::begin(), and List::seqList< T >::end().
|
private |
Definition at line 27 of file seqList.h.
Referenced by List::seqList< T >::seqList().