Public Types | Public Member Functions | Private Attributes | List of all members
sol::variadic_args Struct Reference

#include <sol.hpp>

Public Types

typedef stack_iterator< stack_proxy, true > const_iterator
 
typedef std::reverse_iterator< const_iteratorconst_reverse_iterator
 
typedef std::ptrdiff_t difference_type
 
typedef stack_iterator< stack_proxy, false > iterator
 
typedef stack_proxypointer
 
typedef stack_proxy reference_type
 
typedef std::reverse_iterator< iteratorreverse_iterator
 
typedef std::size_t size_type
 
typedef stack_proxy value_type
 

Public Member Functions

iterator begin ()
 
const_iterator begin () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
const_reverse_iterator crbegin () const
 
const_reverse_iterator crend () const
 
iterator end ()
 
const_iterator end () const
 
template<typename T >
decltype(auto) get (difference_type index_offset=0) const
 
type get_type (difference_type index_offset=0) const noexcept
 
int leftover_count () const
 
lua_Statelua_state () const
 
variadic_argsoperator= (const variadic_args &)=default
 
variadic_argsoperator= (variadic_args &&o)
 
stack_proxy operator[] (difference_type index_offset) const
 
int push () const
 
int push (lua_State *target) const
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
std::size_t size () const
 
int stack_index () const
 
int top () const
 
 variadic_args ()=default
 
 variadic_args (const variadic_args &)=default
 
 variadic_args (lua_State *luastate, int stackindex, int lastindex)
 
 variadic_args (lua_State *luastate, int stackindex=-1)
 
 variadic_args (variadic_args &&o)
 

Private Attributes

int index
 
lua_StateL
 
int stacktop
 

Detailed Description

Definition at line 28634 of file sol.hpp.

Member Typedef Documentation

◆ const_iterator

Definition at line 28647 of file sol.hpp.

◆ const_reverse_iterator

Definition at line 28649 of file sol.hpp.

◆ difference_type

typedef std::ptrdiff_t sol::variadic_args::difference_type

Definition at line 28644 of file sol.hpp.

◆ iterator

Definition at line 28646 of file sol.hpp.

◆ pointer

Definition at line 28643 of file sol.hpp.

◆ reference_type

Definition at line 28641 of file sol.hpp.

◆ reverse_iterator

typedef std::reverse_iterator<iterator> sol::variadic_args::reverse_iterator

Definition at line 28648 of file sol.hpp.

◆ size_type

typedef std::size_t sol::variadic_args::size_type

Definition at line 28645 of file sol.hpp.

◆ value_type

Definition at line 28642 of file sol.hpp.

Constructor & Destructor Documentation

◆ variadic_args() [1/5]

sol::variadic_args::variadic_args ( )
default

◆ variadic_args() [2/5]

sol::variadic_args::variadic_args ( lua_State luastate,
int  stackindex = -1 
)
inline

Definition at line 28652 of file sol.hpp.

◆ variadic_args() [3/5]

sol::variadic_args::variadic_args ( lua_State luastate,
int  stackindex,
int  lastindex 
)
inline

Definition at line 28654 of file sol.hpp.

◆ variadic_args() [4/5]

sol::variadic_args::variadic_args ( const variadic_args )
default

◆ variadic_args() [5/5]

sol::variadic_args::variadic_args ( variadic_args &&  o)
inline

Definition at line 28658 of file sol.hpp.

Member Function Documentation

◆ begin() [1/2]

iterator sol::variadic_args::begin ( )
inline

Definition at line 28679 of file sol.hpp.

◆ begin() [2/2]

const_iterator sol::variadic_args::begin ( ) const
inline

Definition at line 28685 of file sol.hpp.

◆ cbegin()

const_iterator sol::variadic_args::cbegin ( ) const
inline

Definition at line 28691 of file sol.hpp.

◆ cend()

const_iterator sol::variadic_args::cend ( ) const
inline

Definition at line 28694 of file sol.hpp.

◆ crbegin()

const_reverse_iterator sol::variadic_args::crbegin ( ) const
inline

Definition at line 28710 of file sol.hpp.

◆ crend()

const_reverse_iterator sol::variadic_args::crend ( ) const
inline

Definition at line 28713 of file sol.hpp.

◆ end() [1/2]

iterator sol::variadic_args::end ( )
inline

Definition at line 28682 of file sol.hpp.

◆ end() [2/2]

const_iterator sol::variadic_args::end ( ) const
inline

Definition at line 28688 of file sol.hpp.

◆ get()

template<typename T >
decltype(auto) sol::variadic_args::get ( difference_type  index_offset = 0) const
inline

Definition at line 28734 of file sol.hpp.

◆ get_type()

type sol::variadic_args::get_type ( difference_type  index_offset = 0) const
inlinenoexcept

Definition at line 28738 of file sol.hpp.

◆ leftover_count()

int sol::variadic_args::leftover_count ( ) const
inline

Definition at line 28752 of file sol.hpp.

◆ lua_state()

lua_State* sol::variadic_args::lua_state ( ) const
inline

Definition at line 28746 of file sol.hpp.

◆ operator=() [1/2]

variadic_args& sol::variadic_args::operator= ( const variadic_args )
default

◆ operator=() [2/2]

variadic_args& sol::variadic_args::operator= ( variadic_args &&  o)
inline

Definition at line 28666 of file sol.hpp.

◆ operator[]()

stack_proxy sol::variadic_args::operator[] ( difference_type  index_offset) const
inline

Definition at line 28742 of file sol.hpp.

◆ push() [1/2]

int sol::variadic_args::push ( ) const
inline

Definition at line 28717 of file sol.hpp.

◆ push() [2/2]

int sol::variadic_args::push ( lua_State target) const
inline

Definition at line 28721 of file sol.hpp.

◆ rbegin() [1/2]

reverse_iterator sol::variadic_args::rbegin ( )
inline

Definition at line 28698 of file sol.hpp.

◆ rbegin() [2/2]

const_reverse_iterator sol::variadic_args::rbegin ( ) const
inline

Definition at line 28704 of file sol.hpp.

◆ rend() [1/2]

reverse_iterator sol::variadic_args::rend ( )
inline

Definition at line 28701 of file sol.hpp.

◆ rend() [2/2]

const_reverse_iterator sol::variadic_args::rend ( ) const
inline

Definition at line 28707 of file sol.hpp.

◆ size()

std::size_t sol::variadic_args::size ( ) const
inline

Definition at line 28755 of file sol.hpp.

◆ stack_index()

int sol::variadic_args::stack_index ( ) const
inline

Definition at line 28749 of file sol.hpp.

◆ top()

int sol::variadic_args::top ( ) const
inline

Definition at line 28758 of file sol.hpp.

Member Data Documentation

◆ index

int sol::variadic_args::index
private

Definition at line 28637 of file sol.hpp.

◆ L

lua_State* sol::variadic_args::L
private

Definition at line 28636 of file sol.hpp.

◆ stacktop

int sol::variadic_args::stacktop
private

Definition at line 28638 of file sol.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:53