Public Types | Public Member Functions | Protected Member Functions | Private Attributes
Json::ValueIteratorBase Class Reference

base class for Value iterators. More...

#include <json.h>

Inheritance diagram for Json::ValueIteratorBase:
Inheritance graph
[legend]

List of all members.

Public Types

typedef int difference_type
typedef ValueIteratorBase SelfType
typedef unsigned int size_t

Public Member Functions

UInt index () const
 Return the index of the referenced Value. -1 if it is not an arrayValue.
Value key () const
 Return either the index or the member name of the referenced value as a Value.
const char * memberName () const
 Return the member name of the referenced Value. "" if it is not an objectValue.
bool operator!= (const SelfType &other) const
difference_type operator- (const SelfType &other) const
bool operator== (const SelfType &other) const
 ValueIteratorBase ()
 ValueIteratorBase (const Value::ObjectValues::iterator &current)

Protected Member Functions

difference_type computeDistance (const SelfType &other) const
void copy (const SelfType &other)
void decrement ()
Valuederef () const
void increment ()
bool isEqual (const SelfType &other) const

Private Attributes

Value::ObjectValues::iterator current_
bool isNull_

Detailed Description

base class for Value iterators.

Definition at line 1228 of file json.h.


Member Typedef Documentation

Reimplemented in Json::ValueIterator, and Json::ValueConstIterator.

Definition at line 1232 of file json.h.

Reimplemented in Json::ValueIterator, and Json::ValueConstIterator.

Definition at line 1233 of file json.h.

typedef unsigned int Json::ValueIteratorBase::size_t

Reimplemented in Json::ValueIterator, and Json::ValueConstIterator.

Definition at line 1231 of file json.h.


Constructor & Destructor Documentation

Definition at line 1245 of file jsoncpp.cpp.

Json::ValueIteratorBase::ValueIteratorBase ( const Value::ObjectValues::iterator &  current) [explicit]

Definition at line 1261 of file jsoncpp.cpp.


Member Function Documentation

Definition at line 1321 of file jsoncpp.cpp.

void Json::ValueIteratorBase::copy ( const SelfType other) [protected]

Definition at line 1375 of file jsoncpp.cpp.

void Json::ValueIteratorBase::decrement ( ) [protected]

Definition at line 1308 of file jsoncpp.cpp.

Value & Json::ValueIteratorBase::deref ( ) const [protected]

Definition at line 1282 of file jsoncpp.cpp.

void Json::ValueIteratorBase::increment ( ) [protected]

Definition at line 1295 of file jsoncpp.cpp.

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

Definition at line 1412 of file jsoncpp.cpp.

bool Json::ValueIteratorBase::isEqual ( const SelfType other) const [protected]

Definition at line 1358 of file jsoncpp.cpp.

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

Definition at line 1388 of file jsoncpp.cpp.

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

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

Definition at line 1428 of file jsoncpp.cpp.

bool Json::ValueIteratorBase::operator!= ( const SelfType other) const [inline]

Definition at line 1248 of file json.h.

difference_type Json::ValueIteratorBase::operator- ( const SelfType other) const [inline]

Definition at line 1253 of file json.h.

bool Json::ValueIteratorBase::operator== ( const SelfType other) const [inline]

Definition at line 1243 of file json.h.


Member Data Documentation

Value::ObjectValues::iterator Json::ValueIteratorBase::current_ [private]

Definition at line 1282 of file json.h.

Definition at line 1284 of file json.h.


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


find_object_2d
Author(s): Mathieu Labbe
autogenerated on Thu Feb 11 2016 22:57:57