osgEarth 2.1.1
|
Experimental and untested: const iterator for object and array value. More...
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 |
Private Member Functions | |
ValueConstIterator (const Value::ObjectValues::iterator ¤t) | |
Friends | |
class | Value |
Experimental and untested: const iterator for object and array value.
Reimplemented from osgEarth::Json::ValueIteratorBase.
typedef const Value* osgEarth::Json::ValueConstIterator::pointer |
typedef const Value& osgEarth::Json::ValueConstIterator::reference |
Reimplemented from osgEarth::Json::ValueIteratorBase.
typedef unsigned int osgEarth::Json::ValueConstIterator::size_t |
Reimplemented from osgEarth::Json::ValueIteratorBase.
ValueConstIterator::ValueConstIterator | ( | ) |
Definition at line 311 of file JsonUtils.cpp.
{ }
ValueConstIterator::ValueConstIterator | ( | const Value::ObjectValues::iterator & | current | ) | [explicit, private] |
Use by Value to create an iterator.
Definition at line 317 of file JsonUtils.cpp.
: ValueIteratorBase( current ) { }
reference osgEarth::Json::ValueConstIterator::operator* | ( | ) | const [inline] |
SelfType& osgEarth::Json::ValueConstIterator::operator++ | ( | ) | [inline] |
SelfType osgEarth::Json::ValueConstIterator::operator++ | ( | int | ) | [inline] |
SelfType osgEarth::Json::ValueConstIterator::operator-- | ( | int | ) | [inline] |
SelfType& osgEarth::Json::ValueConstIterator::operator-- | ( | ) | [inline] |
ValueConstIterator & ValueConstIterator::operator= | ( | const ValueIteratorBase & | other | ) |
Definition at line 334 of file JsonUtils.cpp.
{ copy( other ); return *this; }