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 1526 of file z3++.h.

Constructor & Destructor Documentation

iterator ( expr e,
unsigned  i 
)
inline

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

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

Member Function Documentation

bool operator!= ( iterator const &  other)
inlinenoexcept

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

1534  {
1535  return i != other.i;
1536  }
expr operator* ( ) const
inline

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

1537 { 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:1152
iterator& operator++ ( )
inline

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

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

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

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

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

1531  {
1532  return i == other.i;
1533  }