HDK
 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 654 of file UT_JSONValue.h.

Member Typedef Documentation

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

Definition at line 658 of file UT_JSONValue.h.

Definition at line 660 of file UT_JSONValue.h.

Definition at line 659 of file UT_JSONValue.h.

Constructor & Destructor Documentation

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

Definition at line 662 of file UT_JSONValue.h.

UT_JSONValue::indexed_traverser::indexed_traverser ( UT_JSONValue v)
inlineexplicit

Definition at line 666 of file UT_JSONValue.h.

Member Function Documentation

reference UT_JSONValue::indexed_traverser::operator* ( )
inline

Definition at line 672 of file UT_JSONValue.h.

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

Definition at line 677 of file UT_JSONValue.h.

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

Definition at line 682 of file UT_JSONValue.h.


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