yosys-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Minisat::TrailIterator Class Reference

#include <SolverTypes.h>

+ Collaboration diagram for Minisat::TrailIterator:

Public Member Functions

 TrailIterator (const Lit *_lits)
 
void operator++ ()
 
Lit operator* () const
 
bool operator== (const TrailIterator &ti) const
 
bool operator!= (const TrailIterator &ti) const
 

Private Attributes

const Litlits
 

Detailed Description

Definition at line 308 of file SolverTypes.h.

Constructor & Destructor Documentation

Minisat::TrailIterator::TrailIterator ( const Lit _lits)
inline

Definition at line 311 of file SolverTypes.h.

311 : lits(_lits){}

Member Function Documentation

bool Minisat::TrailIterator::operator!= ( const TrailIterator ti) const
inline

Definition at line 317 of file SolverTypes.h.

317 { return lits != ti.lits; }
Lit Minisat::TrailIterator::operator* ( ) const
inline

Definition at line 314 of file SolverTypes.h.

314 { return *lits; }
void Minisat::TrailIterator::operator++ ( )
inline

Definition at line 313 of file SolverTypes.h.

313 { lits++; }
bool Minisat::TrailIterator::operator== ( const TrailIterator ti) const
inline

Definition at line 316 of file SolverTypes.h.

316 { return lits == ti.lits; }

Field Documentation

const Lit* Minisat::TrailIterator::lits
private

Definition at line 309 of file SolverTypes.h.


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