SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
StaticPlugin.h
Go to the documentation of this file.
1
17/*
18 * StaticPlugin.h
19 *
20 * Created on: Aug 5, 2016
21 * Author: mschefer
22 */
23
24#ifndef _SEFRAMEWORK_PLUGIN_STATICPLUGIN_H_
25#define _SEFRAMEWORK_PLUGIN_STATICPLUGIN_H_
26
29
30namespace SourceXtractor {
31
36
37template<typename PluginType>
39public:
41 static_assert(std::is_base_of<Plugin, PluginType>::value, "PluginType must inherit from SourceXtractor::Plugin");
43 }
44};
45
46}
47
48
49
50#endif /* _SEFRAMEWORK_PLUGIN_STATICPLUGIN_H_ */
static void registerStaticPlugin()
registers a plugin, this is used to register plugins linked at compile-time