|
SourceXtractorPlusPlus 0.18
SourceXtractor++, the next generation SExtractor
|


Public Member Functions | |
| SEMain (const std::string &plugin_path, const std::vector< std::string > &plugin_list) | |
| po::options_description | getConfigParameters () |
| std::pair< po::options_description, po::positional_options_description > | defineProgramArguments () override |
| Return the arguments that the program accepts. More... | |
| void | printDefaults () |
| Print a configuration file populated with defaults. More... | |
| Elements::ExitCode | mainMethod (std::map< std::string, po::variable_value > &args) override |
Public Member Functions inherited from Elements::Program | |
| Program ()=default | |
| virtual | ~Program () |
| virtual OptionsDescription | defineSpecificProgramOptions () |
| virtual std::pair< OptionsDescription, PositionalOptionsDescription > | defineProgramArguments () |
| virtual ExitCode | mainMethod (std::map< std::string, VariableValue > &args)=0 |
Static Public Member Functions | |
| template<typename T > | |
| static void | writeDefault (std::ostream &out, const po::option_description &opt, const boost::any &default_value) |
| Print a simple option. More... | |
| template<typename T > | |
| static void | writeDefaultMultiple (std::ostream &out, const po::option_description &opt, const boost::any &default_value) |
| Print a multiple-value option. More... | |
Additional Inherited Members | |
Public Types inherited from Elements::Program | |
| typedef boost::program_options::options_description | options_description |
| typedef boost::program_options::positional_options_description | positional_options_description |
| typedef boost::program_options::variable_value | variable_value |
| typedef boost::program_options::variables_map | variables_map |
| typedef options_description | OptionsDescription |
| typedef positional_options_description | PositionalOptionsDescription |
| typedef variable_value | VariableValue |
| typedef variables_map | VariablesMap |
| typedef Elements::ExitCode | ExitCode |
| typedef Elements::Logging | Logging |
Definition at line 153 of file SourceXtractor.cpp.
|
inline |
Definition at line 176 of file SourceXtractor.cpp.
|
inlineoverridevirtual |
Return the arguments that the program accepts.
Reimplemented from Elements::Program.
Definition at line 213 of file SourceXtractor.cpp.
References SourceXtractor::ProgressReporterFactory::addOptions(), std::string::c_str(), DUMP_CONFIG, getConfigParameters(), LIST_OUTPUT_PROPERTIES, progress_printer_factory, PROPERTY_COLUMN_MAPPING, and PROPERTY_COLUMN_MAPPING_ALL.

|
inline |
Return the options that the underyling configuration register accepts This is now separated from defineProgramArguments so printDefaults can access these settings, while ignoring flags that are only used for printing help information (i.e the property list)
Definition at line 183 of file SourceXtractor.cpp.
References config_initialized, config_manager_id, config_parameters, deblending_factory, grouping_factory, SourceXtractor::PluginManager::loadPlugins(), measurement_factory, output_factory, partition_factory, plugin_manager, SourceXtractor::TaskFactoryRegistry::reportConfigDependencies(), SourceXtractor::DeblendingFactory::reportConfigDependencies(), SourceXtractor::GroupingFactory::reportConfigDependencies(), SourceXtractor::MeasurementFactory::reportConfigDependencies(), SourceXtractor::OutputFactory::reportConfigDependencies(), SourceXtractor::PartitionFactory::reportConfigDependencies(), SourceXtractor::SegmentationFactory::reportConfigDependencies(), segmentation_factory, and task_factory_registry.
Referenced by defineProgramArguments(), and printDefaults().

|
inlineoverride |
Definition at line 288 of file SourceXtractor.cpp.
References std::map< K, T >::at(), config_manager_id, SourceXtractor::ProgressReporterFactory::configure(), SourceXtractor::TaskFactoryRegistry::configure(), SourceXtractor::DeblendingFactory::configure(), SourceXtractor::GroupingFactory::configure(), SourceXtractor::MeasurementFactory::configure(), SourceXtractor::OutputFactory::configure(), SourceXtractor::PartitionFactory::configure(), SourceXtractor::SegmentationFactory::configure(), SourceXtractor::DeblendingFactory::createDeblending(), SourceXtractor::GroupingFactory::createGrouping(), SourceXtractor::OutputFactory::createOutput(), SourceXtractor::ProgressReporterFactory::createProgressMediator(), SourceXtractor::SegmentationFactory::createSegmentation(), deblending_factory, disableBlasMultithreading(), DUMP_CONFIG, e, std::map< K, T >::end(), std::endl(), Elements::Logging::error(), std::map< K, T >::find(), SourceXtractor::MultiThreadingConfig::getMaxQueueSize(), SourceXtractor::MeasurementFactory::getMeasurement(), SourceXtractor::OutputConfig::getOutputProperties(), SourceXtractor::OutputRegistry::getOutputPropertyNames(), SourceXtractor::OutputConfig::getOutputUnsorted(), SourceXtractor::PartitionFactory::getPartition(), SourceXtractor::MultiThreadingConfig::getThreadPool(), grouping_factory, Elements::Logging::info(), LIST_OUTPUT_PROPERTIES, logger, measurement_factory, Elements::NOT_OK, Elements::OK, output_factory, output_registry, std::partition(), partition_factory, printDefaults(), SourceXtractor::OutputRegistry::printPropertyColumnMap(), progress_printer_factory, PROPERTY_COLUMN_MAPPING, PROPERTY_COLUMN_MAPPING_ALL, SourceXtractor::TaskFactoryRegistry::registerPropertyInstances(), segmentation_factory, and task_factory_registry.

|
inline |
Print a configuration file populated with defaults.
Definition at line 253 of file SourceXtractor.cpp.
References config_parameters, std::endl(), and getConfigParameters().
Referenced by mainMethod().

|
inlinestatic |
Print a simple option.
Definition at line 235 of file SourceXtractor.cpp.
References std::endl().

|
inlinestatic |
Print a multiple-value option.
Definition at line 241 of file SourceXtractor.cpp.
References std::endl().

|
private |
Definition at line 171 of file SourceXtractor.cpp.
Referenced by getConfigParameters().
|
private |
Definition at line 172 of file SourceXtractor.cpp.
Referenced by getConfigParameters(), and printDefaults().
|
private |
Definition at line 167 of file SourceXtractor.cpp.
Referenced by getConfigParameters(), and mainMethod().
|
private |
Definition at line 163 of file SourceXtractor.cpp.
|
private |
Definition at line 166 of file SourceXtractor.cpp.
Referenced by getConfigParameters(), and mainMethod().
|
private |
Definition at line 168 of file SourceXtractor.cpp.
Referenced by getConfigParameters(), and mainMethod().
|
private |
Definition at line 159 of file SourceXtractor.cpp.
Referenced by getConfigParameters(), and mainMethod().
|
private |
Definition at line 157 of file SourceXtractor.cpp.
Referenced by mainMethod().
|
private |
Definition at line 165 of file SourceXtractor.cpp.
Referenced by getConfigParameters(), and mainMethod().
|
private |
Definition at line 160 of file SourceXtractor.cpp.
Referenced by getConfigParameters().
|
private |
Definition at line 169 of file SourceXtractor.cpp.
Referenced by defineProgramArguments(), and mainMethod().
|
private |
Definition at line 158 of file SourceXtractor.cpp.
Referenced by getConfigParameters(), and mainMethod().
|
private |
Definition at line 161 of file SourceXtractor.cpp.
|
private |
Definition at line 155 of file SourceXtractor.cpp.
Referenced by getConfigParameters(), and mainMethod().
|
private |
Definition at line 156 of file SourceXtractor.cpp.