SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
HduNumberPlugin.cpp
Go to the documentation of this file.
1
20
23
25
26namespace SourceXtractor {
27
29
31 plugin_api.getTaskFactoryRegistry().registerTaskFactory<HduNumberTaskFactory, HduNumber>();
32
33 plugin_api.getOutputRegistry().registerColumnConverter<HduNumber, int64_t>(
34 "hdu_number",
35 [](const HduNumber& prop){
36 return prop.getHduNumber();
37 },
38 "",
39 "Hdu number"
40 );
41
42 plugin_api.getOutputRegistry().enableOutput<HduNumber>("HduNumber");
43}
44
46 return "HduNumber";
47}
48
49}
50
std::string getIdString() const override
void registerPlugin(PluginAPI &plugin_api) 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