base class for Value iterators.
More...
#include <json/value.h>
Inherited by Json::ValueConstIterator, and Json::ValueIterator.
base class for Value iterators.
Definition at line 746 of file value.h.
Json::ValueIteratorBase::ValueIteratorBase |
( |
| ) |
|
Json::ValueIteratorBase::ValueIteratorBase |
( |
const Value::ObjectValues::iterator & |
current | ) |
|
|
explicit |
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.
void Json::ValueIteratorBase::copy |
( |
const SelfType & |
other | ) |
|
|
protected |
void Json::ValueIteratorBase::decrement |
( |
| ) |
|
|
protected |
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.
Definition at line 25 of file json_valueiterator.inl.
Value & Json::ValueIteratorBase::deref |
( |
| ) |
|
|
protected |
void Json::ValueIteratorBase::increment |
( |
| ) |
|
|
protected |
UInt Json::ValueIteratorBase::index |
( |
| ) |
const |
bool Json::ValueIteratorBase::isEqual |
( |
const SelfType & |
other | ) |
const |
|
protected |
Value Json::ValueIteratorBase::key |
( |
| ) |
const |
char const * Json::ValueIteratorBase::memberName |
( |
char const ** |
end | ) |
const |
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 84 of file json_valueiterator.inl.
References memberName().
bool Json::ValueIteratorBase::operator!= |
( |
const SelfType & |
other | ) |
const |
|
inline |
bool Json::ValueIteratorBase::operator== |
( |
const SelfType & |
other | ) |
const |
|
inline |
The documentation for this class was generated from the following files: