The Sparta Modeling Framework
Loading...
Searching...
No Matches
sparta::ParameterSet::ParameterSetIterator< T > Class Template Reference

Non-const iterator for ParameterSet. More...

#include <ParameterSet.hpp>

Public Member Functions

 ParameterSetIterator (ParameterPairs const *keys, T const &itr)
 
 ParameterSetIterator (const ParameterSetIterator &rhp)
 
const ParameterSetIteratoroperator= (const ParameterSetIterator &rhp)
 
const ParameterSetIteratoroperator++ ()
 
const ParameterSetIterator operator++ (int i)
 
ParameterBaseoperator* ()
 
const ParameterBaseoperator* () const
 
bool operator== (const ParameterSetIterator &rhp) const
 
bool operator!= (const ParameterSetIterator &rhp) const
 

Detailed Description

template<typename T>
class sparta::ParameterSet::ParameterSetIterator< T >

Non-const iterator for ParameterSet.

Units can access their parameters by name trough specific parameter sets. Allowing units to iterate parameters undermines the ability to ensure that all Parameters were actually consumed by a unit at construction.

Definition at line 476 of file ParameterSet.hpp.

Constructor & Destructor Documentation

◆ ParameterSetIterator() [1/3]

template<typename T >
sparta::ParameterSet::ParameterSetIterator< T >::ParameterSetIterator ( )
inline

Definition at line 479 of file ParameterSet.hpp.

◆ ParameterSetIterator() [2/3]

template<typename T >
sparta::ParameterSet::ParameterSetIterator< T >::ParameterSetIterator ( ParameterPairs const *  keys,
T const &  itr 
)
inline

Definition at line 484 of file ParameterSet.hpp.

◆ ParameterSetIterator() [3/3]

template<typename T >
sparta::ParameterSet::ParameterSetIterator< T >::ParameterSetIterator ( const ParameterSetIterator< T > &  rhp)
inline

Definition at line 490 of file ParameterSet.hpp.

Member Function Documentation

◆ operator!=()

template<typename T >
bool sparta::ParameterSet::ParameterSetIterator< T >::operator!= ( const ParameterSetIterator< T > &  rhp) const
inline

Definition at line 543 of file ParameterSet.hpp.

◆ operator*() [1/2]

template<typename T >
ParameterBase * sparta::ParameterSet::ParameterSetIterator< T >::operator* ( )
inline

Definition at line 519 of file ParameterSet.hpp.

◆ operator*() [2/2]

template<typename T >
const ParameterBase * sparta::ParameterSet::ParameterSetIterator< T >::operator* ( ) const
inline

Definition at line 529 of file ParameterSet.hpp.

◆ operator++() [1/2]

template<typename T >
const ParameterSetIterator & sparta::ParameterSet::ParameterSetIterator< T >::operator++ ( )
inline

Definition at line 502 of file ParameterSet.hpp.

◆ operator++() [2/2]

template<typename T >
const ParameterSetIterator sparta::ParameterSet::ParameterSetIterator< T >::operator++ ( int  i)
inline

Definition at line 511 of file ParameterSet.hpp.

◆ operator=()

template<typename T >
const ParameterSetIterator & sparta::ParameterSet::ParameterSetIterator< T >::operator= ( const ParameterSetIterator< T > &  rhp)
inline

Definition at line 494 of file ParameterSet.hpp.

◆ operator==()

template<typename T >
bool sparta::ParameterSet::ParameterSetIterator< T >::operator== ( const ParameterSetIterator< T > &  rhp) const
inline

Definition at line 539 of file ParameterSet.hpp.


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