22 #ifndef _SOPRANO_DATA_STREAM_H_ 23 #define _SOPRANO_DATA_STREAM_H_ 62 bool writeString(
const QString& );
63 bool writeUrl(
const QUrl& );
65 bool writeUnsignedInt8( quint8 );
66 bool writeUnsignedInt16( quint16 );
67 bool writeUnsignedInt32( quint32 );
68 bool writeInt32( qint32 );
69 bool writeBool(
bool );
76 bool writeNode(
const Node& );
82 bool readUrl(
QUrl& );
84 bool readUnsignedInt8( quint8& );
85 bool readUnsignedInt16( quint16& );
86 bool readUnsignedInt32( quint32& );
87 bool readInt32( qint32& );
88 bool readBool(
bool& );
95 bool readNode(
Node& );
104 virtual bool read(
char* data, qint64
size ) = 0;
110 virtual bool write(
const char* data, qint64 size ) = 0;
A Node represents one RDF resource.
SOPRANO_EXPORT QUrl size()
A Statement instance represents one RDF quadruple.
Core class of Soprano's exception system.
SOPRANO_EXPORT QUrl Statement()
Represents one set of bindings in the result of a select query.
Represents a literal value of an RDF Node.
Details of a parser Error.
Represents an error in Soprano.