We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4010485 commit 02f1f70Copy full SHA for 02f1f70
1 file changed
Framework/Core/include/Framework/ConfigParamRegistry.h
@@ -62,6 +62,11 @@ class ConfigParamRegistry
62
return mStore->store().count(key);
63
}
64
65
+ bool hasOption(const char* key) const
66
+ {
67
+ return mStore->store().get_child_optional(key).is_initialized();
68
+ }
69
+
70
bool isDefault(const char* key) const
71
{
72
return mStore->store().count(key) > 0 && mStore->provenance(key) != "default";
0 commit comments