soprano
Soprano::Util::ReadOnlyModel Class Reference
#include <Soprano/Util/ReadOnlyModel>
List of all members.
Detailed Description
Simple filter model preventing any write operations.
Stacking a ReadOnlyModel on top of another model will prevent any write operation to be performed. All calls to non-const methods are terminated by Error::ErrorPermissionDenied.
- Author:
- Sebastian Trueg <trueg@kde.org>
- Since:
- 2.1
Definition at line 42 of file readonlymodel.h.
Constructor & Destructor Documentation
| Soprano::Util::ReadOnlyModel::ReadOnlyModel |
( |
Model * |
parentModel = 0 |
) |
|
Create a new read-only-model.
- Parameters:
-
| parentModel | The parent Model. |
| Soprano::Util::ReadOnlyModel::~ReadOnlyModel |
( |
|
) |
|
Member Function Documentation
| bool Soprano::Util::ReadOnlyModel::containsAnyStatement |
( |
const Statement & |
statement |
) |
const [virtual] |
Simply pipes the call through to the parent model.
Implements Soprano::Model.
| bool Soprano::Util::ReadOnlyModel::containsStatement |
( |
const Statement & |
statement |
) |
const [virtual] |
Simply pipes the call through to the parent model.
Implements Soprano::Model.
| Node Soprano::Util::ReadOnlyModel::createBlankNode |
( |
|
) |
[virtual] |
Simply pipes the call through to the parent model.
Implements Soprano::Model.
| bool Soprano::Util::ReadOnlyModel::isEmpty |
( |
|
) |
const [virtual] |
Simply pipes the call through to the parent model.
Implements Soprano::Model.
| NodeIterator Soprano::Util::ReadOnlyModel::listContexts |
( |
|
) |
const [virtual] |
Simply pipes the call through to the parent model.
Implements Soprano::Model.
Default implementation simply pipes the call through to the parent model.
Implements Soprano::Model.
| void Soprano::Util::ReadOnlyModel::setParentModel |
( |
Model * |
model |
) |
|
Set the parent Model.
- Parameters:
-
| model | The Model that this filter will forward any commands to. |
| int Soprano::Util::ReadOnlyModel::statementCount |
( |
|
) |
const [virtual] |
Simply pipes the call through to the parent model.
Implements Soprano::Model.
The documentation for this class was generated from the following file: