• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • KDE Support
  • Sitemap
  • Contact Us
 

soprano

Soprano::Inference::RuleSet

Soprano::Inference::RuleSet Class Reference

A set of inference rules. More...

#include <Soprano/Inference/RuleSet>

List of all members.

Public Member Functions

 RuleSet (const RuleSet &)
 RuleSet ()
 ~RuleSet ()
QList< Rule > allRules () const
Rule at (int index) const
void clear ()
int count () const
void insert (const QString &name, const Rule &rule)
RuleSet & operator= (const RuleSet &)
Rule operator[] (const QString &name) const
Rule operator[] (int index) const
Rule rule (const QString &name) const
QStringList ruleNames () const

Static Public Member Functions

static RuleSet standardRuleSet (StandardRuleSet)

Detailed Description

A set of inference rules.

RuleSet represents a set of inference rules. Each Rule has a unique name.

Author:
Sebastian Trueg <trueg@kde.org>

Definition at line 54 of file inferenceruleset.h.


Constructor & Destructor Documentation

Soprano::Inference::RuleSet::RuleSet (  ) 

Create an empty RuleSet.

Soprano::Inference::RuleSet::RuleSet ( const RuleSet &   ) 

Copy constructor.

Soprano::Inference::RuleSet::~RuleSet (  ) 

Destructor.


Member Function Documentation

QList<Rule> Soprano::Inference::RuleSet::allRules (  )  const
Rule Soprano::Inference::RuleSet::at ( int  index  )  const
void Soprano::Inference::RuleSet::clear (  ) 
int Soprano::Inference::RuleSet::count (  )  const

Number of rules in the set.

Returns:
The number of rules.
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.
RuleSet& Soprano::Inference::RuleSet::operator= ( const RuleSet &   ) 
Rule Soprano::Inference::RuleSet::operator[] ( const QString &  name  )  const
Rule Soprano::Inference::RuleSet::operator[] ( int  index  )  const
Rule Soprano::Inference::RuleSet::rule ( const QString &  name  )  const
QStringList Soprano::Inference::RuleSet::ruleNames (  )  const
static RuleSet Soprano::Inference::RuleSet::standardRuleSet ( StandardRuleSet   )  [static]

Read a standard Soprano rulset.

See also:
RuleParser

The documentation for this class was generated from the following file:
  • inferenceruleset.h

soprano

Skip menu "soprano"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

KDE Support

Skip menu "KDE Support"
  • akonadi
  • Decibel
  • grantlee
  • kdewin
  • phonon
  •     Backend
  • polkit-qt
  • qca
  • qimageblitz
  • soprano
  • strigi
  •     searchclient
  •     streamanalyzer
  •     streams
Generated for KDE Support by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal