15 template<
class EJSON_BASE_T>
26 iterator(EJSON_BASE_T& _obj,
size_t _pos);
32 iterator(
const EJSON_BASE_T& _obj,
size_t _pos);
116 size_t getId()
const noexcept;
bool operator==(const iterator &_obj) const
Equality compare operator with an other iterator.
iterator & operator--()
Operator++ Pre-decrementation of this iterator.
const ejson::Value operator*() const noexcept
Get the property Value.
std::string getKey() const noexcept
Get Key of an element.
iterator(EJSON_BASE_T &_obj, size_t _pos)
Constructor of the generic object class.
iterator & operator-=(int32_t _val)
Operator-= Decrement a value.
ejson namespace containing all function for JSON interpretor
Definition: Array.hpp:12
size_t getId() const noexcept
Get ID of an element.
bool operator!=(const iterator &_obj) const
In-Equality compare operator with an other iterator.
iterator & operator=(const iterator &_obj)
Operator+= Addition value.
iterator operator+(int32_t _val) const
Operator+ Addition a value.
iterator & operator++()
Operator++ Pre-incrementation of this iterator.
Basic main object of all json elements.
Definition: Value.hpp:31
Definition: iterator.hpp:16
iterator & operator+=(int32_t _val)
Operator+= Addition value.
iterator operator-(int32_t _val) const
Operator- Decrement a value.