7 #include "knowrob/semweb/xsd.h"
18 {
return get().stringTypes_.count(
iri)>0; }
21 {
return get().integerTypes_.count(
iri)>0; }
24 {
return get().doubleTypes_.count(
iri)>0; }
27 {
return get().dateTypes_.count(
iri)>0; }
36 stringTypes_.insert(
IRI_token->stringForm());
40 integerTypes_.insert(
IRI_byte->stringForm());
41 integerTypes_.insert(
IRI_int->stringForm());
43 integerTypes_.insert(
IRI_long->stringForm());
48 integerTypes_.insert(
IRI_short->stringForm());
56 doubleTypes_.insert(
IRI_float->stringForm());
58 dateTypes_.insert(
IRI_date->stringForm());
61 dateTypes_.insert(
IRI_gDay->stringForm());
64 dateTypes_.insert(
IRI_gYear->stringForm());
66 dateTypes_.insert(
IRI_time->stringForm());
68 std::set<std::string_view> stringTypes_;
69 std::set<std::string_view> integerTypes_;
70 std::set<std::string_view> doubleTypes_;
71 std::set<std::string_view> dateTypes_;
const IRIAtomPtr IRI_byte
const IRIAtomPtr IRI_integer
const IRIAtomPtr IRI_positiveInteger
bool isDoubleType(std::string_view iri)
const IRIAtomPtr IRI_unsignedByte
const IRIAtomPtr IRI_gYear
const IRIAtomPtr IRI_decimal
const IRIAtomPtr IRI_string
const IRIAtomPtr IRI_dateTime
const IRIAtomPtr IRI_gDay
const IRIAtomPtr IRI_short
const IRIAtomPtr IRI_boolean
const IRIAtomPtr IRI_language
const IRIAtomPtr IRI_long
const IRIAtomPtr IRI_nonPositiveInteger
const IRIAtomPtr IRI_normalizedString
const IRIAtomPtr IRI_gMonth
const IRIAtomPtr IRI_unsignedShort
bool isDateType(std::string_view iri)
const IRIAtomPtr IRI_unsignedLong
bool isStringType(std::string_view iri)
bool isBooleanType(std::string_view iri)
bool isIntegerType(std::string_view iri)
const IRIAtomPtr IRI_unsignedInt
const IRIAtomPtr IRI_gYearMonth
bool isNumericType(std::string_view iri)
const IRIAtomPtr IRI_float
const IRIAtomPtr IRI_anyURI
const IRIAtomPtr IRI_date
const IRIAtomPtr IRI_gMonthDay
const IRIAtomPtr IRI_token
const IRIAtomPtr IRI_nonNegativeInteger
const IRIAtomPtr IRI_time
const IRIAtomPtr IRI_negativeInteger
const IRIAtomPtr IRI_duration
const IRIAtomPtr IRI_double
IRIAtomPtr iri(std::string_view ns, std::string_view name)