|
C3D Toolkit
Kernel - 118069, Vision - 2.16.7.1844
|
Stack of pointers. More...
#include <templ_rp_stack.h>
Inheritance diagram for RPStack< Type >:
Collaboration diagram for RPStack< Type >:Public Member Functions | |
| void | Push (Type &obj) |
| Add an element to the stack. | |
| Type * | Pop () |
| Retrieve one element from the stack, if nullptr is returned then the bottom of stack is reached. | |
| Type * | Top () const |
| The top element of the stack. | |
Stack of pointers.
Stack of pointers without ownership.
For the organization of the stack use RPArray as the base and cut all unnecessary by the private inheritance.