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

syndication/rdf

  • Syndication
  • RDF
  • Property
Public Member Functions | List of all members
Syndication::RDF::Property Class Reference

#include <property.h>

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

Public Member Functions

 Property ()
 
 Property (const QString &uri)
 
virtual ~Property ()
 
virtual void accept (NodeVisitor *visitor, NodePtr ptr)
 
virtual Property * clone () const
 
virtual bool isProperty () const
 
- Public Member Functions inherited from Syndication::RDF::Resource
 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 isResource () const
 
virtual bool isSequence () 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
 
- Public Member Functions inherited from Syndication::RDF::Node
virtual ~Node ()
 

Additional Inherited Members

- Static Protected Attributes inherited from Syndication::RDF::Node
static unsigned int idCounter = 1
 

Detailed Description

a property is node type that represents properties of things, like "name" is a property of a person, or "color" is a property of e.g.

a car. Properties can be used as predicates in statements.

Author
Frank Osterfeld

Definition at line 45 of file property.h.

Constructor & Destructor Documentation

Syndication::RDF::Property::Property ( )

creates a null property

Definition at line 29 of file property.cpp.

Syndication::RDF::Property::Property ( const QString &  uri)
explicit

creates a property with a given URI

Parameters
urithe URI of the property

Definition at line 33 of file property.cpp.

Syndication::RDF::Property::~Property ( )
virtual

destructor

Definition at line 37 of file property.cpp.

Member Function Documentation

void Syndication::RDF::Property::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 46 of file property.cpp.

Property * Syndication::RDF::Property::clone ( ) const
virtual

creates a copy of the property object

Reimplemented from Syndication::RDF::Resource.

Definition at line 54 of file property.cpp.

bool Syndication::RDF::Property::isProperty ( ) const
virtual

returns true for properties

Reimplemented from Syndication::RDF::Resource.

Definition at line 41 of file property.cpp.


The documentation for this class was generated from the following files:
  • property.h
  • property.cpp
This file is part of the KDE documentation.
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.

syndication/rdf

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

kdepimlibs API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2

Search



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