|
knowL: Knowledge Libraries
|
#include <TripleStream.h>
Public Member Functions | |
| void | setBase (const knowCore::Uri &_uri) |
| void | addListener (TripleStreamListener *_listener) |
| knowCore::ReturnVoid | start (QIODevice *_device, knowCore::Messages *_messages=nullptr, const QString &_format=knowCore::Format::Turtle) |
This class is used to parse a RDF graph from a QIODevice using start function and forwarding the triples to a listener TripleStreamListener.
| knowCore::ReturnVoid TripleStream::start | ( | QIODevice * | _device, |
| knowCore::Messages * | _messages = nullptr, | ||
| const QString & | _format = knowCore::Format::Turtle ) |
Start parsing triples from _device.