SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
PluginConfig.cpp
Go to the documentation of this file.
1
17/*
18 * PluginConfig.cpp
19 *
20 * Created on: Jul 27, 2016
21 * Author: mschefer
22 */
23
24#include "SEMain/PluginConfig.h"
25
26using namespace Euclid::Configuration;
27namespace po = boost::program_options;
28
29namespace SourceXtractor {
30
31static const std::string PLUGIN_DIRECTORY { "plugin-directory" };
32static const std::string PLUGIN { "plugin" };
33
35 : Configuration(manager_id) {
36}
37
39 return { {"Plugin configuration", {
40 {PLUGIN_DIRECTORY.c_str(), po::value<std::string>()->default_value(""),
41 "Path to a directory that contains the plugins"},
42 {PLUGIN.c_str(), po::value<std::vector<std::string>>()->default_value(std::vector<std::string>(), ""),
43 "Defines a plugin to load (without file extension). Can be used multiple times."}
44 }}};
45}
46
52
56
60
61}
T at(T... args)
std::map< std::string, boost::program_options::variable_value > UserValues
void initialize(const UserValues &args) override
std::map< std::string, Configuration::OptionDescriptionList > getProgramOptions() override
std::string getPluginPath() const
std::vector< std::string > m_plugin_list
std::vector< std::string > getPluginList() const
static const std::string PLUGIN_DIRECTORY
static const std::string PLUGIN
T remove(T... args)