JsonCpp project page JsonCpp home page

Public Types | Public Member Functions | Friends | List of all members
Json::ValueIterator Class Reference

Iterator for object and array value. More...

#include </home/iurt/rpmbuild/BUILD/jsoncpp-src-0.5.0/include/json/value.h>

+ Inheritance diagram for Json::ValueIterator:
+ Collaboration diagram for Json::ValueIterator:

Public Types

typedef unsigned int size_t
 
typedef int difference_type
 
typedef Valuereference
 
typedef Valuepointer
 
typedef ValueIterator SelfType
 
- Public Types inherited from Json::ValueIteratorBase
typedef unsigned int size_t
 
typedef int difference_type
 
typedef ValueIteratorBase SelfType
 

Public Member Functions

 ValueIterator ()
 
 ValueIterator (const ValueConstIterator &other)
 
 ValueIterator (const ValueIterator &other)
 
SelfTypeoperator= (const SelfType &other)
 
SelfType operator++ (int)
 
SelfType operator-- (int)
 
SelfTypeoperator-- ()
 
SelfTypeoperator++ ()
 
reference operator* () const
 
- Public Member Functions inherited from Json::ValueIteratorBase
 ValueIteratorBase ()
 
 ValueIteratorBase (const ValueInternalArray::IteratorState &state)
 
 ValueIteratorBase (const ValueInternalMap::IteratorState &state)
 
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.
 
UInt index () const
 Return the index of the referenced Value. -1 if it is not an arrayValue.
 
const char * memberName () const
 Return the member name of the referenced Value. "" if it is not an objectValue.
 

Friends

class Value
 

Additional Inherited Members

- Protected Member Functions inherited from Json::ValueIteratorBase
Valuederef () const
 
void increment ()
 
void decrement ()
 
difference_type computeDistance (const SelfType &other) const
 
bool isEqual (const SelfType &other) const
 
void copy (const SelfType &other)
 

Detailed Description

Iterator for object and array value.

Definition at line 1007 of file value.h.

Member Typedef Documentation

Definition at line 1012 of file value.h.

Definition at line 1014 of file value.h.

Definition at line 1013 of file value.h.

Definition at line 1015 of file value.h.

typedef unsigned int Json::ValueIterator::size_t

Definition at line 1011 of file value.h.

Constructor & Destructor Documentation

ValueIterator::ValueIterator ( )

Definition at line 256 of file json_value.cpp.

ValueIterator::ValueIterator ( const ValueConstIterator other)

Definition at line 278 of file json_value.cpp.

ValueIterator::ValueIterator ( const ValueIterator other)

Definition at line 283 of file json_value.cpp.

Member Function Documentation

reference Json::ValueIterator::operator* ( ) const
inline

Definition at line 1059 of file value.h.

SelfType Json::ValueIterator::operator++ ( int  )
inline

Definition at line 1033 of file value.h.

SelfType& Json::ValueIterator::operator++ ( )
inline

Definition at line 1053 of file value.h.

SelfType Json::ValueIterator::operator-- ( int  )
inline

Definition at line 1040 of file value.h.

SelfType& Json::ValueIterator::operator-- ( )
inline

Definition at line 1047 of file value.h.

ValueIterator & ValueIterator::operator= ( const SelfType other)

Definition at line 289 of file json_value.cpp.

Friends And Related Function Documentation

friend class Value
friend

Definition at line 1009 of file value.h.


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

SourceForge Logo hosts this site. Send comments to:
Json-cpp Developers