syndication/rdf
Syndication::RDF::Property Class Reference
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. More...
#include <property.h>

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 |
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.
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:
-
uri the 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:
-
visitor the visitor calling the method ptr a 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: