graph.h   graph.h 
skipping to change at line 27 skipping to change at line 27
* along with this library; see the file COPYING.LIB. If not, write to * along with this library; see the file COPYING.LIB. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA. * Boston, MA 02110-1301, USA.
*/ */
#ifndef SOPRANO_GRAPH_H #ifndef SOPRANO_GRAPH_H
#define SOPRANO_GRAPH_H #define SOPRANO_GRAPH_H
#include <QtCore/QList> #include <QtCore/QList>
#include <QtCore/QSharedDataPointer> #include <QtCore/QSharedDataPointer>
#include <QtCore/QDebug>
#include "soprano_export.h" #include "soprano_export.h"
#include "error.h" #include "error.h"
#include "sopranotypes.h" #include "sopranotypes.h"
#include "node.h" #include "node.h"
#include "statement.h" #include "statement.h"
namespace Soprano namespace Soprano
{ {
class StatementIterator; class StatementIterator;
skipping to change at line 249 skipping to change at line 250
int statementCount() const; int statementCount() const;
//@} //@}
//@{ //@{
/** /**
* Convert the Graph into a list * Convert the Graph into a list
*/ */
QList<Statement> toList() const; QList<Statement> toList() const;
//@} //@}
//@{
/**
* Convert the Graph into a set
*/
QSet<Statement> toSet() const;
//@}
/** /**
* \name Operators * \name Operators
*/ */
//@{ //@{
/** /**
* Assings \a g to this graph and returns a refernce to this graph. * Assings \a g to this graph and returns a refernce to this graph.
*/ */
Graph& operator=( const Graph& g ); Graph& operator=( const Graph& g );
/** /**
skipping to change at line 340 skipping to change at line 348
* \return \p true if this graph contains a statement * \return \p true if this graph contains a statement
* \a g does not contain or the other way around, \p false otherwis e. * \a g does not contain or the other way around, \p false otherwis e.
*/ */
bool operator!=( const Graph& g ) const; bool operator!=( const Graph& g ) const;
//@} //@}
private: private:
class Private; class Private;
QSharedDataPointer<Private> d; QSharedDataPointer<Private> d;
}; };
SOPRANO_EXPORT QDebug operator<<(QDebug dbg, const Graph& graph);
} }
#endif #endif
 End of changes. 3 change blocks. 
0 lines changed or deleted 10 lines changed or added


 literalvalue.h   literalvalue.h 
/* /*
* This file is part of Soprano Project. * This file is part of Soprano Project.
* *
* Copyright (C) 2007 Sebastian Trueg <trueg@kde.org> * Copyright (C) 2007-2011 Sebastian Trueg <trueg@kde.org>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public * modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version. * version 2 of the License, or (at your option) any later version.
* *
* This library is distributed in the hope that it will be useful, * This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details. * Library General Public License for more details.
skipping to change at line 88 skipping to change at line 88
/** /**
* Default copy constructor * Default copy constructor
*/ */
LiteralValue( const LiteralValue& other ); LiteralValue( const LiteralValue& other );
/** /**
* Creates a new LiteralValue from a QVariant. * Creates a new LiteralValue from a QVariant.
* User types are not supported. If v contains an * User types are not supported. If v contains an
* unsupported type an invalid LiteralValue is created. * unsupported type an invalid LiteralValue is created.
*
* \sa fromVariant()
*/ */
LiteralValue( const QVariant& v ); LiteralValue( const QVariant& v );
/** /**
* Creates a literal value of type int (i.e. * Creates a literal value of type int (i.e.
* http://www.w3.org/2001/XMLSchema#int) * http://www.w3.org/2001/XMLSchema#int)
*/ */
LiteralValue( int i ); LiteralValue( int i );
/** /**
skipping to change at line 397 skipping to change at line 399
* Vocabulary::XMLSchema::string. * Vocabulary::XMLSchema::string.
* *
* \return A newly created LiteralValue instance based on the provi ded \a value and * \return A newly created LiteralValue instance based on the provi ded \a value and
* \a dataTypeUri. * \a dataTypeUri.
* *
* \sa fromString(const QString&, QVariant::Type), Vocabulary::XMLS chema * \sa fromString(const QString&, QVariant::Type), Vocabulary::XMLS chema
*/ */
static LiteralValue fromString( const QString& value, const QUrl& d ataTypeUri ); static LiteralValue fromString( const QString& value, const QUrl& d ataTypeUri );
/** /**
* Create a LiteralValue object by converting \p value to the given
\p dataType.
*
* If the type of the variant matches the \p dataType this method h
as the same
* effect as the constructor which takes a QVariant as parameter. H
owever, this
* method supports automatic conversion for a set of types includin
g:
*
* \li Conversion of different decimal types
* \li Conversion of everything to xsd:string
* \li Conversion of decimal types to xsd:dateTime (using QDateTime
::fromTime_t())
*
* \param value The value the created LiteralValue should have. If
invalid an
* invalid LiteralValue will be created.
* \param dataType The RDF literal data type the created LiteralVal
ue should have.
* If empty the result will be the same as providing \p value to th
e constructor
* of LiteralValue. No conversion will take place.
*
* \return A newly created Literalvalue instance based on the given
\p value and
* \p dataType.
*
* \since 2.7
*/
static LiteralValue fromVariant( const QVariant& value, const QUrl&
dataType );
/**
* Create a plain LiteralValue object with an optional language tag . * Create a plain LiteralValue object with an optional language tag .
* *
* \param value The value of the literal. * \param value The value of the literal.
* *
* \param lang The language tag. * \param lang The language tag.
* *
* Both an empty \a value and \a lang will result in an invalid Lit eralValue * Both an empty \a value and \a lang will result in an invalid Lit eralValue
* instance but an empty \a value with a valid \a lang is possible. A valid * instance but an empty \a value with a valid \a lang is possible. A valid
* \a value with an empty \a lang will result in a plain, untyped l iteral with no * \a value with an empty \a lang will result in a plain, untyped l iteral with no
* language tag. * language tag.
 End of changes. 3 change blocks. 
1 lines changed or deleted 37 lines changed or added


 nao.h   nao.h 
/* /*
* This file has been generated by the onto2vocabularyclass tool * This file has been generated by the onto2vocabularyclass tool
* copyright (C) 2007-2010 Sebastian Trueg <trueg@kde.org> * copyright (C) 2007-2011 Sebastian Trueg <trueg@kde.org>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public * modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version. * version 2 of the License, or (at your option) any later version.
* *
* This library is distributed in the hope that it will be useful, * This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details. * Library General Public License for more details.
skipping to change at line 336 skipping to change at line 336
* user. By default everything is user-visible. * user. By default everything is user-visible.
*/ */
SOPRANO_EXPORT QUrl userVisible(); SOPRANO_EXPORT QUrl userVisible();
/** /**
* http://www.semanticdesktop.org/ontologies/2007/08/15/nao#ver sion * http://www.semanticdesktop.org/ontologies/2007/08/15/nao#ver sion
* *
* Specifies the version of a graph, in numeric format * Specifies the version of a graph, in numeric format
*/ */
SOPRANO_EXPORT QUrl version(); SOPRANO_EXPORT QUrl version();
/**
* http://www.semanticdesktop.org/ontologies/2007/08/15/nao#Age
nt
*
* An agent is the artificial counterpart to nao:Party. It can
be a software component or some service.
*/
SOPRANO_EXPORT QUrl Agent();
/**
* http://www.semanticdesktop.org/ontologies/2007/08/15/nao#mai
ntainedBy
*
* The agent that maintains this resource, ie. created it and k
nows what to do with it.
*/
SOPRANO_EXPORT QUrl maintainedBy();
} }
} }
} }
#endif #endif
 End of changes. 2 change blocks. 
1 lines changed or deleted 19 lines changed or added


 parser.h   parser.h 
skipping to change at line 53 skipping to change at line 53
* *
* Each parser plugin may support multiple RDF serializations (supporte dSerializations()). * Each parser plugin may support multiple RDF serializations (supporte dSerializations()).
* *
* *
* \section Usage * \section Usage
* *
* Using a Parser is straightforward. One starts by getting a plugin th at supports the requested * Using a Parser is straightforward. One starts by getting a plugin th at supports the requested
* RDF data serialization: * RDF data serialization:
* *
* \code * \code
* Soprano::Parser* p = Soprano::PluginManager::instance()->discoverPar serForSerialization( Soprano::SerializationRdfXml ); * const Soprano::Parser* p = Soprano::PluginManager::instance()->disco verParserForSerialization( Soprano::SerializationRdfXml );
* \endcode * \endcode
* *
* Then parsing RDF data is done in a single method call resulting in a StatementIterator over * Then parsing RDF data is done in a single method call resulting in a StatementIterator over
* the resulting graph (since parsers may support multiple serializatio ns one always needs to * the resulting graph (since parsers may support multiple serializatio ns one always needs to
* provide the serialization type unless a parser plugin support autode tection). * provide the serialization type unless a parser plugin support autode tection).
* *
* \code * \code
* Soprano::StatementIterator it = p->parseFile( "myrdffile.rdf", Sopra no::SerializationRdfXml ); * Soprano::StatementIterator it = p->parseFile( "myrdffile.rdf", Sopra no::SerializationRdfXml );
* \endcode * \endcode
* *
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 serializer.h   serializer.h 
skipping to change at line 53 skipping to change at line 53
* \brief Soprano::Serializer defines the interface for a Soprano RDF s erializer plugin. * \brief Soprano::Serializer defines the interface for a Soprano RDF s erializer plugin.
* *
* Each serializer plugin may support multiple RDF serializations (supp ortedSerializations()). * Each serializer plugin may support multiple RDF serializations (supp ortedSerializations()).
* *
* \section Usage * \section Usage
* *
* Using a Serializer is straightforward. One starts by getting a plugi n that supports the requested * Using a Serializer is straightforward. One starts by getting a plugi n that supports the requested
* RDF data serialization: * RDF data serialization:
* *
* \code * \code
* Soprano::Serializer* s = Soprano::PluginManager::instance()->discove rSerializerForSerialization( Soprano::SerializationRdfXml ); * const Soprano::Serializer* s = Soprano::PluginManager::instance()->d iscoverSerializerForSerialization( Soprano::SerializationRdfXml );
* \endcode * \endcode
* *
* Then serializing RDF data is done in a single method call which writ es the serialized data to a QTextStream: * Then serializing RDF data is done in a single method call which writ es the serialized data to a QTextStream:
* *
* \code * \code
* QTextStream stream( stdout ); * QTextStream stream( stdout );
* s->serialize( model->listStatements(), stream, Soprano::Serializatio nRdfXml ); * s->serialize( model->listStatements(), stream, Soprano::Serializatio nRdfXml );
* \endcode * \endcode
* *
* \sa \ref soprano_writing_plugins * \sa \ref soprano_writing_plugins
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 version.h   version.h 
skipping to change at line 28 skipping to change at line 28
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA. * Boston, MA 02110-1301, USA.
*/ */
#ifndef _SOPRANO_VERSION_H_ #ifndef _SOPRANO_VERSION_H_
#define _SOPRANO_VERSION_H_ #define _SOPRANO_VERSION_H_
#include "soprano_export.h" #include "soprano_export.h"
/// @brief Soprano version as string at compile time. /// @brief Soprano version as string at compile time.
#define SOPRANO_VERSION_STRING "2.6.0" #define SOPRANO_VERSION_STRING "2.7.0"
/// @brief The major Soprano version number at compile time /// @brief The major Soprano version number at compile time
#define SOPRANO_VERSION_MAJOR 2 #define SOPRANO_VERSION_MAJOR 2
/// @brief The minor Soprano version number at compile time /// @brief The minor Soprano version number at compile time
#define SOPRANO_VERSION_MINOR 6 #define SOPRANO_VERSION_MINOR 7
/// @brief The Soprano release version number at compile time /// @brief The Soprano release version number at compile time
#define SOPRANO_VERSION_RELEASE 0 #define SOPRANO_VERSION_RELEASE 0
/** /**
* \brief Create a unique number from the major, minor and release number o f a %Soprano version * \brief Create a unique number from the major, minor and release number o f a %Soprano version
* *
* This function can be used for preprocessing. For version information at runtime * This function can be used for preprocessing. For version information at runtime
* use the version methods in the Soprano namespace. * use the version methods in the Soprano namespace.
*/ */
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/