SourceXtractorPlusPlus  0.19
SourceXtractor++, the next generation SExtractor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AssocModePlugin.cpp
Go to the documentation of this file.
1 
20 
24 
25 namespace SourceXtractor {
26 
27 template <typename T>
29 
31 
33  plugin_api.getTaskFactoryRegistry()
35 
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 }
Euclid::NdArray::NdArray< T > NdArray
void enableOutput(std::string alias_name, bool configurable_output=false)
virtual OutputRegistry & getOutputRegistry() const =0
STL class.
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
Used to register compile-time (static) plugins with the PluginManager.
Definition: StaticPlugin.h:38
virtual TaskFactoryRegistry & getTaskFactoryRegistry() const =0
static StaticPlugin< AssocModePlugin > assoc_plugin
void registerColumnConverter(std::string column_name, ColumnConverter< PropertyType, OutType > converter, std::string column_unit="", std::string column_description="")