class FilterModel


Module soprano
Namespace Soprano
Class FilterModel
Inherits Soprano::Model
\class FilterModel filtermodel.h Soprano/FilterModel

A FilterModel is a virtual model that wraps another Model.

FilterModels can be stacked to provide filtering on each of the Model's methods. A FilterModel has a parent model which is the data base for this filter. The parent can be an actual StorageModel or another FilterModel.

Error handling:

The FilterModel "inherits" its parent Model's errors, i.e. FilterModel.lastError() always equals FilterModel.parent()->lastError() (If the FilterModel implementations are called in subclasses).

Author Sebastian Trueg



methods