souffle  2.0.2-371-g6315b36
Public Member Functions | Protected Member Functions
souffle::ram::ProvenanceExistenceCheck Class Reference

Provenance Existence check for a relation. More...

#include <ProvenanceExistenceCheck.h>

Inheritance diagram for souffle::ram::ProvenanceExistenceCheck:
Inheritance graph
Collaboration diagram for souffle::ram::ProvenanceExistenceCheck:
Collaboration graph

Public Member Functions

ProvenanceExistenceCheckclone () const override
 Create a clone (i.e. More...
 
 ProvenanceExistenceCheck (std::string rel, VecOwn< Expression > vals)
 
- Public Member Functions inherited from souffle::ram::AbstractExistenceCheck
 AbstractExistenceCheck (std::string rel, VecOwn< Expression > vals)
 
void apply (const NodeMapper &map) override
 Apply the mapper to all child nodes. More...
 
std::vector< const Node * > getChildNodes () const override
 Obtain list of all embedded child nodes. More...
 
const std::string & getRelation () const
 Get relation. More...
 
const std::vector< Expression * > getValues () const
 Get arguments of the tuple/pattern A null pointer element in the vector denotes an unspecified pattern for a tuple element. More...
 
- Public Member Functions inherited from souffle::ram::Node
bool operator!= (const Node &other) const
 Inequality check for two RAM nodes. More...
 
bool operator== (const Node &other) const
 Equivalence check for two RAM nodes. More...
 
virtual void rewrite (const Node *oldNode, Own< Node > newNode)
 Rewrite a child node. More...
 
virtual ~Node ()=default
 

Protected Member Functions

void print (std::ostream &os) const override
 Print RAM node. More...
 
- Protected Member Functions inherited from souffle::ram::AbstractExistenceCheck
bool equal (const Node &node) const override
 Equality check for two RAM nodes. More...
 

Additional Inherited Members

- Protected Attributes inherited from souffle::ram::AbstractExistenceCheck
const std::string relation
 Relation. More...
 
VecOwn< Expressionvalues
 Search tuple. More...
 

Detailed Description

Provenance Existence check for a relation.

Definition at line 42 of file ProvenanceExistenceCheck.h.

Constructor & Destructor Documentation

◆ ProvenanceExistenceCheck()

souffle::ram::ProvenanceExistenceCheck::ProvenanceExistenceCheck ( std::string  rel,
VecOwn< Expression vals 
)
inline

Definition at line 44 of file ProvenanceExistenceCheck.h.

48  :
49  void print(std::ostream& os) const override {

Member Function Documentation

◆ clone()

ProvenanceExistenceCheck* souffle::ram::ProvenanceExistenceCheck::clone ( ) const
inlineoverridevirtual

Create a clone (i.e.

deep copy) of this node

Implements souffle::ram::Condition.

Definition at line 47 of file ProvenanceExistenceCheck.h.

48  :
49  void print(std::ostream& os) const override {
50  os << "prov";
52  }
53 };

References souffle::ram::AbstractExistenceCheck::print().

Here is the call graph for this function:

◆ print()

void souffle::ram::ProvenanceExistenceCheck::print ( std::ostream &  out) const
inlineoverrideprotectedvirtual

Print RAM node.

Reimplemented from souffle::ram::AbstractExistenceCheck.

Definition at line 56 of file ProvenanceExistenceCheck.h.


The documentation for this class was generated from the following file:
souffle::ram::AbstractExistenceCheck::print
void print(std::ostream &os) const override
Print RAM node.
Definition: AbstractExistenceCheck.h:85
souffle::ram::ProvenanceExistenceCheck::print
void print(std::ostream &os) const override
Print RAM node.
Definition: ProvenanceExistenceCheck.h:56