base class for Value iterators.
More...
#include <json.h>
base class for Value iterators.
Definition at line 1006 of file json.h.
Json::ValueIteratorBase::ValueIteratorBase |
( |
| ) |
|
Json::ValueIteratorBase::ValueIteratorBase |
( |
const Value::ObjectValues::iterator & |
current | ) |
|
|
explicit |
void Json::ValueIteratorBase::copy |
( |
const SelfType & |
other | ) |
|
|
protected |
void Json::ValueIteratorBase::decrement |
( |
| ) |
|
|
protected |
Value & Json::ValueIteratorBase::deref |
( |
| ) |
const |
|
protected |
void Json::ValueIteratorBase::increment |
( |
| ) |
|
|
protected |
UInt Json::ValueIteratorBase::index |
( |
| ) |
const |
Return the index of the referenced Value, or -1 if it is not an arrayValue.
Definition at line 2290 of file jsoncpp.cpp.
bool Json::ValueIteratorBase::isEqual |
( |
const SelfType & |
other | ) |
const |
|
protected |
Value Json::ValueIteratorBase::key |
( |
| ) |
const |
Return either the index or the member name of the referenced value as a Value.
Definition at line 2280 of file jsoncpp.cpp.
char const * Json::ValueIteratorBase::memberName |
( |
| ) |
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.
Definition at line 2305 of file jsoncpp.cpp.
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.
Definition at line 2310 of file jsoncpp.cpp.
std::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 2297 of file jsoncpp.cpp.
bool Json::ValueIteratorBase::operator!= |
( |
const SelfType & |
other | ) |
const |
|
inline |
bool Json::ValueIteratorBase::operator== |
( |
const SelfType & |
other | ) |
const |
|
inline |
Value::ObjectValues::iterator Json::ValueIteratorBase::current_ |
|
private |
bool Json::ValueIteratorBase::isNull_ |
|
private |
The documentation for this class was generated from the following files: