knowL: Knowledge Libraries
|
#include <Range.h>
Public Member Functions | |
Range (RangeBoundType _lower_type, const _T_ &_lower, const _T_ &_upper, RangeBoundType _upper_type) | |
bool | operator== (const Range &_rhs) const |
_T_ | lower () const |
RangeBoundType | lowerBoundType () const |
_T_ | upper () const |
RangeBoundType | upperBoundType () const |
details::RangeComparator< _T_ >::ReturnType | contains (const _T_ &_v) const |
details::RangeComparator< _T_ >::ReturnType | contains (const _T_ &_v) const |
ReturnValue< QByteArray > | md5 () const |
ReturnValue< QJsonValue > | toJsonValue (const SerialisationContexts &_contexts=defaultSerialisationContext()) const |
ReturnValue< QCborValue > | toCborValue (const SerialisationContexts &_contexts=defaultSerialisationContext()) const |
ReturnValue< QString > | toRdfLiteral (const SerialisationContexts &_contexts=defaultSerialisationContext()) const |
ReturnValue< QString > | printable () const |
Static Public Member Functions | |
static ReturnValue< Range > | fromJsonValue (const QJsonValue &_value, const DeserialisationContexts &_context=defaultDeserialisationContext()) |
static ReturnValue< Range > | fromCborValue (const QCborValue &_value, const DeserialisationContexts &_context=defaultDeserialisationContext()) |
static ReturnValue< Range > | fromRdfLiteral (const QString &_value, const DeserialisationContexts &_context=defaultDeserialisationContext()) |
Allow to define a range
details::RangeComparator< _T_ >::ReturnType knowCore::Range< _T_ >::contains | ( | const _T_ & | _v | ) | const |
_v
is contained in the bound. details::RangeComparator< _T_ >::ReturnType knowCore::Range< _T_ >::contains | ( | const _T_ & | _v | ) | const |
_v
is contained in the bound.
|
inlinestatic |
Convert from cbor
|
inlinestatic |
Convert from json
|
inlinestatic |
Convert from a rdf literal (something like "12.0 m/s")
|
inline |
|
inline |
Return a printable value
|
inline |
Convert to cbor
|
inline |
Convert to json
|
inline |
Convert to a rdf literal (something like "12.0 m/s")