knowL: Knowledge Libraries
|
#include <Curie.h>
Classes | |
struct | Private |
Public Member Functions | |
Curie () | |
Curie (const QString &_prefix, const QString &_suffix) | |
Curie (const Curie &_rhs) | |
Curie & | operator= (const Curie &_rhs) |
QString | prefix () const |
QString | suffix () const |
bool | canResolve (UriManager *_manager) const |
Uri | resolve (UriManager *_manager) |
bool | operator== (const Curie &_rhs) const |
Represents a "Curie" as defined in A Curie is an URL written with the form "prefix:reference". For instance: "foaf:name" if foaf corresponds to the URL "\<http://xmlns.com/foaf/0.1/\>" then "foaf:name" get converted to "\<http://xmlns.com/foaf/0.1/name\>"
Curie::Curie | ( | ) |
Create an empty Curie
Uri Curie::resolve | ( | UriManager * | _manager | ) |
Convert the Curie into an url, ie, replace the prefix by its actual content.