Z3
Public Member Functions
expr::iterator Class Reference

Public Member Functions

 iterator (expr &e, unsigned i)
 
bool operator== (iterator const &other) noexcept
 
bool operator!= (iterator const &other) noexcept
 
expr operator* () const
 
iteratoroperator++ ()
 
iterator operator++ (int)
 

Detailed Description

Definition at line 1600 of file z3++.h.

Constructor & Destructor Documentation

iterator ( expr e,
unsigned  i 
)
inline

Definition at line 1604 of file z3++.h.

1604 : e(e), i(i) {}

Member Function Documentation

bool operator!= ( iterator const &  other)
inlinenoexcept

Definition at line 1608 of file z3++.h.

1608  {
1609  return i != other.i;
1610  }
expr operator* ( ) const
inline

Definition at line 1611 of file z3++.h.

1611 { return e.arg(i); }
expr arg(unsigned i) const
Return the i-th argument of this application. This method assumes the expression is an application...
Definition: z3++.h:1207
iterator& operator++ ( )
inline

Definition at line 1612 of file z3++.h.

1612 { ++i; return *this; }
iterator operator++ ( int  )
inline

Definition at line 1613 of file z3++.h.

1613 { assert(false); return *this; }
bool operator== ( iterator const &  other)
inlinenoexcept

Definition at line 1605 of file z3++.h.

1605  {
1606  return i == other.i;
1607  }