A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://open-source-parsers.github.io/jsoncpp-docs/doxygen/class_json_1_1_value_iterator_base.html below:

base class for Value iterators. More...

#include <json/value.h>

Inherited by Json::ValueConstIterator, and Json::ValueIterator.

base class for Value iterators.

◆ difference_type ◆ iterator_category ◆ SelfType ◆ size_t ◆ ValueIteratorBase() [1/2] Json::ValueIteratorBase::ValueIteratorBase ( ) ◆ ValueIteratorBase() [2/2] Json::ValueIteratorBase::ValueIteratorBase ( const Value::ObjectValues::iterator &  current ) explicit ◆ __declspec() Json::ValueIteratorBase::__declspec ( deprecated("Use `key = name();` instead.")  ) const

Return the member name of the referenced Value.

"" if it is not an objectValue.

Deprecated:
This cannot be used for UTF-8 strings, since there can be embedded nulls.
◆ computeDistance() ◆ copy() void Json::ValueIteratorBase::copy ( const SelfTypeother ) protected ◆ decrement() void Json::ValueIteratorBase::decrement ( ) protected ◆ deref() [1/2] Value & Json::ValueIteratorBase::deref ( ) protected ◆ deref() [2/2] const Value & Json::ValueIteratorBase::deref ( ) const protected

Internal utility functions to assist with implementing other iterator functions. The const and non-const versions of the "deref" protected methods expose the protected current_ member variable in a way that can often be optimized away by the compiler.

◆ increment() void Json::ValueIteratorBase::increment ( ) protected ◆ index() UInt Json::ValueIteratorBase::index ( ) const

Return the index of the referenced Value, or -1 if it is not an arrayValue.

◆ isEqual() bool Json::ValueIteratorBase::isEqual ( const SelfTypeother ) const protected ◆ key() Value Json::ValueIteratorBase::key ( ) const

Return either the index or the member name of the referenced value as a Value.

◆ memberName() char const * Json::ValueIteratorBase::memberName ( char const **  end ) const

Return the member name of the referenced Value, or NULL if it is not an objectValue.

Note
Better version than memberName(). Allows embedded nulls.
◆ name() String Json::ValueIteratorBase::name ( ) const

Return the member name of the referenced Value, or "" if it is not an objectValue.

Note
Avoid c_str() on result, as embedded zeroes are possible.
◆ operator!=() bool Json::ValueIteratorBase::operator!= ( const SelfTypeother ) const inline ◆ operator-() ◆ operator==() bool Json::ValueIteratorBase::operator== ( const SelfTypeother ) const inline

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4