Models a Sparql list. More...
Public Member Functions | |
ValueList () | |
Constructs an empty list. | |
QList< Value > | values () const |
Returns the values in this list. | |
void | setValues (const QList< Value > &values) |
Replaces the values of the list with the values in values . | |
void | addValue (const Value &value) |
Adds a new value to the list. |
Models a Sparql list.
This class is different from a simple QList<Value> because it can generate the Sparql representation of the list.
Note that the list does not take ownership of the values, the user must free them.