souffle
2.0.2-371-g6315b36
|
Wrapper for InterpreterRelation. More...
#include <Relation.h>
Data Structures | |
class | Iterator |
The iterator interface. More... | |
class | iterator_base |
A virtualized iterator class that can be used by the Proginterface. More... | |
Public Types | |
using | arity_type = souffle::Relation::arity_type |
using | IndexViewPtr = Own< ViewWrapper > |
Public Member Functions | |
virtual Iterator | begin () const =0 |
virtual bool | contains (const RamDomain *) const =0 |
virtual IndexViewPtr | createView (const size_t &) const =0 |
Obtains a view on an index of this relation, facilitating hint-supported accesses. More... | |
virtual Iterator | end () const =0 |
arity_type | getArity () const |
arity_type | getAuxiliaryArity () const |
virtual Order | getIndexOrder (size_t) const =0 |
Return the order of an index. More... | |
const std::string & | getName () const |
virtual void | insert (const RamDomain *)=0 |
virtual void | purge ()=0 |
RelationWrapper (arity_type arity, arity_type auxiliaryArity, std::string relName) | |
virtual size_t | size () const =0 |
virtual | ~RelationWrapper ()=default |
Protected Attributes | |
arity_type | arity |
arity_type | auxiliaryArity |
std::string | relName |
Wrapper for InterpreterRelation.
This class unifies the InterpreterRelation template classes. It also defines virtual interfaces for ProgInterface and some virtual helper functions for interpreter execution.
Definition at line 48 of file Relation.h.
Definition at line 55 of file Relation.h.
Definition at line 141 of file Relation.h.
|
inline |
Definition at line 58 of file Relation.h.
|
virtualdefault |
|
pure virtual |
Implemented in souffle::interpreter::Relation< _Arity, Structure >.
Referenced by souffle::interpreter::Relation< 2, Eqrel >::castView().
|
pure virtual |
Implemented in souffle::interpreter::Relation< _Arity, Structure >, and souffle::interpreter::Relation< 2, Eqrel >.
Referenced by souffle::interpreter::RelInterface::RelInterface().
|
pure virtual |
Obtains a view on an index of this relation, facilitating hint-supported accesses.
This function is virtual because view creation require at least one indirect dispatch.
Implemented in souffle::interpreter::Relation< _Arity, Structure >, and souffle::interpreter::Relation< 2, Eqrel >.
|
pure virtual |
Implemented in souffle::interpreter::Relation< _Arity, Structure >.
|
inline |
Definition at line 131 of file Relation.h.
|
inline |
Definition at line 135 of file Relation.h.
|
pure virtual |
Return the order of an index.
Implemented in souffle::interpreter::Relation< _Arity, Structure >, and souffle::interpreter::Relation< 2, Eqrel >.
|
inline |
Definition at line 127 of file Relation.h.
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in souffle::interpreter::Relation< _Arity, Structure >.
Referenced by souffle::interpreter::RelInterface::getAttrType().
|
protected |
Definition at line 158 of file Relation.h.
|
protected |
Definition at line 159 of file Relation.h.
|
protected |
Definition at line 156 of file Relation.h.
Referenced by souffle::interpreter::RelationWrapper::Iterator::operator!=().