BaseUri setting for TTL+WKT

This commit is contained in:
Thomas Krijnen
2024-09-28 14:46:57 +02:00
parent 2eecda17e4
commit dd01cb0e51
2 changed files with 19 additions and 9 deletions
+6 -1
View File
@@ -76,11 +76,16 @@ inline namespace settings {
" and any other value means that 6 or 7 decimals are used.";
static constexpr int defaultvalue = 15;
};
struct BaseUri : public SettingBase<BaseUri, std::string> {
static constexpr const char* const name = "base-uri";
static constexpr const char* const description = "Base URI for products to be used in RDF-based serializations.";
};
}
class SerializerSettings : public SettingsContainer <
// @todo should we use tuple_cat here to unify the settings into a single class?
std::tuple<UseElementNames, UseElementGuids, UseElementStepIds, UseElementTypes, UseYUp, WriteGltfEcef, FloatingPointDigits>
std::tuple<UseElementNames, UseElementGuids, UseElementStepIds, UseElementTypes, UseYUp, WriteGltfEcef, FloatingPointDigits, BaseUri>
>
{};