SourceXtractorPlusPlus  0.16
Please provide a description of the project.
GroupInfoPlugin.cpp
Go to the documentation of this file.
1 
17 /*
18  * GroupInfoPlugin.cpp
19  *
20  * Created on: 2019 M01 30
21  * Author: mschefer
22  */
23 
24 
26 
29 
31 
32 namespace SourceXtractor {
33 
35 
38 
40  "group_id",
41  [](const GroupInfo& prop){
42  return prop.getGroupId();
43  },
44  "",
45  "Running group number"
46  );
47 
48  plugin_api.getOutputRegistry().enableOutput<GroupInfo>("GroupInfo");
49 }
50 
52  return "GroupInfo";
53 }
54 
55 }
56 
virtual void registerPlugin(PluginAPI &plugin_api) override
virtual std::string getIdString() const override
void registerColumnConverter(std::string column_name, ColumnConverter< PropertyType, OutType > converter, std::string column_unit="", std::string column_description="")
void enableOutput(std::string alias_name, bool configurable_output=false)
This interface is given to the plugin to let it access object instances from the framework.
Definition: PluginAPI.h:39
virtual OutputRegistry & getOutputRegistry() const =0
virtual TaskFactoryRegistry & getTaskFactoryRegistry() const =0
Used to register compile-time (static) plugins with the PluginManager.
Definition: StaticPlugin.h:38
static StaticPlugin< GroupInfoPlugin > group_info_plugin