• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.8.3 API Reference
  • KDE Home
  • Contact Us
 

syndication/rdf

  • Syndication
  • RDF
  • Sequence
Public Member Functions
Syndication::RDF::Sequence Class Reference

#include <sequence.h>

Inheritance diagram for Syndication::RDF::Sequence:
Inheritance graph
[legend]

List of all members.

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)

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.

Syndication::RDF::Sequence::Sequence ( const QString &  uri) [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)

copies a sequence

Parameters:
othersequence

Definition at line 49 of file sequence.cpp.

Syndication::RDF::Sequence::~Sequence ( ) [virtual]

destructor

Definition at line 54 of file sequence.cpp.


Member Function Documentation

void Syndication::RDF::Sequence::accept ( NodeVisitor *  visitor,
NodePtr  ptr 
) [virtual]

Used by visitors for double dispatch.

See NodeVisitor for more information.

Parameters:
visitorthe visitor calling the method
ptra shared pointer object for this node

Reimplemented from Syndication::RDF::Resource.

Definition at line 57 of file sequence.cpp.

void Syndication::RDF::Sequence::append ( NodePtr  node) [virtual]

appends a node at the end of the sequence

Parameters:
nodethe RDF node to append to the sequence

Definition at line 76 of file sequence.cpp.

Sequence * Syndication::RDF::Sequence::clone ( ) const [virtual]

creates a copy of the sequence

Reimplemented from Syndication::RDF::Resource.

Definition at line 64 of file sequence.cpp.

bool Syndication::RDF::Sequence::isSequence ( ) const [virtual]

returns true

Reimplemented from Syndication::RDF::Resource.

Definition at line 87 of file sequence.cpp.

QList< NodePtr > Syndication::RDF::Sequence::items ( ) const [virtual]

the list of the list items in the sequence, in the specified order

Definition at line 82 of file sequence.cpp.

Sequence & Syndication::RDF::Sequence::operator= ( const Sequence &  other) [virtual]

assigns another sequence

Parameters:
otherthe sequence to assign

Definition at line 69 of file sequence.cpp.


The documentation for this class was generated from the following files:
  • sequence.h
  • sequence.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Apr 30 2012 21:48:56 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

syndication/rdf

Skip menu "syndication/rdf"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List

kdepimlibs-4.8.3 API Reference

Skip menu "kdepimlibs-4.8.3 API Reference"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal