SourceXtractorPlusPlus  0.19
SourceXtractor++, the next generation SExtractor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HduNumberPlugin.cpp
Go to the documentation of this file.
1 
20 
23 
25 
26 namespace SourceXtractor {
27 
29 
32 
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 
void enableOutput(std::string alias_name, bool configurable_output=false)
virtual OutputRegistry & getOutputRegistry() const =0
void registerPlugin(PluginAPI &plugin_api) override
STL class.
This interface is given to the plugin to let it access object instances from the framework.
Definition: PluginAPI.h:40
std::string getIdString() const override
Used to register compile-time (static) plugins with the PluginManager.
Definition: StaticPlugin.h:38
static StaticPlugin< GroupInfoPlugin > group_info_plugin
virtual TaskFactoryRegistry & getTaskFactoryRegistry() const =0
void registerColumnConverter(std::string column_name, ColumnConverter< PropertyType, OutType > converter, std::string column_unit="", std::string column_description="")