ls1-MarDyn
ls1-MarDyn molecular dynamics code
Public Member Functions | Friends | List of all members
XMLfile::Query::const_iterator Class Reference

Public Member Functions

 const_iterator ()
 XMLfile::Query::const_iterator constructor sets up an invalid iterator.
 
long index () const
 
 operator bool () const
 bool operator check if iterator is valid and index is in a valid range
 
const_iteratoroperator++ ()
 prefix increment operator put the index to the next position More...
 
const_iterator operator++ (int)
 postfix increment operator increment the index More...
 
const_iteratoroperator-- ()
 prefix decrement operator decrement the index More...
 
const_iterator operator-- (int)
 postfix decrement operator decrement the index More...
 
Node operator* () const
 access operator return the node, the iterator (index) actually points to or an invalid Node, if the iterator is invalid More...
 

Friends

class Query
 

Member Function Documentation

◆ operator*()

Node XMLfile::Query::const_iterator::operator* ( ) const
inline

access operator return the node, the iterator (index) actually points to or an invalid Node, if the iterator is invalid

Returns
XMLfile::Node actual Node

◆ operator++() [1/2]

const_iterator& XMLfile::Query::const_iterator::operator++ ( )
inline

prefix increment operator put the index to the next position

Returns
XMLfile::Query::const_iterator& reference to this iterator

◆ operator++() [2/2]

const_iterator XMLfile::Query::const_iterator::operator++ ( int  )
inline

postfix increment operator increment the index

Returns
XMLfile::Query::const_iterator& reference to this iterator

◆ operator--() [1/2]

const_iterator& XMLfile::Query::const_iterator::operator-- ( )
inline

prefix decrement operator decrement the index

Returns
XMLfile::Query::const_iterator& reference to this iterator

◆ operator--() [2/2]

const_iterator XMLfile::Query::const_iterator::operator-- ( int  )
inline

postfix decrement operator decrement the index

Returns
XMLfile::Query::const_iterator& reference to this iterator

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