#include <stl_stack.h>
Collaboration diagram for stack:

Public Types | |
| typedef Sequence::value_type | value_type |
| typedef Sequence::size_type | size_type |
| typedef Sequence::reference | reference |
| typedef Sequence::const_reference | const_reference |
Public Methods | |
| bool | empty () const |
| size_type | size () const |
| reference | top () |
| const_reference | top () const |
| void | push (const value_type &x) |
| void | pop () |
Protected Attributes | |
| Sequence | c |
Friends | |
| bool | operator==__STL_NULL_TMPL_ARGS (const stack &, const stack &) |
| bool | operator<__STL_NULL_TMPL_ARGS (const stack &, const stack &) |
|
|||||
|
Definition at line 48 of file stl_stack.h. Referenced by top. |
|
|||||
|
Definition at line 47 of file stl_stack.h. Referenced by top. |
|
|||||
|
Definition at line 46 of file stl_stack.h. Referenced by size. |
|
|||||
|
Definition at line 45 of file stl_stack.h. Referenced by push. |
|
|||||||||
|
Definition at line 52 of file stl_stack.h. References c.
00052 { return c.empty(); }
|
|
|||||||||
|
Definition at line 57 of file stl_stack.h. References c.
00057 { c.pop_back(); }
|
|
||||||||||
|
Definition at line 56 of file stl_stack.h. References c, and value_type.
00056 { c.push_back(x); }
|
|
|||||||||
|
Definition at line 53 of file stl_stack.h.
00053 { return c.size(); }
|
|
|||||||||
|
Definition at line 55 of file stl_stack.h. References c, and const_reference.
00055 { return c.back(); }
|
|
|||||||||
|
Definition at line 54 of file stl_stack.h.
00054 { return c.back(); }
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
|||||
|
Definition at line 50 of file stl_stack.h. |
| Documentation generated on Thu May 2 15:03:45 2002 |
Generated with doxygen 1.2.12 by Dimitri van Heesch , 1997-2001 |