SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SourceXtractor::OutputConfig Class Reference

#include <OutputConfig.h>

Inheritance diagram for SourceXtractor::OutputConfig:
Collaboration diagram for SourceXtractor::OutputConfig:

Public Types

enum class  OutputFileFormat { ASCII , FITS , FITS_LDAC }
Public Types inherited from Euclid::Configuration::Configuration
enum  State
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.
 OutputConfig (long manager_id)
 Constructor.
std::map< std::string, Configuration::OptionDescriptionListgetProgramOptions () override
void preInitialize (const UserValues &args) override
void initialize (const UserValues &args) override
std::string getOutputFile ()
OutputFileFormat getOutputFileFormat ()
const std::vector< std::stringgetOutputProperties ()
size_t getFlushSize () const
bool getOutputUnsorted () 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 ()
StategetCurrentState ()
State getCurrentState () const

Private Attributes

std::string m_out_file
OutputFileFormat m_format
std::vector< std::stringm_output_properties
size_t m_flush_size
bool m_unsorted

Additional Inherited Members

Protected Member Functions inherited from Euclid::Configuration::Configuration
void declareDependency ()
T & getDependency ()
const T & getDependency () const

Detailed Description

Definition at line 36 of file OutputConfig.h.

Member Enumeration Documentation

◆ OutputFileFormat

Enumerator
ASCII 
FITS 
FITS_LDAC 

Definition at line 40 of file OutputConfig.h.

Constructor & Destructor Documentation

◆ ~OutputConfig()

virtual SourceXtractor::OutputConfig::~OutputConfig ( )
virtualdefault

Destructor.

◆ OutputConfig()

SourceXtractor::OutputConfig::OutputConfig ( long manager_id)
explicit

Constructor.

Definition at line 51 of file OutputConfig.cpp.

References ASCII, Euclid::Configuration::Configuration::Configuration(), m_flush_size, m_format, and m_unsorted.

Here is the call graph for this function:

Member Function Documentation

◆ getFlushSize()

size_t SourceXtractor::OutputConfig::getFlushSize ( ) const

Definition at line 107 of file OutputConfig.cpp.

References m_flush_size.

◆ getOutputFile()

std::string SourceXtractor::OutputConfig::getOutputFile ( )

Definition at line 95 of file OutputConfig.cpp.

References m_out_file.

◆ getOutputFileFormat()

OutputConfig::OutputFileFormat SourceXtractor::OutputConfig::getOutputFileFormat ( )

Definition at line 99 of file OutputConfig.cpp.

References m_format.

◆ getOutputProperties()

const std::vector< std::string > SourceXtractor::OutputConfig::getOutputProperties ( )

◆ getOutputUnsorted()

bool SourceXtractor::OutputConfig::getOutputUnsorted ( ) const

Definition at line 111 of file OutputConfig.cpp.

References m_unsorted.

Referenced by SEMain::mainMethod().

◆ getProgramOptions()

◆ initialize()

◆ preInitialize()

void SourceXtractor::OutputConfig::preInitialize ( const UserValues & args)
overridevirtual

Reimplemented from Euclid::Configuration::Configuration.

Definition at line 70 of file OutputConfig.cpp.

References std::map< K, T >::at(), SourceXtractor::format_map, and SourceXtractor::OUTPUT_FILE_FORMAT.

Here is the call graph for this function:

Member Data Documentation

◆ m_flush_size

size_t SourceXtractor::OutputConfig::m_flush_size
private

Definition at line 71 of file OutputConfig.h.

Referenced by getFlushSize(), initialize(), and OutputConfig().

◆ m_format

OutputFileFormat SourceXtractor::OutputConfig::m_format
private

Definition at line 69 of file OutputConfig.h.

Referenced by getOutputFileFormat(), initialize(), and OutputConfig().

◆ m_out_file

std::string SourceXtractor::OutputConfig::m_out_file
private

Definition at line 68 of file OutputConfig.h.

Referenced by getOutputFile(), and initialize().

◆ m_output_properties

std::vector<std::string> SourceXtractor::OutputConfig::m_output_properties
private

Definition at line 70 of file OutputConfig.h.

Referenced by getOutputProperties(), and initialize().

◆ m_unsorted

bool SourceXtractor::OutputConfig::m_unsorted
private

Definition at line 72 of file OutputConfig.h.

Referenced by getOutputUnsorted(), initialize(), and OutputConfig().


The documentation for this class was generated from the following files: