GiNaC  1.8.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
GiNaC::const_preorder_iterator Class Reference

#include <ex.h>

Inheritance diagram for GiNaC::const_preorder_iterator:

Public Member Functions

 const_preorder_iterator () noexcept
 
 const_preorder_iterator (const ex &e, size_t n)
 
reference operator* () const
 
pointer operator-> () const
 
const_preorder_iteratoroperator++ ()
 
const_preorder_iterator operator++ (int)
 
bool operator== (const const_preorder_iterator &other) const noexcept
 
bool operator!= (const const_preorder_iterator &other) const noexcept
 

Private Member Functions

void increment ()
 

Private Attributes

std::stack< internal::_iter_rep, std::vector< internal::_iter_rep > > s
 

Detailed Description

Definition at line 516 of file ex.h.

Constructor & Destructor Documentation

◆ const_preorder_iterator() [1/2]

GiNaC::const_preorder_iterator::const_preorder_iterator ( )
inlinenoexcept

Definition at line 518 of file ex.h.

◆ const_preorder_iterator() [2/2]

GiNaC::const_preorder_iterator::const_preorder_iterator ( const ex e,
size_t  n 
)
inline

Definition at line 520 of file ex.h.

References n, and s.

Member Function Documentation

◆ operator*()

reference GiNaC::const_preorder_iterator::operator* ( ) const
inline

Definition at line 526 of file ex.h.

References s.

◆ operator->()

pointer GiNaC::const_preorder_iterator::operator-> ( ) const
inline

Definition at line 531 of file ex.h.

References s.

◆ operator++() [1/2]

const_preorder_iterator& GiNaC::const_preorder_iterator::operator++ ( )
inline

Definition at line 536 of file ex.h.

References increment().

◆ operator++() [2/2]

const_preorder_iterator GiNaC::const_preorder_iterator::operator++ ( int  )
inline

Definition at line 542 of file ex.h.

References increment().

◆ operator==()

bool GiNaC::const_preorder_iterator::operator== ( const const_preorder_iterator other) const
inlinenoexcept

Definition at line 549 of file ex.h.

References s.

◆ operator!=()

bool GiNaC::const_preorder_iterator::operator!= ( const const_preorder_iterator other) const
inlinenoexcept

Definition at line 554 of file ex.h.

◆ increment()

void GiNaC::const_preorder_iterator::increment ( )
inlineprivate

Member Data Documentation

◆ s

std::stack<internal::_iter_rep, std::vector<internal::_iter_rep> > GiNaC::const_preorder_iterator::s
private

Definition at line 560 of file ex.h.

Referenced by const_preorder_iterator(), increment(), operator*(), operator->(), and operator==().


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

This page is part of the GiNaC developer's reference. It was generated automatically by doxygen. For an introduction, see the tutorial.