dlvhex
2.5.0
|
Module atom structure for storing atoms of kind <predicate>[<inputs>]::<outputAtom>. More...
#include <include/dlvhex2/Atoms.h>
Public Member Functions | |
ModuleAtom (IDKind kind, ID predicate, const Tuple &inputs, ID outputAtom, std::string actualModuleName) | |
Constructor. | |
ModuleAtom (IDKind kind) | |
Constructor. | |
std::ostream & | print (std::ostream &o) const |
Data Fields | |
ID | predicate |
Module atom name (predicate term). | |
Tuple | inputs |
Input terms. | |
ID | outputAtom |
Module output predicate. | |
std::string | actualModuleName |
If the <predicate> is p1__p2 (because of prefixing) then the actualModuleName should be p2. |
Module atom structure for storing atoms of kind <predicate>[<inputs>]::<outputAtom>.
ModuleAtom::ModuleAtom | ( | IDKind | kind, |
ID | predicate, | ||
const Tuple & | inputs, | ||
ID | outputAtom, | ||
std::string | actualModuleName | ||
) | [inline] |
Constructor.
kind | See Atom::kind. |
predicate | See ModuleAtom::predicate. |
inputs | See ModuleAtom::inputs. |
outputAtom | See ModuleAtom::outputAtom. |
actualModuleName | See ModuleAtom::actualModuleName. |
ModuleAtom::ModuleAtom | ( | IDKind | kind | ) | [inline] |
std::ostream & ModuleAtom::print | ( | std::ostream & | o | ) | const |
Definition at line 438 of file Atoms.cpp.
References inputs, outputAtom, predicate, and printvector().
std::string ModuleAtom::actualModuleName |
If the <predicate> is p1__p2 (because of prefixing) then the actualModuleName should be p2.
Definition at line 469 of file Atoms.h.
Referenced by sem< HexGrammarSemantics::mlpModuleAtom >::operator()().
Input terms.
Definition at line 465 of file Atoms.h.
Referenced by sem< HexGrammarSemantics::mlpModuleAtom >::operator()(), RawPrinter::print(), print(), and MLPSyntaxChecker::verifyAllModuleCalls().
Module output predicate.
Definition at line 467 of file Atoms.h.
Referenced by sem< HexGrammarSemantics::mlpModuleAtom >::operator()(), RawPrinter::print(), print(), and MLPSyntaxChecker::verifyAllModuleCalls().
Module atom name (predicate term).
Definition at line 463 of file Atoms.h.
Referenced by sem< HexGrammarSemantics::mlpModuleAtom >::operator()(), RawPrinter::print(), print(), and MLPSyntaxChecker::verifyAllModuleCalls().