cartobase  5.1.2
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 keyObject () const
 Access the key of the current 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::KeyIteratorInterface
virtual ~KeyIteratorInterface ()
 
virtual bool isKeyIterator () 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 ()
 
- 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...
 

Friends

PropertySet::iterator PropertySet::getIterator () const
 

Detailed Description

Definition at line 139 of file property.h.

Constructor & Destructor Documentation

◆ iterator()

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

Definition at line 339 of file property.h.

Member Function Documentation

◆ currentValue()

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

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

Implements carto::IteratorInterface.

◆ isValid()

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.

◆ key()

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

Access the key of the current dictionary element.

Implements carto::DictionaryIteratorInterface.

◆ keyObject()

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

Access the key of the current element.

Implements carto::KeyIteratorInterface.

◆ next()

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

Point to the next element of the iterable container.

Implements carto::IteratorInterface.

Friends And Related Function Documentation

◆ PropertySet::getIterator


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