BioDynaMo  v1.05.120-25dc9790
Public Member Functions | Private Attributes | List of all members
bdm::Stack< T > Class Template Reference

Public Member Functions

 Stack (uint64_t max_elements)
 
void Push (const T &el)
 
const T & Pop ()
 
T & Top ()
 
uint64_t Size () const
 

Private Attributes

std::vector< T > data_
 
int64_t top_ = -1
 

Detailed Description

template<typename T>
class bdm::Stack< T >

Definition at line 23 of file morton_order.cc.

Constructor & Destructor Documentation

◆ Stack()

template<typename T >
bdm::Stack< T >::Stack ( uint64_t  max_elements)
inline

Definition at line 25 of file morton_order.cc.

Member Function Documentation

◆ Pop()

template<typename T >
const T& bdm::Stack< T >::Pop ( )
inline

Definition at line 32 of file morton_order.cc.

◆ Push()

template<typename T >
void bdm::Stack< T >::Push ( const T &  el)
inline

Definition at line 27 of file morton_order.cc.

◆ Size()

template<typename T >
uint64_t bdm::Stack< T >::Size ( ) const
inline

Definition at line 38 of file morton_order.cc.

◆ Top()

template<typename T >
T& bdm::Stack< T >::Top ( )
inline

Definition at line 37 of file morton_order.cc.

Member Data Documentation

◆ data_

template<typename T >
std::vector<T> bdm::Stack< T >::data_
private

Definition at line 41 of file morton_order.cc.

◆ top_

template<typename T >
int64_t bdm::Stack< T >::top_ = -1
private

Definition at line 42 of file morton_order.cc.


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