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 15507 of file sol.hpp.

Member Typedef Documentation

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

Definition at line 15511 of file sol.hpp.

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 15512 of file sol.hpp.

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 15509 of file sol.hpp.

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 15508 of file sol.hpp.

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

Definition at line 15510 of file sol.hpp.

Constructor & Destructor Documentation

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

Definition at line 15518 of file sol.hpp.

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 15521 of file sol.hpp.

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 15524 of file sol.hpp.

Member Function Documentation

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 15602 of file sol.hpp.

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

Definition at line 15528 of file sol.hpp.

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

Definition at line 15532 of file sol.hpp.

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 15582 of file sol.hpp.

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

Definition at line 15546 of file sol.hpp.

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

Definition at line 15551 of file sol.hpp.

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

Definition at line 15568 of file sol.hpp.

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 15578 of file sol.hpp.

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

Definition at line 15557 of file sol.hpp.

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

Definition at line 15562 of file sol.hpp.

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

Definition at line 15573 of file sol.hpp.

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

Definition at line 15536 of file sol.hpp.

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

Definition at line 15541 of file sol.hpp.

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 15606 of file sol.hpp.

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 15614 of file sol.hpp.

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 15592 of file sol.hpp.

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 15610 of file sol.hpp.

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 15618 of file sol.hpp.

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

Definition at line 15588 of file sol.hpp.

Member Data Documentation

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

Definition at line 15514 of file sol.hpp.

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

Definition at line 15513 of file sol.hpp.

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

Definition at line 15516 of file sol.hpp.

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

Definition at line 15515 of file sol.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:52