souffle
2.0.2-371-g6315b36
|
Iterator wrapper class. More...
#include <ProgInterface.h>
Public Member Functions | |
iterator_base * | clone () const override |
Clone iterator. More... | |
iterator_base (uint32_t arg_id, const RelInterface *r, RelationWrapper::Iterator i) | |
tuple & | operator* () override |
Get current tuple. More... | |
void | operator++ () override |
Increment iterator. More... | |
~iterator_base () override=default | |
Destructor. More... | |
Public Member Functions inherited from souffle::Relation::iterator_base | |
virtual uint32_t | getId () const |
Get the ID of the iterator_base object. More... | |
iterator_base (uint32_t arg_id) | |
Constructor. More... | |
bool | operator== (const iterator_base &o) const |
Overload the "==" operator. More... | |
Protected Member Functions | |
bool | equal (const souffle::Relation::iterator_base &o) const override |
Check equivalence. More... | |
Private Attributes | |
RelationWrapper::Iterator | it |
const RelInterface * | ramRelationInterface |
tuple | tup |
Additional Inherited Members | |
Protected Attributes inherited from souffle::Relation::iterator_base | |
uint32_t | id |
Required for identifying type of iterator (NB: LLVM has no typeinfo). More... | |
Iterator wrapper class.
Definition at line 133 of file ProgInterface.h.
|
inline |
Definition at line 135 of file ProgInterface.h.
References souffle::interpreter::RelInterface::getAttrType(), i, and ramRelationInterface.
Referenced by souffle::interpreter::RelInterface::size().
|
overridevirtualdefault |
Destructor.
Reimplemented from souffle::Relation::iterator_base.
|
inlineoverridevirtual |
Clone iterator.
Implements souffle::Relation::iterator_base.
Definition at line 176 of file ProgInterface.h.
|
inlineoverrideprotectedvirtual |
Check equivalence.
Implements souffle::Relation::iterator_base.
Definition at line 182 of file ProgInterface.h.
|
inlineoverridevirtual |
Get current tuple.
Implements souffle::Relation::iterator_base.
Definition at line 145 of file ProgInterface.h.
|
inlineoverridevirtual |
Increment iterator.
Implements souffle::Relation::iterator_base.
Definition at line 140 of file ProgInterface.h.
References souffle::interpreter::RelInterface::getSymbolTable(), i, it, ramRelationInterface, souffle::SymbolTable::resolve(), and tup.
|
private |
Definition at line 193 of file ProgInterface.h.
Referenced by operator*(), operator++(), souffle::interpreter::RelInterface::purge(), and souffle::interpreter::RelInterface::size().
|
private |
Definition at line 192 of file ProgInterface.h.
Referenced by iterator_base(), operator++(), and souffle::interpreter::RelInterface::size().
|
private |
Definition at line 194 of file ProgInterface.h.
Referenced by operator++(), and souffle::interpreter::RelInterface::size().