C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

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.
 

Detailed Description

template<class Type>
class RPStack< Type >

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.


The documentation for this class was generated from the following file: