Bond 0.9
C++ Bond Runtime Library API Documentation
Loading...
Searching...
No Matches
Bond::AutoStack< ValueType > Class Template Reference

#include <bond/stl/autostack.h>

Classes

class  ConstIterator
 
class  Element
 
class  Iterator
 

Public Member Functions

 AutoStack ()
 
template<typename... Args>
Element Push (Args &&... args)
 
ValueType & GetTop ()
 
const ValueType & GetTop () const
 
void SetTop (const ValueType &value)
 
void SetTop (ValueType &&value)
 
bool IsEmpty () const
 
bool Contains (const ValueType &value) const
 
Iterator begin ()
 
ConstIterator begin () const
 
ConstIterator cbegin () const
 
Iterator end ()
 
ConstIterator end () const
 
ConstIterator cend () const
 

Constructor & Destructor Documentation

◆ AutoStack()

template<typename ValueType >
Bond::AutoStack< ValueType >::AutoStack ( )
inline

Member Function Documentation

◆ begin() [1/2]

template<typename ValueType >
Iterator Bond::AutoStack< ValueType >::begin ( )
inline

◆ begin() [2/2]

template<typename ValueType >
ConstIterator Bond::AutoStack< ValueType >::begin ( ) const
inline

◆ cbegin()

template<typename ValueType >
ConstIterator Bond::AutoStack< ValueType >::cbegin ( ) const
inline

◆ cend()

template<typename ValueType >
ConstIterator Bond::AutoStack< ValueType >::cend ( ) const
inline

◆ Contains()

template<typename ValueType >
bool Bond::AutoStack< ValueType >::Contains ( const ValueType &  value) const
inline

◆ end() [1/2]

template<typename ValueType >
Iterator Bond::AutoStack< ValueType >::end ( )
inline

◆ end() [2/2]

template<typename ValueType >
ConstIterator Bond::AutoStack< ValueType >::end ( ) const
inline

◆ GetTop() [1/2]

template<typename ValueType >
ValueType & Bond::AutoStack< ValueType >::GetTop ( )
inline

◆ GetTop() [2/2]

template<typename ValueType >
const ValueType & Bond::AutoStack< ValueType >::GetTop ( ) const
inline

◆ IsEmpty()

template<typename ValueType >
bool Bond::AutoStack< ValueType >::IsEmpty ( ) const
inline

◆ Push()

template<typename ValueType >
template<typename... Args>
Element Bond::AutoStack< ValueType >::Push ( Args &&...  args)
inline

◆ SetTop() [1/2]

template<typename ValueType >
void Bond::AutoStack< ValueType >::SetTop ( const ValueType &  value)
inline

◆ SetTop() [2/2]

template<typename ValueType >
void Bond::AutoStack< ValueType >::SetTop ( ValueType &&  value)
inline

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