• Skip to content
  • Skip to link menu
KDE 4.3 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

syndication/rdf

Syndication::RDF::Sequence

Syndication::RDF::Sequence Class Reference

Sequence container, a sequence contains an ordered list of RDF nodes. More...

#include <sequence.h>

Inheritance diagram for Syndication::RDF::Sequence:
Syndication::RDF::Resource Syndication::RDF::Node

List of all members.

Public Member Functions

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)
 Sequence (const Sequence &other)
 Sequence (const QString &uri)
 Sequence ()
virtual ~Sequence ()

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:
other sequence

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:
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.

void Syndication::RDF::Sequence::append ( NodePtr  node  )  [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.

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:
other the sequence to assign

Reimplemented from Syndication::RDF::Resource.

Definition at line 69 of file sequence.cpp.


The documentation for this class was generated from the following files:
  • sequence.h
  • sequence.cpp

syndication/rdf

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

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  • kabc
  • kblog
  • kcal
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  • kldap
  • kmime
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal