class BindingSet |
|
\class BindingSet bindingset.h Soprano/BindingSet
Represents one set of bindings in the result of a select query. BindingSet is mostly a convenience class for caching of query results. See also QueryResultIterator
Author Sebastian Trueg |
|
Create an emtpy set. |
|
Copy constructor. |
|
Returns The names of the bound variables in this set. |
|
Check if a certain variable has a binding in this set.
name - The variable name. Returns true if this set contains a binding for the variable name, false otherwise. |
|
The number of bindings in this set.
Returns The number of bindings. |
|
Insert a new binding into the set. |
|
Get the binding for a variable by index.
This is equivalent to value(int) const. |
|
Get the binding for a variable.
This is equivalent to value(const QString&) const. |
|
Get the binding for a variable by index.
offset - The index of the requested variable. Returns The binding for the requested variable or and invalid node if offset is out of bounds, i.e. bigger or equal to count(). See also QueryResultIterator.binding(int) const. |
|
Get the binding for a variable.
name - The name of the requested variable. Returns The binding for the requested variable or and invalid node if the bindings do not contain the variable. See also QueryResultIterator.binding(const QString&) const. |