![]() |
SMT-RAT
24.02
Toolbox for Strategic and Parallel Satisfiability-Modulo-Theories Solving
|
This class represents one or more origins of some object. More...
#include <Origin.h>

Data Structures | |
| struct | BaseType |
Public Member Functions | |
| Origin () | |
| Origin (const Origin &po) | |
| Origin (Origin &&po) | |
| Origin (std::size_t level, std::size_t id) | |
| Origin (const BaseType &bt) | |
| auto | begin () const |
| auto | end () const |
| bool | isActive () const |
| void | deactivate (std::size_t level, const carl::Bitset &rhs) |
| void | deactivateEC (std::size_t level, const carl::Bitset &rhs) |
| void | activate (std::size_t level, const carl::Bitset &rhs) |
| void | activateEC (std::size_t level, const carl::Bitset &rhs) |
| Origin & | operator= (const Origin &rhs) |
| Origin & | operator= (Origin &&rhs) |
| bool | empty () const |
| bool | operator== (const Origin &rhs) const |
| Origin & | operator+= (const BaseType &rhs) |
| Adds the pair to the origins. More... | |
| Origin & | operator-= (const BaseType &rhs) |
| Removes the pair from the origins. More... | |
| Origin & | erase (std::size_t level, const carl::Bitset &rhs) |
| Origin | operator| (const Origin &rhs) const |
Private Member Functions | |
| void | makeUnique () |
| template<typename F > | |
| void | removeFiltered (F &&f) |
Private Attributes | |
| std::vector< BaseType > | mData |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const Origin &po) |
This class represents one or more origins of some object.
An origin is a single id or a pair of ids (where a single id is represented as a pair of the same id).
As an object can have multiple origins, this class stores a list of such pairs. This class makes sure that the pairs are unique.
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inlineprivate |
|
friend |