mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
add CountProperty() to plugin APIs, throw is GetProperty doesn't find key
This commit is contained in:
committed by
Mohammad Al-Turany
parent
243352d717
commit
95112dac02
@@ -84,6 +84,7 @@ class Plugin
|
||||
|
||||
// device config API
|
||||
// see <fairmq/PluginServices.h> for docs
|
||||
auto PropertyExists(const std::string& key) -> int { return fPluginServices->PropertyExists(key); }
|
||||
template<typename T>
|
||||
auto SetProperty(const std::string& key, T val) -> void { fPluginServices->SetProperty(key, val); }
|
||||
template<typename T>
|
||||
|
Reference in New Issue
Block a user