Open CASCADE Technology 7.8.0
|
Stack of references to existing layers of predefined maximum size. More...
#include <OpenGl_LayerList.hxx>
Public Types | |
typedef NCollection_Array1< constGraphic3d_Layer * >::const_iterator | const_iterator |
typedef NCollection_Array1< constGraphic3d_Layer * >::iterator | iterator |
Public Member Functions | |
void | Allocate (Standard_Integer theSize) |
Reallocate internal buffer of the stack. | |
void | Clear () |
Clear stack. | |
void | Push (const OpenGl_Layer *theLayer) |
Push a new layer reference to the stack. | |
const_iterator | Origin () const |
Returns iterator to the origin of the stack. | |
iterator | Back () const |
Returns iterator to the back of the stack (after last item added). | |
iterator | Origin () |
Returns iterator to the origin of the stack. | |
Standard_Boolean | IsEmpty () const |
Returns true if nothing has been pushed into the stack. | |
Stack of references to existing layers of predefined maximum size.
typedef NCollection_Array1<constGraphic3d_Layer*>::const_iterator OpenGl_LayerList::OpenGl_LayerStack::const_iterator |
typedef NCollection_Array1<constGraphic3d_Layer*>::iterator OpenGl_LayerList::OpenGl_LayerStack::iterator |
|
inline |
Reallocate internal buffer of the stack.
|
inline |
Returns iterator to the back of the stack (after last item added).
|
inline |
Clear stack.
|
inline |
Returns true if nothing has been pushed into the stack.
|
inline |
Returns iterator to the origin of the stack.
|
inline |
Returns iterator to the origin of the stack.
|
inline |
Push a new layer reference to the stack.