syndication/rdf
#include <sequence.h>

Public Member Functions | |
Sequence () | |
Sequence (const QString &uri) | |
Sequence (const Sequence &other) | |
virtual | ~Sequence () |
virtual void | accept (NodeVisitor *visitor, NodePtr ptr) |
virtual void | append (NodePtr node) |
virtual Sequence * | clone () const |
virtual bool | isSequence () const |
virtual QList< NodePtr > | items () const |
virtual Sequence & | operator= (const Sequence &other) |
![]() | |
Resource () | |
Resource (const Resource &other) | |
Resource (const QString &uri) | |
virtual | ~Resource () |
virtual bool | hasProperty (PropertyPtr property) const |
virtual unsigned int | id () const |
virtual bool | isAnon () const |
virtual bool | isLiteral () const |
virtual bool | isNull () const |
virtual bool | isProperty () const |
virtual bool | isResource () const |
virtual Model | model () const |
Resource & | operator= (const Resource &other) |
bool | operator== (const Node &other) const |
virtual QList< StatementPtr > | properties (PropertyPtr property) const |
virtual StatementPtr | property (PropertyPtr property) const |
virtual void | setId (unsigned int id) |
virtual void | setModel (const Model &model) |
virtual QString | text () const |
virtual QString | uri () const |
![]() | |
virtual | ~Node () |
Additional Inherited Members | |
![]() | |
static unsigned int | idCounter = 1 |
Detailed Description
Sequence container, a sequence contains an ordered list of RDF nodes.
(opposed to the usually unordered graph structure)
Definition at line 45 of file sequence.h.
Constructor & Destructor Documentation
Syndication::RDF::Sequence::Sequence | ( | ) |
creates a null sequence
Definition at line 40 of file sequence.cpp.
|
explicit |
creates a sequence with the given URI.
Do not use this directly, use Model::createSequence() instead.
Definition at line 44 of file sequence.cpp.
Syndication::RDF::Sequence::Sequence | ( | const Sequence & | other | ) |
|
virtual |
destructor
Definition at line 54 of file sequence.cpp.
Member Function Documentation
|
virtual |
Used by visitors for double dispatch.
See NodeVisitor for more information.
- Parameters
-
visitor the visitor calling the method ptr a shared pointer object for this node
Reimplemented from Syndication::RDF::Resource.
Definition at line 57 of file sequence.cpp.
|
virtual |
appends a node at the end of the sequence
- Parameters
-
node the RDF node to append to the sequence
Definition at line 76 of file sequence.cpp.
|
virtual |
creates a copy of the sequence
Reimplemented from Syndication::RDF::Resource.
Definition at line 64 of file sequence.cpp.
|
virtual |
returns true
Reimplemented from Syndication::RDF::Resource.
Definition at line 87 of file sequence.cpp.
|
virtual |
the list of the list items in the sequence, in the specified order
Definition at line 82 of file sequence.cpp.
assigns another sequence
- Parameters
-
other the sequence to assign
Definition at line 69 of file sequence.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:38 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.