SourceXtractorPlusPlus  0.11
Please provide a description of the project.
Public Member Functions | Private Attributes | List of all members
SourceXtractor::SE2BackgroundConfig Class Reference

#include <SE2BackgroundConfig.h>

Inheritance diagram for SourceXtractor::SE2BackgroundConfig:
[legend]
Collaboration diagram for SourceXtractor::SE2BackgroundConfig:
[legend]

Public Member Functions

 SE2BackgroundConfig (long manager_id)
 
virtual ~SE2BackgroundConfig ()=default
 
std::map< std::string, Configuration::OptionDescriptionListgetProgramOptions () override
 
void initialize (const UserValues &args) override
 
std::vector< int > getCellSize () const
 
std::vector< int > getSmoothingBox () const
 
bool useLegacy () const
 
- Public Member Functions inherited from Euclid::Configuration::Configuration
 Configuration (long manager_id)
 
virtual ~Configuration ()=default
 
virtual void preInitialize (const UserValues &args)
 
virtual void postInitialize (const UserValues &args)
 
const std::set< std::type_index > & getDependencies ()
 
StategetCurrentState ()
 
State getCurrentState () const
 

Private Attributes

std::vector< int > m_cell_size
 
std::vector< int > m_smoothing_box
 
bool m_legacy
 

Additional Inherited Members

- 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
 
- Protected Member Functions inherited from Euclid::Configuration::Configuration
void declareDependency ()
 
T & getDependency ()
 
const T & getDependency () const
 

Detailed Description

Definition at line 30 of file SE2BackgroundConfig.h.

Constructor & Destructor Documentation

◆ SE2BackgroundConfig()

SourceXtractor::SE2BackgroundConfig::SE2BackgroundConfig ( long  manager_id)

Definition at line 36 of file SE2BackgroundConfig.cpp.

◆ ~SE2BackgroundConfig()

virtual SourceXtractor::SE2BackgroundConfig::~SE2BackgroundConfig ( )
virtualdefault

Member Function Documentation

◆ getCellSize()

std::vector<int> SourceXtractor::SE2BackgroundConfig::getCellSize ( ) const
inline

Definition at line 42 of file SE2BackgroundConfig.h.

References m_cell_size.

◆ getProgramOptions()

std::map< std::string, Configuration::OptionDescriptionList > SourceXtractor::SE2BackgroundConfig::getProgramOptions ( )
overridevirtual

Reimplemented from Euclid::Configuration::Configuration.

Definition at line 40 of file SE2BackgroundConfig.cpp.

References std::string::c_str(), SourceXtractor::CELLSIZE_VALUE, SourceXtractor::LEGACY_BACKGROUND, and SourceXtractor::SMOOTHINGBOX_VALUE.

Here is the call graph for this function:

◆ getSmoothingBox()

std::vector<int> SourceXtractor::SE2BackgroundConfig::getSmoothingBox ( ) const
inline

Definition at line 46 of file SE2BackgroundConfig.h.

References m_smoothing_box.

◆ initialize()

void SourceXtractor::SE2BackgroundConfig::initialize ( const UserValues args)
overridevirtual

Reimplemented from Euclid::Configuration::Configuration.

Definition at line 51 of file SE2BackgroundConfig.cpp.

References std::map< K, T >::at(), std::vector< T >::begin(), SourceXtractor::CELLSIZE_VALUE, std::map< K, T >::end(), std::vector< T >::end(), std::map< K, T >::find(), std::find_if(), SourceXtractor::LEGACY_BACKGROUND, m_cell_size, m_legacy, m_smoothing_box, and SourceXtractor::SMOOTHINGBOX_VALUE.

Here is the call graph for this function:

◆ useLegacy()

bool SourceXtractor::SE2BackgroundConfig::useLegacy ( ) const
inline

Definition at line 50 of file SE2BackgroundConfig.h.

References m_legacy.

Member Data Documentation

◆ m_cell_size

std::vector<int> SourceXtractor::SE2BackgroundConfig::m_cell_size
private

Definition at line 55 of file SE2BackgroundConfig.h.

Referenced by getCellSize(), and initialize().

◆ m_legacy

bool SourceXtractor::SE2BackgroundConfig::m_legacy
private

Definition at line 57 of file SE2BackgroundConfig.h.

Referenced by initialize(), and useLegacy().

◆ m_smoothing_box

std::vector<int> SourceXtractor::SE2BackgroundConfig::m_smoothing_box
private

Definition at line 56 of file SE2BackgroundConfig.h.

Referenced by getSmoothingBox(), and initialize().


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