SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
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
32namespace 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
void registerPlugin(PluginAPI &plugin_api) override
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:40
virtual OutputRegistry & getOutputRegistry() const =0
virtual TaskFactoryRegistry & getTaskFactoryRegistry() const =0
Used to register compile-time (static) plugins with the PluginManager.
static StaticPlugin< GroupInfoPlugin > group_info_plugin