![]()  | 
  
    PeriDyno 1.2.1
    
   | 
 
Be aware do not use this structure on GPU if the data size is large. More...
#include <Stack.h>


Public Types | |
| using | iterator = T* | 
  Public Types inherited from dyno::STLBuffer< T > | |
| using | iterator = T * | 
Public Member Functions | |
| DYN_FUNC | Stack () | 
| DYN_FUNC iterator | begin () | 
| DYN_FUNC iterator | end () | 
| DYN_FUNC void | clear () | 
| DYN_FUNC uint | size () | 
| DYN_FUNC T | top () | 
| DYN_FUNC void | push (T val) | 
| DYN_FUNC void | pop () | 
| DYN_FUNC bool | empty () | 
| DYN_FUNC uint | count (T val) | 
  Public Member Functions inherited from dyno::STLBuffer< T > | |
| DYN_FUNC | STLBuffer () | 
| DYN_FUNC void | reserve (T *beg, uint buffer_size) | 
| DYN_FUNC uint | max_size () | 
Private Attributes | |
| uint | m_size = 0 | 
Additional Inherited Members | |
  Protected Member Functions inherited from dyno::STLBuffer< T > | |
| DYN_FUNC T * | bufferEnd () | 
  Protected Attributes inherited from dyno::STLBuffer< T > | |
| uint | m_maxSize = 0 | 
| T * | m_startLoc = nullptr | 
Be aware do not use this structure on GPU if the data size is large.
| T | 
| DYN_FUNC dyno::Stack< T >::Stack | ( | ) | 
      
  | 
  inline | 
| DYN_FUNC void dyno::Stack< T >::clear | ( | ) | 
| DYN_FUNC uint dyno::Stack< T >::count | ( | T | val | ) | 
| DYN_FUNC bool dyno::Stack< T >::empty | ( | ) | 
      
  | 
  inline | 
| DYN_FUNC void dyno::Stack< T >::pop | ( | ) | 
| DYN_FUNC void dyno::Stack< T >::push | ( | T | val | ) | 
| DYN_FUNC uint dyno::Stack< T >::size | ( | ) | 
      
  | 
  private |