|
knowL: Knowledge Libraries
|
Public Types | |
| enum class | Type { Undefined , Uri , BlankNode , Literal , Variable } |
Public Member Functions | |
| Object (const QString &_string, Type _type) | |
| Object (const knowCore::Uri &_uri) | |
| Object (const BlankNode &_blankNodeRef) | |
| Object (const Literal &_literal) | |
|
template<typename _T_ > requires (knowCore::Uris::IsUriDefinitionV<_T_>) | |
| Object (const _T_ &_t) | |
| Object (const Object &_rhs) | |
| Object & | operator= (const Object &_rhs) |
| bool | operator== (const Object &_rhs) const |
| Type | type () const |
| knowCore::Uri | uri () const |
| BlankNode | blankNode () const |
| Literal | literal () const |
| QString | variableName () const |
| cres_qresult< QByteArray > | md5 () const |
| cres_qresult< QJsonValue > | toJsonValue (const knowCore::SerialisationContexts &) const |
| cres_qresult< QCborValue > | toCborValue (const knowCore::SerialisationContexts &) const |
Static Public Member Functions | |
| template<typename _T_ > | |
| static Object | fromValue (const _T_ &_value, const Lang &_lang=Lang(QString())) |
| template<typename _T_ > | |
| static cres_qresult< Object > | fromValue (const knowCore::Uri &_dataTypeUri, const _T_ &_value, const QString &_lang=QString(), knowCore::TypeCheckingMode _conversion=knowCore::TypeCheckingMode::Safe) |
| static cres_qresult< Object > | fromJsonValue (const QJsonValue &_value, const knowCore::DeserialisationContexts &_context) |
| static cres_qresult< Object > | fromCborValue (const QCborValue &_value, const knowCore::DeserialisationContexts &_context) |