Search for usage in LXR

Syndication::RDF::Property Class Reference

#include <property.h>

Inherits Syndication::RDF::Resource.

Public Member Functions

 Property ()
 Property (const QString &uri)
 ~Property () override
void accept (NodeVisitor *visitor, NodePtr ptr) override
Propertyclone () const override
bool isProperty () const override

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.

Frank Osterfeld

Definition at line 31 of file property.h.

Constructor & Destructor Documentation

◆ Property() [1/2]

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

creates a null property

Definition at line 15 of file property.cpp.

◆ Property() [2/2]

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

creates a property with a given URI

urithe URI of the property

Definition at line 20 of file property.cpp.

◆ ~Property()

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


Definition at line 25 of file property.cpp.

Member Function Documentation

◆ accept()

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

Used by visitors for double dispatch.

See NodeVisitor for more information.

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

Definition at line 34 of file property.cpp.

◆ clone()

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

creates a copy of the property object

Definition at line 43 of file property.cpp.

◆ isProperty()

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

returns true for properties

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-2023 The KDE developers.
Generated on Tue Oct 3 2023 03:49:17 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.