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