|
SourceXtractorPlusPlus
0.12
Please provide a description of the project.
|
#include <OutputConfig.h>
Public Types | |
| enum | OutputFileFormat { OutputFileFormat::ASCII, OutputFileFormat::FITS, OutputFileFormat::FITS_LDAC } |
Public Types inherited from Euclid::Configuration::Configuration | |
| enum | State { State::CONSTRUCTED, State::PRE_INITIALIZED, State::INITIALIZED, State::FINAL } |
| typedef std::vector< boost::program_options::option_description > | OptionDescriptionList |
| typedef std::map< std::string, boost::program_options::variable_value > | UserValues |
Public Member Functions | |
| virtual | ~OutputConfig ()=default |
| Destructor. More... | |
| OutputConfig (long manager_id) | |
| Constructor. More... | |
| std::map< std::string, Configuration::OptionDescriptionList > | getProgramOptions () override |
| void | preInitialize (const UserValues &args) override |
| void | initialize (const UserValues &args) override |
| std::string | getOutputFile () |
| OutputFileFormat | getOutputFileFormat () |
| const std::vector< std::string > | getOutputProperties () |
| size_t | getFlushSize () const |
Public Member Functions inherited from Euclid::Configuration::Configuration | |
| Configuration (long manager_id) | |
| virtual | ~Configuration ()=default |
| virtual void | postInitialize (const UserValues &args) |
| const std::set< std::type_index > & | getDependencies () |
| State & | getCurrentState () |
| State | getCurrentState () const |
Private Attributes | |
| std::string | m_out_file |
| OutputFileFormat | m_format |
| std::vector< std::string > | m_output_properties |
| size_t | m_flush_size |
Additional Inherited Members | |
Protected Member Functions inherited from Euclid::Configuration::Configuration | |
| void | declareDependency () |
| T & | getDependency () |
| const T & | getDependency () const |
Definition at line 36 of file OutputConfig.h.
|
strong |
| Enumerator | |
|---|---|
| ASCII | |
| FITS | |
| FITS_LDAC | |
Definition at line 40 of file OutputConfig.h.
|
virtualdefault |
Destructor.
| SourceXtractor::OutputConfig::OutputConfig | ( | long | manager_id | ) |
| size_t SourceXtractor::OutputConfig::getFlushSize | ( | ) | const |
Definition at line 102 of file OutputConfig.cpp.
References m_flush_size.
| std::string SourceXtractor::OutputConfig::getOutputFile | ( | ) |
Definition at line 90 of file OutputConfig.cpp.
References m_out_file.
| OutputConfig::OutputFileFormat SourceXtractor::OutputConfig::getOutputFileFormat | ( | ) |
Definition at line 94 of file OutputConfig.cpp.
References m_format.
| const std::vector< std::string > SourceXtractor::OutputConfig::getOutputProperties | ( | ) |
Definition at line 98 of file OutputConfig.cpp.
References m_output_properties.
Referenced by SourceXtractor::ExternalFlagTaskFactory::configure(), and SEMain::mainMethod().
|
overridevirtual |
Reimplemented from Euclid::Configuration::Configuration.
Definition at line 54 of file OutputConfig.cpp.
References std::string::c_str(), SourceXtractor::OUTPUT_FILE, SourceXtractor::OUTPUT_FILE_FORMAT, SourceXtractor::OUTPUT_FLUSH_SIZE, and SourceXtractor::OUTPUT_PROPERTIES.
|
overridevirtual |
Reimplemented from Euclid::Configuration::Configuration.
Definition at line 74 of file OutputConfig.cpp.
References std::map< K, T >::at(), std::vector< T >::emplace_back(), SourceXtractor::format_map, std::getline(), m_flush_size, m_format, m_out_file, m_output_properties, SourceXtractor::OUTPUT_FILE, SourceXtractor::OUTPUT_FILE_FORMAT, SourceXtractor::OUTPUT_FLUSH_SIZE, and SourceXtractor::OUTPUT_PROPERTIES.
|
overridevirtual |
Reimplemented from Euclid::Configuration::Configuration.
Definition at line 67 of file OutputConfig.cpp.
References std::map< K, T >::at(), SourceXtractor::format_map, and SourceXtractor::OUTPUT_FILE_FORMAT.
|
private |
Definition at line 69 of file OutputConfig.h.
Referenced by getFlushSize(), and initialize().
|
private |
Definition at line 67 of file OutputConfig.h.
Referenced by getOutputFileFormat(), and initialize().
|
private |
Definition at line 66 of file OutputConfig.h.
Referenced by getOutputFile(), and initialize().
|
private |
Definition at line 68 of file OutputConfig.h.
Referenced by getOutputProperties(), and initialize().
1.8.14