A set of inference rules.
More...
#include <Soprano/Inference/RuleSet>
A set of inference rules.
RuleSet represents a set of inference rules. Each Rule has a unique name.
- Author
- Sebastian Trueg trueg.nosp@m.@kde.nosp@m..org
Definition at line 54 of file inferenceruleset.h.
◆ RuleSet() [1/2]
Soprano::Inference::RuleSet::RuleSet |
( |
| ) |
|
◆ RuleSet() [2/2]
Soprano::Inference::RuleSet::RuleSet |
( |
const RuleSet & | | ) |
|
◆ ~RuleSet()
Soprano::Inference::RuleSet::~RuleSet |
( |
| ) |
|
◆ operator=()
◆ clear()
void Soprano::Inference::RuleSet::clear |
( |
| ) |
|
◆ insert()
void Soprano::Inference::RuleSet::insert |
( |
const QString & | name, |
|
|
const Rule & | rule ) |
Add a Rule to the set.
- Parameters
-
name | The name the new rule is supposed to be stored under. |
rule | The new rule to store in the set. |
◆ count()
int Soprano::Inference::RuleSet::count |
( |
| ) |
const |
Number of rules in the set.
- Returns
- The number of rules.
◆ at()
Rule Soprano::Inference::RuleSet::at |
( |
int | index | ) |
const |
◆ operator[]() [1/2]
Rule Soprano::Inference::RuleSet::operator[] |
( |
int | index | ) |
const |
◆ rule()
Rule Soprano::Inference::RuleSet::rule |
( |
const QString & | name | ) |
const |
◆ operator[]() [2/2]
Rule Soprano::Inference::RuleSet::operator[] |
( |
const QString & | name | ) |
const |
◆ ruleNames()
QStringList Soprano::Inference::RuleSet::ruleNames |
( |
| ) |
const |
◆ allRules()
QList< Rule > Soprano::Inference::RuleSet::allRules |
( |
| ) |
const |
◆ standardRuleSet()
Read a standard Soprano rulset.
- See also
- RuleParser
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/soprano-2.9.4-build/soprano-2.9.4/soprano/inference/inferenceruleset.h