SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
AssocModePlugin.cpp
Go to the documentation of this file.
1
20
24
25namespace SourceXtractor {
26
27template <typename T>
29
31
33 plugin_api.getTaskFactoryRegistry()
34 .registerTaskFactory<AssocModeTaskFactory, AssocMode>();
35
36 plugin_api.getOutputRegistry().registerColumnConverter<AssocMode, bool>(
37 "assoc_match",
38 [](const AssocMode& prop){
39 return prop.getMatch();
40 },
41 "",
42 "Assoc match"
43 );
44
45 plugin_api.getOutputRegistry().enableOutput<AssocMode>("AssocMode");
46}
47
49 return "AssocModePlugin";
50}
51
52}
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< AssocModePlugin > assoc_plugin