Public Types | Public Member Functions | Public Attributes | List of all members
sol::stack_iterator< proxy_t, is_const > Struct Template Reference

#include <sol.hpp>

Public Types

typedef std::ptrdiff_t difference_type
 
typedef std::random_access_iterator_tag iterator_category
 
typedef meta::conditional_t< is_const, const proxy_t *, proxy_t * > pointer
 
typedef meta::conditional_t< is_const, const proxy_t, proxy_t > reference
 
typedef proxy_t value_type
 

Public Member Functions

bool operator!= (const stack_iterator &r) const
 
reference operator* ()
 
reference operator* () const
 
stack_iterator operator+ (difference_type idx) const
 
stack_iteratoroperator++ ()
 
stack_iterator operator++ (int)
 
stack_iteratoroperator+= (difference_type idx)
 
difference_type operator- (const stack_iterator &r) const
 
stack_iteratoroperator-- ()
 
stack_iterator operator-- (int)
 
stack_iteratoroperator-= (difference_type idx)
 
pointer operator-> ()
 
pointer operator-> () const
 
bool operator< (const stack_iterator &r) const
 
bool operator<= (const stack_iterator &r) const
 
bool operator== (const stack_iterator &r) const
 
bool operator> (const stack_iterator &r) const
 
bool operator>= (const stack_iterator &r) const
 
reference operator[] (difference_type idx) const
 
 stack_iterator ()
 
 stack_iterator (const stack_iterator< proxy_t, true > &r)
 
 stack_iterator (lua_State *luastate, int idx, int topidx)
 

Public Attributes

int index
 
lua_StateL
 
proxy_t sp
 
int stacktop
 

Detailed Description

template<typename proxy_t, bool is_const>
struct sol::stack_iterator< proxy_t, is_const >

Definition at line 16994 of file sol.hpp.

Member Typedef Documentation

◆ difference_type

template<typename proxy_t , bool is_const>
typedef std::ptrdiff_t sol::stack_iterator< proxy_t, is_const >::difference_type

Definition at line 16998 of file sol.hpp.

◆ iterator_category

template<typename proxy_t , bool is_const>
typedef std::random_access_iterator_tag sol::stack_iterator< proxy_t, is_const >::iterator_category

Definition at line 16999 of file sol.hpp.

◆ pointer

template<typename proxy_t , bool is_const>
typedef meta::conditional_t<is_const, const proxy_t*, proxy_t*> sol::stack_iterator< proxy_t, is_const >::pointer

Definition at line 16996 of file sol.hpp.

◆ reference

template<typename proxy_t , bool is_const>
typedef meta::conditional_t<is_const, const proxy_t, proxy_t> sol::stack_iterator< proxy_t, is_const >::reference

Definition at line 16995 of file sol.hpp.

◆ value_type

template<typename proxy_t , bool is_const>
typedef proxy_t sol::stack_iterator< proxy_t, is_const >::value_type

Definition at line 16997 of file sol.hpp.

Constructor & Destructor Documentation

◆ stack_iterator() [1/3]

template<typename proxy_t , bool is_const>
sol::stack_iterator< proxy_t, is_const >::stack_iterator ( )
inline

Definition at line 17005 of file sol.hpp.

◆ stack_iterator() [2/3]

template<typename proxy_t , bool is_const>
sol::stack_iterator< proxy_t, is_const >::stack_iterator ( const stack_iterator< proxy_t, true > &  r)
inline

Definition at line 17007 of file sol.hpp.

◆ stack_iterator() [3/3]

template<typename proxy_t , bool is_const>
sol::stack_iterator< proxy_t, is_const >::stack_iterator ( lua_State luastate,
int  idx,
int  topidx 
)
inline

Definition at line 17009 of file sol.hpp.

Member Function Documentation

◆ operator!=()

template<typename proxy_t , bool is_const>
bool sol::stack_iterator< proxy_t, is_const >::operator!= ( const stack_iterator< proxy_t, is_const > &  r) const
inline

Definition at line 17086 of file sol.hpp.

◆ operator*() [1/2]

template<typename proxy_t , bool is_const>
reference sol::stack_iterator< proxy_t, is_const >::operator* ( )
inline

Definition at line 17012 of file sol.hpp.

◆ operator*() [2/2]

template<typename proxy_t , bool is_const>
reference sol::stack_iterator< proxy_t, is_const >::operator* ( ) const
inline

Definition at line 17016 of file sol.hpp.

◆ operator+()

template<typename proxy_t , bool is_const>
stack_iterator sol::stack_iterator< proxy_t, is_const >::operator+ ( difference_type  idx) const
inline

Definition at line 17066 of file sol.hpp.

◆ operator++() [1/2]

template<typename proxy_t , bool is_const>
stack_iterator& sol::stack_iterator< proxy_t, is_const >::operator++ ( )
inline

Definition at line 17030 of file sol.hpp.

◆ operator++() [2/2]

template<typename proxy_t , bool is_const>
stack_iterator sol::stack_iterator< proxy_t, is_const >::operator++ ( int  )
inline

Definition at line 17035 of file sol.hpp.

◆ operator+=()

template<typename proxy_t , bool is_const>
stack_iterator& sol::stack_iterator< proxy_t, is_const >::operator+= ( difference_type  idx)
inline

Definition at line 17052 of file sol.hpp.

◆ operator-()

template<typename proxy_t , bool is_const>
difference_type sol::stack_iterator< proxy_t, is_const >::operator- ( const stack_iterator< proxy_t, is_const > &  r) const
inline

Definition at line 17062 of file sol.hpp.

◆ operator--() [1/2]

template<typename proxy_t , bool is_const>
stack_iterator& sol::stack_iterator< proxy_t, is_const >::operator-- ( )
inline

Definition at line 17041 of file sol.hpp.

◆ operator--() [2/2]

template<typename proxy_t , bool is_const>
stack_iterator sol::stack_iterator< proxy_t, is_const >::operator-- ( int  )
inline

Definition at line 17046 of file sol.hpp.

◆ operator-=()

template<typename proxy_t , bool is_const>
stack_iterator& sol::stack_iterator< proxy_t, is_const >::operator-= ( difference_type  idx)
inline

Definition at line 17057 of file sol.hpp.

◆ operator->() [1/2]

template<typename proxy_t , bool is_const>
pointer sol::stack_iterator< proxy_t, is_const >::operator-> ( )
inline

Definition at line 17020 of file sol.hpp.

◆ operator->() [2/2]

template<typename proxy_t , bool is_const>
pointer sol::stack_iterator< proxy_t, is_const >::operator-> ( ) const
inline

Definition at line 17025 of file sol.hpp.

◆ operator<()

template<typename proxy_t , bool is_const>
bool sol::stack_iterator< proxy_t, is_const >::operator< ( const stack_iterator< proxy_t, is_const > &  r) const
inline

Definition at line 17090 of file sol.hpp.

◆ operator<=()

template<typename proxy_t , bool is_const>
bool sol::stack_iterator< proxy_t, is_const >::operator<= ( const stack_iterator< proxy_t, is_const > &  r) const
inline

Definition at line 17098 of file sol.hpp.

◆ operator==()

template<typename proxy_t , bool is_const>
bool sol::stack_iterator< proxy_t, is_const >::operator== ( const stack_iterator< proxy_t, is_const > &  r) const
inline

Definition at line 17076 of file sol.hpp.

◆ operator>()

template<typename proxy_t , bool is_const>
bool sol::stack_iterator< proxy_t, is_const >::operator> ( const stack_iterator< proxy_t, is_const > &  r) const
inline

Definition at line 17094 of file sol.hpp.

◆ operator>=()

template<typename proxy_t , bool is_const>
bool sol::stack_iterator< proxy_t, is_const >::operator>= ( const stack_iterator< proxy_t, is_const > &  r) const
inline

Definition at line 17102 of file sol.hpp.

◆ operator[]()

template<typename proxy_t , bool is_const>
reference sol::stack_iterator< proxy_t, is_const >::operator[] ( difference_type  idx) const
inline

Definition at line 17072 of file sol.hpp.

Member Data Documentation

◆ index

template<typename proxy_t , bool is_const>
int sol::stack_iterator< proxy_t, is_const >::index

Definition at line 17001 of file sol.hpp.

◆ L

template<typename proxy_t , bool is_const>
lua_State* sol::stack_iterator< proxy_t, is_const >::L

Definition at line 17000 of file sol.hpp.

◆ sp

template<typename proxy_t , bool is_const>
proxy_t sol::stack_iterator< proxy_t, is_const >::sp

Definition at line 17003 of file sol.hpp.

◆ stacktop

template<typename proxy_t , bool is_const>
int sol::stack_iterator< proxy_t, is_const >::stacktop

Definition at line 17002 of file sol.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Aug 11 2024 02:24:31