A cnf::Clause
represents a disjunction of Predicate
s.
More...
#include <CNF.hpp>
|
std::ostream &M_EXPORT | operator<< (std::ostream &out, const Clause &clause) |
| Print a textual representation of clause to out .
|
|
M_EXPORT std::string | to_string (const Clause &clause) |
|
A cnf::Clause
represents a disjunction of Predicate
s.
Definition at line 86 of file CNF.hpp.
◆ can_be_null()
bool m::cnf::Clause::can_be_null |
( |
| ) |
const |
|
inline |
Returns true
iff this cnf::Clause
formula is nullable, i.e.
may evaluate to NULL
at runtime.
Definition at line 111 of file CNF.hpp.
◆ dump() [1/2]
void cnf::Clause::dump |
( |
| ) |
const |
◆ dump() [2/2]
void cnf::Clause::dump |
( |
std::ostream & |
out | ) |
const |
◆ get_required()
Schema m::cnf::Clause::get_required |
( |
| ) |
const |
|
inline |
Returns a Schema
instance containing all required definitions (of Attribute
s and other Designator
s).
Definition at line 96 of file CNF.hpp.
◆ is_equi()
bool m::cnf::Clause::is_equi |
( |
| ) |
const |
|
inline |
Returns true
iff this cnf::Clause
formula is an equi-predicate, i.e.
a single equality comparison of two designators.
Definition at line 105 of file CNF.hpp.
◆ operator!=()
bool m::cnf::Clause::operator!= |
( |
const Clause & |
other | ) |
const |
|
inline |
◆ operator<=()
bool cnf::Clause::operator<= |
( |
const Clause & |
other | ) |
const |
◆ operator==()
bool m::cnf::Clause::operator== |
( |
const Clause & |
other | ) |
const |
|
inline |
◆ operator>=()
bool m::cnf::Clause::operator>= |
( |
const Clause & |
other | ) |
const |
|
inline |
◆ to_sql()
void cnf::Clause::to_sql |
( |
std::ostream & |
out | ) |
const |
Print as SQL expression.
Definition at line 107 of file CNF.cpp.
◆ operator<<
std::ostream &M_EXPORT operator<< |
( |
std::ostream & |
out, |
|
|
const Clause & |
clause |
|
) |
| |
|
friend |
Print a textual representation of clause
to out
.
◆ to_string
M_EXPORT std::string to_string |
( |
const Clause & |
clause | ) |
|
|
friend |
◆ elements
T std::vector< T >::elements |
|
inherited |
The documentation for this struct was generated from the following files: