base class for Value iterators.
More...
#include <json/value.h>
base class for Value iterators.
Definition at line 729 of file value.h.
◆ 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 SelfType & |
other | ) |
|
|
protected |
◆ decrement()
| void Json::ValueIteratorBase::decrement |
( |
| ) |
|
|
protected |
◆ deref()
| Value & Json::ValueIteratorBase::deref |
( |
| ) |
const |
|
protected |
◆ increment()
| void Json::ValueIteratorBase::increment |
( |
| ) |
|
|
protected |
◆ index()
| UInt Json::ValueIteratorBase::index |
( |
| ) |
const |
◆ isEqual()
| bool Json::ValueIteratorBase::isEqual |
( |
const SelfType & |
other | ) |
const |
|
protected |
◆ key()
| Value Json::ValueIteratorBase::key |
( |
| ) |
const |
◆ memberName()
| char const * Json::ValueIteratorBase::memberName |
( |
char const ** |
end | ) |
const |
◆ 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.
Definition at line 87 of file json_valueiterator.inl.
References memberName().
◆ operator!=()
| bool Json::ValueIteratorBase::operator!= |
( |
const SelfType & |
other | ) |
const |
|
inline |
◆ operator-()
◆ operator==()
| bool Json::ValueIteratorBase::operator== |
( |
const SelfType & |
other | ) |
const |
|
inline |
The documentation for this class was generated from the following files: