Public Types | Public Member Functions | Public Attributes | Private Attributes | List of all members
sol::basic_table_iterator< reference_type > Class Template Reference

#include <sol.hpp>

Public Types

typedef std::ptrdiff_t difference_type
 
typedef std::input_iterator_tag iterator_category
 
typedef object key_type
 
typedef object mapped_type
 
typedef value_typepointer
 
typedef value_typereference
 
typedef std::pair< object, objectvalue_type
 

Public Member Functions

 basic_table_iterator () noexcept
 
 basic_table_iterator (reference_type x) noexcept
 
bool operator!= (const basic_table_iterator &right) const noexcept
 
reference operator* () const noexcept
 
basic_table_iteratoroperator++ () noexcept
 
basic_table_iterator operator++ (int) noexcept
 
bool operator== (const basic_table_iterator &right) const noexcept
 
 ~basic_table_iterator ()
 

Public Attributes

const typedef value_typeconst_reference
 

Private Attributes

std::ptrdiff_t idx = 0
 
int keyidx = 0
 
std::pair< object, objectkvp
 
reference_type ref
 
int tableidx = 0
 

Detailed Description

template<typename reference_type>
class sol::basic_table_iterator< reference_type >

Definition at line 25038 of file sol.hpp.

Member Typedef Documentation

◆ difference_type

template<typename reference_type >
typedef std::ptrdiff_t sol::basic_table_iterator< reference_type >::difference_type

Definition at line 25044 of file sol.hpp.

◆ iterator_category

template<typename reference_type >
typedef std::input_iterator_tag sol::basic_table_iterator< reference_type >::iterator_category

Definition at line 25043 of file sol.hpp.

◆ key_type

template<typename reference_type >
typedef object sol::basic_table_iterator< reference_type >::key_type

Definition at line 25040 of file sol.hpp.

◆ mapped_type

template<typename reference_type >
typedef object sol::basic_table_iterator< reference_type >::mapped_type

Definition at line 25041 of file sol.hpp.

◆ pointer

template<typename reference_type >
typedef value_type* sol::basic_table_iterator< reference_type >::pointer

Definition at line 25045 of file sol.hpp.

◆ reference

template<typename reference_type >
typedef value_type& sol::basic_table_iterator< reference_type >::reference

Definition at line 25046 of file sol.hpp.

◆ value_type

template<typename reference_type >
typedef std::pair<object, object> sol::basic_table_iterator< reference_type >::value_type

Definition at line 25042 of file sol.hpp.

Constructor & Destructor Documentation

◆ basic_table_iterator() [1/2]

template<typename reference_type >
sol::basic_table_iterator< reference_type >::basic_table_iterator ( )
inlinenoexcept

Definition at line 25057 of file sol.hpp.

◆ basic_table_iterator() [2/2]

template<typename reference_type >
sol::basic_table_iterator< reference_type >::basic_table_iterator ( reference_type  x)
inlinenoexcept

Definition at line 25060 of file sol.hpp.

◆ ~basic_table_iterator()

template<typename reference_type >
sol::basic_table_iterator< reference_type >::~basic_table_iterator ( )
inline

Definition at line 25107 of file sol.hpp.

Member Function Documentation

◆ operator!=()

template<typename reference_type >
bool sol::basic_table_iterator< reference_type >::operator!= ( const basic_table_iterator< reference_type > &  right) const
inlinenoexcept

Definition at line 25103 of file sol.hpp.

◆ operator*()

template<typename reference_type >
reference sol::basic_table_iterator< reference_type >::operator* ( ) const
inlinenoexcept

Definition at line 25095 of file sol.hpp.

◆ operator++() [1/2]

template<typename reference_type >
basic_table_iterator& sol::basic_table_iterator< reference_type >::operator++ ( )
inlinenoexcept

Definition at line 25071 of file sol.hpp.

◆ operator++() [2/2]

template<typename reference_type >
basic_table_iterator sol::basic_table_iterator< reference_type >::operator++ ( int  )
inlinenoexcept

Definition at line 25089 of file sol.hpp.

◆ operator==()

template<typename reference_type >
bool sol::basic_table_iterator< reference_type >::operator== ( const basic_table_iterator< reference_type > &  right) const
inlinenoexcept

Definition at line 25099 of file sol.hpp.

Member Data Documentation

◆ const_reference

template<typename reference_type >
const typedef value_type& sol::basic_table_iterator< reference_type >::const_reference

Definition at line 25047 of file sol.hpp.

◆ idx

template<typename reference_type >
std::ptrdiff_t sol::basic_table_iterator< reference_type >::idx = 0
private

Definition at line 25054 of file sol.hpp.

◆ keyidx

template<typename reference_type >
int sol::basic_table_iterator< reference_type >::keyidx = 0
private

Definition at line 25053 of file sol.hpp.

◆ kvp

template<typename reference_type >
std::pair<object, object> sol::basic_table_iterator< reference_type >::kvp
private

Definition at line 25050 of file sol.hpp.

◆ ref

template<typename reference_type >
reference_type sol::basic_table_iterator< reference_type >::ref
private

Definition at line 25051 of file sol.hpp.

◆ tableidx

template<typename reference_type >
int sol::basic_table_iterator< reference_type >::tableidx = 0
private

Definition at line 25052 of file sol.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Tue Nov 26 2024 03:24:15