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

#include <UT_JSONValue.h>

+ Inheritance diagram for UT_JSONValue::indexed_map_traverser:

Public Types

using difference_type = exint
 
using iterator_category = std::forward_iterator_tag
 
using reference = std::tuple< exint, UT_StringHolder, UT_JSONValue & >
 
using pointer = std::tuple< exint, UT_StringHolder, 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_map_traverser (UT_JSONValue *v, exint end_len)
 
 indexed_map_traverser (UT_JSONValue *v)
 
reference operator* ()
 
pointer operator-> ()
 
const UT_StringHolderkey () const
 
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 667 of file UT_JSONValue.h.

Member Typedef Documentation

using UT_JSONValue::indexed_map_traverser::iterator_category = std::forward_iterator_tag

Definition at line 671 of file UT_JSONValue.h.

Constructor & Destructor Documentation

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

Definition at line 675 of file UT_JSONValue.h.

UT_JSONValue::indexed_map_traverser::indexed_map_traverser ( UT_JSONValue v)
inlineexplicit

Definition at line 679 of file UT_JSONValue.h.

Member Function Documentation

const UT_StringHolder& UT_JSONValue::indexed_map_traverser::key ( ) const
inline

Definition at line 700 of file UT_JSONValue.h.

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

Definition at line 685 of file UT_JSONValue.h.

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

Definition at line 692 of file UT_JSONValue.h.

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

Definition at line 712 of file UT_JSONValue.h.


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