SourceXtractorPlusPlus 0.21
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
37 plugin_api.getTaskFactoryRegistry().registerTaskFactory<GroupInfoTaskFactory, GroupInfo>();
38
39 plugin_api.getOutputRegistry().registerColumnConverter<GroupInfo, int64_t>(
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
This interface is given to the plugin to let it access object instances from the framework.
Definition PluginAPI.h:40
static StaticPlugin< GroupInfoPlugin > group_info_plugin