Syndication::RDF::Property

Search for usage in LXR

Syndication::RDF::Property Class Reference

#include <property.h>

Inheritance diagram for Syndication::RDF::Property:

Public Member Functions

 Property ()
 
 Property (const QString &uri)
 
 ~Property () override
 
void accept (NodeVisitor *visitor, NodePtr ptr) override
 
Propertyclone () const override
 
bool isProperty () const override
 
- Public Member Functions inherited from Syndication::RDF::Resource
 Resource ()
 
 Resource (const Resource &other)
 
 Resource (const QString &uri)
 
 ~Resource () override
 
void accept (NodeVisitor *visitor, NodePtr ptr) override
 
Resourceclone () const override
 
virtual bool hasProperty (PropertyPtr property) const
 
unsigned int id () const override
 
bool isAnon () const override
 
bool isLiteral () const override
 
bool isNull () const override
 
bool isProperty () const override
 
bool isResource () const override
 
bool isSequence () const override
 
virtual Model model () const
 
Resourceoperator= (const Resource &other)
 
bool operator== (const Node &other) const override
 
virtual QList< StatementPtrproperties (PropertyPtr property) const
 
virtual StatementPtr property (PropertyPtr property) const
 
void setId (unsigned int id) override
 
void setModel (const Model &model) override
 
QString text () const override
 
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 31 of file property.h.

Constructor & Destructor Documentation

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

creates a null property

Definition at line 15 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 20 of file property.cpp.

Syndication::RDF::Property::~Property ( )
override

destructor

Definition at line 25 of file property.cpp.

Member Function Documentation

void Syndication::RDF::Property::accept ( NodeVisitor visitor,
NodePtr  ptr 
)
overridevirtual

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

Definition at line 34 of file property.cpp.

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

creates a copy of the property object

Implements Syndication::RDF::Node.

Definition at line 43 of file property.cpp.

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

returns true for properties

Implements Syndication::RDF::Node.

Definition at line 29 of file property.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Nov 26 2021 23:04:18 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.