cartobase  4.5.0
carto::PropertySet::iterator Class Reference

#include <cartobase/object/property.h>

Inheritance diagram for carto::PropertySet::iterator:
Collaboration diagram for carto::PropertySet::iterator:

Public Member Functions

 iterator ()
 
bool isValid () const
 true if the iterator points to a valid value, false when the end of the iterable container has been reached More...
 
std::string key () const
 Access the key of the current dictionary element. More...
 
Object currentValue () const
 Access the value of the element pointed to by the iterator. More...
 
void next ()
 Point to the next element of the iterable container. More...
 
- Public Member Functions inherited from carto::DictionaryIteratorInterface
virtual ~DictionaryIteratorInterface ()
 
virtual bool isDictionaryIterator () const
 Returns false if the stored object doesn't actually implement the DictionaryIteratorInterface API (needed since all GenericObject inherit this interface whatever they actually contain) More...
 
- Public Member Functions inherited from carto::IteratorInterface
virtual ~IteratorInterface ()
 
virtual bool isIterator () const
 Returns false if the stored object doesn't actually implement the IteratorInterface API (needed since all GenericObject inherit this interface whatever they actually contain) More...
 
- Public Member Functions inherited from carto::Interface
virtual ~Interface ()
 

Friends

PropertySet::iterator PropertySet::getIterator () const
 

Detailed Description

Definition at line 133 of file property.h.

Constructor & Destructor Documentation

carto::PropertySet::iterator::iterator ( )
inline

Definition at line 294 of file property.h.

Member Function Documentation

Object carto::PropertySet::iterator::currentValue ( ) const
virtual

Access the value of the element pointed to by the iterator.

Implements carto::IteratorInterface.

bool carto::PropertySet::iterator::isValid ( ) const
virtual

true if the iterator points to a valid value, false when the end of the iterable container has been reached

Implements carto::IteratorInterface.

std::string carto::PropertySet::iterator::key ( ) const
virtual

Access the key of the current dictionary element.

Implements carto::DictionaryIteratorInterface.

void carto::PropertySet::iterator::next ( )
virtual

Point to the next element of the iterable container.

Implements carto::IteratorInterface.

Friends And Related Function Documentation


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