Alexandria  2.18
Please provide a description of the project.
PhotometryCatalogConfig.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2012-2021 Euclid Science Ground Segment
3  *
4  * This library is free software; you can redistribute it and/or modify it under
5  * the terms of the GNU Lesser General Public License as published by the Free
6  * Software Foundation; either version 3.0 of the License, or (at your option)
7  * any later version.
8  *
9  * This library is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11  * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12  * details.
13  *
14  * You should have received a copy of the GNU Lesser General Public License
15  * along with this library; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17  */
18 
25 #ifndef _CONFIGURATION_PHOTOMETRYCATALOGCONFIG_H
26 #define _CONFIGURATION_PHOTOMETRYCATALOGCONFIG_H
27 
29 #include <boost/filesystem.hpp>
30 #include <string>
31 #include <vector>
32 
33 namespace Euclid {
34 namespace Configuration {
35 
43 
44 public:
46  explicit PhotometryCatalogConfig(long manager_id);
47 
49  virtual ~PhotometryCatalogConfig() = default;
50 
68 
76  void initialize(const UserValues& args) override;
77 
83 
88  bool isUpperLimitEnabled();
89 
90 private:
92  bool m_upper_limit_enabled{false};
93 
94 }; /* End of PhotometryCatalogConfig class */
95 
96 } /* namespace Configuration */
97 } /* namespace Euclid */
98 
99 #endif
Euclid::Configuration::PhotometryCatalogConfig::m_upper_limit_enabled
bool m_upper_limit_enabled
Definition: PhotometryCatalogConfig.h:92
Euclid::Configuration::PhotometryCatalogConfig::getProgramOptions
std::map< std::string, OptionDescriptionList > getProgramOptions() override
Returns the program options defined by the PhotometryCatalogConfig.
Definition: PhotometryCatalogConfig.cpp:48
Euclid::Configuration::PhotometryCatalogConfig::initialize
void initialize(const UserValues &args) override
Adds the PhotometryAttributeFromRow handler to the CatalogConfig.
Definition: PhotometryCatalogConfig.cpp:61
Euclid::Configuration::PhotometryCatalogConfig
Configuration class for enabling photometric catalog input.
Definition: PhotometryCatalogConfig.h:42
std::map
STL class.
Euclid::Configuration::PhotometryCatalogConfig::m_missing_photometry_enabled
bool m_missing_photometry_enabled
Definition: PhotometryCatalogConfig.h:91
Euclid::Configuration::PhotometryCatalogConfig::isMissingPhotometryEnabled
bool isMissingPhotometryEnabled()
Definition: PhotometryCatalogConfig.cpp:92
Euclid::Configuration::PhotometryCatalogConfig::isUpperLimitEnabled
bool isUpperLimitEnabled()
Definition: PhotometryCatalogConfig.cpp:101
Euclid::Configuration::PhotometryCatalogConfig::~PhotometryCatalogConfig
virtual ~PhotometryCatalogConfig()=default
Destructor.
Euclid::Configuration::PhotometryCatalogConfig::PhotometryCatalogConfig
PhotometryCatalogConfig(long manager_id)
Constructs a new PhotometryCatalogConfig object.
Definition: PhotometryCatalogConfig.cpp:43
Euclid::Configuration::Configuration
Superclass of all configuration classes.
Definition: Configuration.h:45
Euclid
Definition: InstOrRefHolder.h:29
Configuration.h