Cantera  3.1.0
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 585 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, bool withUnits)
 
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 594 of file AnyMap.h.

Constructor & Destructor Documentation

◆ OrderedProxy() [1/2]

OrderedProxy ( )
inline

Definition at line 587 of file AnyMap.h.

◆ OrderedProxy() [2/2]

OrderedProxy ( const AnyMap data,
bool  withUnits 
)

Definition at line 1642 of file AnyMap.cpp.

Member Function Documentation

◆ begin()

AnyMap::OrderedIterator begin ( ) const

Definition at line 1710 of file AnyMap.cpp.

◆ end()

AnyMap::OrderedIterator end ( ) const

Definition at line 1715 of file AnyMap.cpp.

Member Data Documentation

◆ m_data

const AnyMap* m_data
private

Definition at line 596 of file AnyMap.h.

◆ m_ordered

OrderVector m_ordered
private

Definition at line 597 of file AnyMap.h.

◆ m_units

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

Definition at line 598 of file AnyMap.h.


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