Value::const_iterator struct reference
[Base module]
Declaration
#include <QtLua/Value>
namespace QtLua {
class Value {
struct const_iterator;
};
};
This struct is a member of the Value class.
Description
This iterator class allow iteration through table like lua values directly from C++ code. Modification of Value object returned by Value::const_iterator::value doesn't modify traversed container.
See also Value::iterator struct.
Members
Type
- typedef [...] iterator_category
Functions
- const_iterator(const Value::iterator &i)
- const_iterator()
- Value key() const
- bool operator!=(const Value::iterator_ &i) const
- Value operator*() const
- Value::iterator_ & operator++()
- Value::iterator_ operator++(int )
- bool operator==(const Value::iterator_ &i) const
- Value value() const
Members detail
const_iterator(const Value::iterator &i)
Create from non const iterator
Create a non uninitialized Value::const_iterator.
Value operator*() const
See Value::const_iterator::value function.
Value value() const
Get current entry value.