The Sparta Modeling Framework
Loading...
Searching...
No Matches
sparta::ParameterTree::Node::MatchIterator Class Reference

#include <ParameterTree.hpp>

Public Member Functions

 MatchIterator (ChildVector::const_reverse_iterator itr)
 
 MatchIterator (const MatchIterator &)=default
 
MatchIteratoroperator= (const MatchIterator &)=default
 
bool operator== (const MatchIterator &rhp) const
 
bool operator!= (const MatchIterator &rhp) const
 
void operator++ (int)
 
void operator++ ()
 
bool matches (const std::string &other) const
 
const Nodeget () const
 
Nodeget ()
 
const Nodeoperator-> () const
 

Detailed Description

Object for iterating over children to detect name/expression matches. Iteration order is most recent to oldest.

Definition at line 720 of file ParameterTree.hpp.

Constructor & Destructor Documentation

◆ MatchIterator()

sparta::ParameterTree::Node::MatchIterator::MatchIterator ( ChildVector::const_reverse_iterator  itr)
inline

Definition at line 723 of file ParameterTree.hpp.

Member Function Documentation

◆ get() [1/2]

Node * sparta::ParameterTree::Node::MatchIterator::get ( )
inline

Definition at line 751 of file ParameterTree.hpp.

◆ get() [2/2]

const Node * sparta::ParameterTree::Node::MatchIterator::get ( ) const
inline

Definition at line 747 of file ParameterTree.hpp.

◆ matches()

bool sparta::ParameterTree::Node::MatchIterator::matches ( const std::string &  other) const
inline

Definition at line 743 of file ParameterTree.hpp.

◆ operator!=()

bool sparta::ParameterTree::Node::MatchIterator::operator!= ( const MatchIterator rhp) const
inline

Definition at line 735 of file ParameterTree.hpp.

◆ operator++() [1/2]

void sparta::ParameterTree::Node::MatchIterator::operator++ ( )
inline

Definition at line 741 of file ParameterTree.hpp.

◆ operator++() [2/2]

void sparta::ParameterTree::Node::MatchIterator::operator++ ( int  )
inline

Definition at line 739 of file ParameterTree.hpp.

◆ operator->()

const Node * sparta::ParameterTree::Node::MatchIterator::operator-> ( ) const
inline

Definition at line 755 of file ParameterTree.hpp.

◆ operator==()

bool sparta::ParameterTree::Node::MatchIterator::operator== ( const MatchIterator rhp) const
inline

Definition at line 731 of file ParameterTree.hpp.


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