Tramway SDK
Public Member Functions | Protected Attributes | List of all members
tram::Stack< T > Class Template Reference

#include <stack.h>

Public Member Functions

 Stack (std::string name, uint64_t initialSize)
 
T * AddNew ()
 
void Remove ()
 
T * GetLastPtr ()
 
uint64_t GetLength ()
 
void Reset ()
 
T & top ()
 

Protected Attributes

std::string stackName
 
uint64_t stackLength
 
uint64_t stackSize
 
T * first
 
T * last
 
T * firstend
 
T * lastend
 

Constructor & Destructor Documentation

◆ Stack()

template<typename T >
tram::Stack< T >::Stack ( std::string  name,
uint64_t  initialSize 
)
inline

Member Function Documentation

◆ AddNew()

template<typename T >
T * tram::Stack< T >::AddNew ( )
inline

◆ GetLastPtr()

template<typename T >
T * tram::Stack< T >::GetLastPtr ( )
inline

◆ GetLength()

template<typename T >
uint64_t tram::Stack< T >::GetLength ( )
inline

◆ Remove()

template<typename T >
void tram::Stack< T >::Remove ( )
inline

◆ Reset()

template<typename T >
void tram::Stack< T >::Reset ( )
inline

◆ top()

template<typename T >
T & tram::Stack< T >::top ( )
inline

Member Data Documentation

◆ first

template<typename T >
T* tram::Stack< T >::first
protected

◆ firstend

template<typename T >
T* tram::Stack< T >::firstend
protected

◆ last

template<typename T >
T* tram::Stack< T >::last
protected

◆ lastend

template<typename T >
T* tram::Stack< T >::lastend
protected

◆ stackLength

template<typename T >
uint64_t tram::Stack< T >::stackLength
protected

◆ stackName

template<typename T >
std::string tram::Stack< T >::stackName
protected

◆ stackSize

template<typename T >
uint64_t tram::Stack< T >::stackSize
protected

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