|
Twitch SDK (Internal)
|
const iterator for object and array value. More...
#include <value.h>
Public Types | |
| typedef unsigned int | size_t |
| typedef int | difference_type |
| typedef const Value & | reference |
| typedef const Value * | pointer |
| typedef ValueConstIterator | SelfType |
Public Member Functions | |
| ValueConstIterator () | |
| SelfType & | operator= (const ValueIteratorBase &other) |
| SelfType | operator++ (int) |
| SelfType | operator-- (int) |
| SelfType & | operator-- () |
| SelfType & | operator++ () |
| reference | operator* () const |
| bool | operator== (const SelfType &other) const |
| bool | operator!= (const SelfType &other) const |
| difference_type | operator- (const SelfType &other) const |
| Value | key () const |
| Return either the index or the member name of the referenced value as a Value. More... | |
| Value::Int | index () const |
| Return the index of the referenced Value. -1 if it is not an arrayValue. More... | |
| const char * | memberName () const |
| Return the member name of the referenced Value. "" if it is not an objectValue. More... | |
Protected Member Functions | |
| Value & | deref () const |
| void | increment () |
| void | decrement () |
| difference_type | computeDistance (const SelfType &other) const |
| bool | isEqual (const SelfType &other) const |
| void | copy (const SelfType &other) |
Private Member Functions | |
| ValueConstIterator (const Value::ObjectValues::iterator ¤t) | |
Friends | |
| class | Value |
const iterator for object and array value.
| typedef int ttv::json::ValueConstIterator::difference_type |
| typedef const Value* ttv::json::ValueConstIterator::pointer |
| typedef const Value& ttv::json::ValueConstIterator::reference |
| typedef unsigned int ttv::json::ValueConstIterator::size_t |
| ttv::json::ValueConstIterator::ValueConstIterator | ( | ) |
|
explicitprivate |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
inherited |
Return the index of the referenced Value. -1 if it is not an arrayValue.
|
protectedinherited |
|
inherited |
Return either the index or the member name of the referenced value as a Value.
|
inherited |
Return the member name of the referenced Value. "" if it is not an objectValue.
|
inlineinherited |
|
inline |
|
inline |
|
inline |
|
inlineinherited |
|
inline |
|
inline |
| SelfType& ttv::json::ValueConstIterator::operator= | ( | const ValueIteratorBase & | other | ) |
|
inlineinherited |
|
friend |
1.8.13