Cantera  3.1.0a1
Loading...
Searching...
No Matches
AnyMap::OrderedProxy Class Reference

Proxy for iterating over an AnyMap in the defined output ordering. More...

#include <AnyMap.h>

Detailed Description

Proxy for iterating over an AnyMap in the defined output ordering.

See ordered().

Definition at line 576 of file AnyMap.h.

Public Types

typedef vector< pair< pair< int, int >, const pair< const string, AnyValue > * > > OrderVector
 

Public Member Functions

 OrderedProxy (const AnyMap &data)
 
OrderedIterator begin () const
 
OrderedIterator end () const
 

Private Attributes

const AnyMapm_data
 
OrderVector m_ordered
 
unique_ptr< pair< const string, AnyValue > > m_units
 

Member Typedef Documentation

◆ OrderVector

typedef vector<pair< pair<int, int>, const pair<const string, AnyValue>*> > OrderVector

Definition at line 585 of file AnyMap.h.

Constructor & Destructor Documentation

◆ OrderedProxy() [1/2]

OrderedProxy ( )
inline

Definition at line 578 of file AnyMap.h.

◆ OrderedProxy() [2/2]

OrderedProxy ( const AnyMap data)

Definition at line 1586 of file AnyMap.cpp.

Member Function Documentation

◆ begin()

AnyMap::OrderedIterator begin ( ) const

Definition at line 1652 of file AnyMap.cpp.

◆ end()

AnyMap::OrderedIterator end ( ) const

Definition at line 1657 of file AnyMap.cpp.

Member Data Documentation

◆ m_data

const AnyMap* m_data
private

Definition at line 587 of file AnyMap.h.

◆ m_ordered

OrderVector m_ordered
private

Definition at line 588 of file AnyMap.h.

◆ m_units

unique_ptr<pair<const string, AnyValue> > m_units
private

Definition at line 589 of file AnyMap.h.


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