All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_JSONValue::indexed_traverser Class Reference

#include <UT_JSONValue.h>

+ Inheritance diagram for UT_JSONValue::indexed_traverser:

Public Types

using difference_type = exint
using iterator_category = std::forward_iterator_tag
using reference = std::pair< exint, UT_JSONValue & >
using pointer = std::pair< exint, UT_JSONValue * >
- Public Types inherited from UT_JSONValue::traverser
using difference_type = exint
using value_type = UT_JSONValue
using pointer = value_type *
using reference = value_type &
using iterator_category = std::forward_iterator_tag

Public Member Functions

 indexed_traverser (UT_JSONValue *v, exint end_len)
 indexed_traverser (UT_JSONValue *v)
reference operator* ()
pointer operator-> ()
const UT_JSONValuevalue () const
- Public Member Functions inherited from UT_JSONValue::traverser
 traverser ()
 traverser (const traverser &src)
 ~traverser ()
const traverseroperator= (const traverser &src)
traverseroperator++ ()
 ++iterator More...
bool operator== (const traverser &rhs) const
 No post increment as it is harmful. More...
bool operator!= (const traverser &rhs) const
const UT_JSONValueoperator* () const
UT_JSONValueoperator* ()
const UT_JSONValueoperator-> () const
UT_JSONValueoperator-> ()
bool atEnd () const
void advance ()
UT_JSONValuegetValue ()
const UT_JSONValuegetValue () const
int64 getArrayIndex () const
bool getKey (UT_String &key)
 Deprecated in favour of UT_StringHolder method. More...
bool getLowerCaseKey (UT_String &key)
 Deprecated in favour of UT_StringHolder method. More...
bool getKey (UT_StringHolder &key) const
bool getLowerCaseKey (UT_StringHolder &key)
 Get a lower case map key (for case insensitive maps) More...

Detailed Description

Definition at line 633 of file UT_JSONValue.h.

Member Typedef Documentation

using UT_JSONValue::indexed_traverser::iterator_category = std::forward_iterator_tag

Definition at line 637 of file UT_JSONValue.h.

Definition at line 639 of file UT_JSONValue.h.

Definition at line 638 of file UT_JSONValue.h.

Constructor & Destructor Documentation

UT_JSONValue::indexed_traverser::indexed_traverser ( UT_JSONValue v,
exint  end_len 

Definition at line 641 of file UT_JSONValue.h.

UT_JSONValue::indexed_traverser::indexed_traverser ( UT_JSONValue v)

Definition at line 645 of file UT_JSONValue.h.

Member Function Documentation

reference UT_JSONValue::indexed_traverser::operator* ( )

Definition at line 651 of file UT_JSONValue.h.

pointer UT_JSONValue::indexed_traverser::operator-> ( )

Definition at line 656 of file UT_JSONValue.h.

const UT_JSONValue& UT_JSONValue::indexed_traverser::value ( ) const

Definition at line 661 of file UT_JSONValue.h.

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