votca 2024.2-dev
Loading...
Searching...
No Matches
votca::tools::RangeParser::iterator Struct Reference

#include <rangeparser.h>

Collaboration diagram for votca::tools::RangeParser::iterator:

Public Member Functions

 iterator ()=default
 
Index operator* () const
 
RangeParser::iteratoroperator++ ()
 
bool operator== (const RangeParser::iterator &)
 
bool operator!= (const RangeParser::iterator &)
 

Private Member Functions

 iterator (RangeParser *, std::list< block_t >::iterator)
 

Private Attributes

RangeParserparent_
 
std::list< block_t >::iterator block_
 
Index current_
 

Friends

class RangeParser
 

Detailed Description

Definition at line 55 of file rangeparser.h.

Constructor & Destructor Documentation

◆ iterator() [1/2]

votca::tools::RangeParser::iterator::iterator ( )
default

◆ iterator() [2/2]

votca::tools::RangeParser::iterator::iterator ( RangeParser * parent,
std::list< block_t >::iterator block )
inlineprivate

Definition at line 98 of file rangeparser.h.

Member Function Documentation

◆ operator!=()

bool votca::tools::RangeParser::iterator::operator!= ( const RangeParser::iterator & i)
inline

Definition at line 112 of file rangeparser.h.

◆ operator*()

Index votca::tools::RangeParser::iterator::operator* ( ) const
inline

Definition at line 58 of file rangeparser.h.

◆ operator++()

RangeParser::iterator & votca::tools::RangeParser::iterator::operator++ ( )

Definition at line 74 of file rangeparser.cc.

◆ operator==()

bool votca::tools::RangeParser::iterator::operator== ( const RangeParser::iterator & i)
inline

Definition at line 108 of file rangeparser.h.

Friends And Related Symbol Documentation

◆ RangeParser

friend class RangeParser
friend

Definition at line 72 of file rangeparser.h.

Member Data Documentation

◆ block_

std::list<block_t>::iterator votca::tools::RangeParser::iterator::block_
private

Definition at line 69 of file rangeparser.h.

◆ current_

Index votca::tools::RangeParser::iterator::current_
private

Definition at line 70 of file rangeparser.h.

◆ parent_

RangeParser* votca::tools::RangeParser::iterator::parent_
private

Definition at line 66 of file rangeparser.h.


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