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

#include <bond/stl/autostack.h>

Public Member Functions

 Element (AutoStack &stack)
 
template<typename... Args>
 Element (AutoStack &stack, Args &&... args)
 
 ~Element ()
 
 Element (const Element &other)=delete
 
Elementoperator= (const Element &other)=delete
 
Elementoperator= (const ValueType &value)
 
Elementoperator= (ValueType &&value)
 
 operator const ValueType & () const
 
 operator ValueType & ()
 
const ValueType & GetValue () const
 
ValueType & GetValue ()
 
void SetValue (const ValueType &value)
 
void SetValue (ValueType &&value)
 

Protected Member Functions

ElementGetNext ()
 
const ElementGetNext () const
 

Protected Attributes

ValueType mValue
 

Friends

class AutoStack
 
class Iterator
 
class ConstIterator
 

Constructor & Destructor Documentation

◆ Element() [1/3]

template<typename ValueType >
Bond::AutoStack< ValueType >::Element::Element ( AutoStack stack)
inlineexplicit

◆ Element() [2/3]

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

◆ ~Element()

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

◆ Element() [3/3]

template<typename ValueType >
Bond::AutoStack< ValueType >::Element::Element ( const Element other)
delete

Member Function Documentation

◆ GetNext() [1/2]

template<typename ValueType >
Element * Bond::AutoStack< ValueType >::Element::GetNext ( )
inlineprotected

◆ GetNext() [2/2]

template<typename ValueType >
const Element * Bond::AutoStack< ValueType >::Element::GetNext ( ) const
inlineprotected

◆ GetValue() [1/2]

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

◆ GetValue() [2/2]

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

◆ operator const ValueType &()

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

◆ operator ValueType &()

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

◆ operator=() [1/3]

template<typename ValueType >
Element & Bond::AutoStack< ValueType >::Element::operator= ( const Element other)
delete

◆ operator=() [2/3]

template<typename ValueType >
Element & Bond::AutoStack< ValueType >::Element::operator= ( const ValueType &  value)
inline

◆ operator=() [3/3]

template<typename ValueType >
Element & Bond::AutoStack< ValueType >::Element::operator= ( ValueType &&  value)
inline

◆ SetValue() [1/2]

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

◆ SetValue() [2/2]

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

Friends And Related Function Documentation

◆ AutoStack

template<typename ValueType >
friend class AutoStack
friend

◆ ConstIterator

template<typename ValueType >
friend class ConstIterator
friend

◆ Iterator

template<typename ValueType >
friend class Iterator
friend

Member Data Documentation

◆ mValue

template<typename ValueType >
ValueType Bond::AutoStack< ValueType >::Element::mValue
protected

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