Google APIs Client Library for C++
JsonCppConstIndexIterator< T > Class Template Reference

Iterator for index-based JsonCppDataArray. More...

#include "client/data/jsoncpp_data.h"

+ Inheritance diagram for JsonCppConstIndexIterator< T >:

List of all members.

Public Types

typedef
JsonCppConstIndexIterator< T > 
SelfType
typedef T reference

Public Member Functions

 JsonCppConstIndexIterator (const JsonCppConstIndexIterator< T > &copy)
 Note we're using copy-by-value references.
 ~JsonCppConstIndexIterator ()
reference operator* () const
int index () const

Friends

class JsonCppArray< T >

Detailed Description

template<typename T>
class googleapis::client::JsonCppConstIndexIterator< T >

Iterator for index-based JsonCppDataArray.

Provides access to the index in the array which might be helpful for making modifications directly into the array if needed, since we cannot support non-const iterators.


Member Typedef Documentation

typedef T reference

Constructor & Destructor Documentation

JsonCppConstIndexIterator ( const JsonCppConstIndexIterator< T > &  copy) [inline]

Note we're using copy-by-value references.


Member Function Documentation

int index ( ) const [inline]
reference operator* ( ) const [inline]

Friends And Related Function Documentation

friend class JsonCppArray< T > [friend]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines