Cantera  2.5.1
Public Member Functions | Private Attributes | List of all members
AnyMap::Iterator Class Reference

Defined to allow use with range-based for loops. More...

#include <AnyMap.h>

Public Member Functions

 Iterator (const std::unordered_map< std::string, AnyValue >::const_iterator &start, const std::unordered_map< std::string, AnyValue >::const_iterator &stop)
 
const std::pair< const std::string, AnyValue > & operator* () const
 
const std::pair< const std::string, AnyValue > * operator-> () const
 
bool operator!= (const Iterator &right) const
 
Iteratoroperator++ ()
 

Private Attributes

std::unordered_map< std::string, AnyValue >::const_iterator m_iter
 
std::unordered_map< std::string, AnyValue >::const_iterator m_stop
 

Detailed Description

Defined to allow use with range-based for loops.

Iteration automatically skips over keys that start and end with double underscores.

Definition at line 452 of file AnyMap.h.


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