Alexandria  2.16
Please provide a description of the project.
PhotometricBandMappingConfig.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2012-2020 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_PHOTOMETRICBANDMAPPINGCONFIG_H
26 #define _CONFIGURATION_PHOTOMETRICBANDMAPPINGCONFIG_H
27 
28 #include <utility>
29 #include <vector>
30 #include <string>
31 #include <boost/filesystem.hpp>
32 
33 #include "Configuration.h"
34 
35 namespace Euclid {
36 namespace Configuration {
37 
46 
47 public:
48 
51 
53  explicit PhotometricBandMappingConfig(long manager_id);
54 
58  virtual ~PhotometricBandMappingConfig() = default;
59 
77 
92  void initialize(const UserValues& args) override;
93 
107  void setBaseDir(const boost::filesystem::path& base_dir);
108 
119 
130 
131 private:
132 
133  boost::filesystem::path m_base_dir {};
136 
137 }; /* End of PhotometricBandMappingConfig class */
138 
139 } /* namespace Configuration */
140 } /* namespace Euclid */
141 
142 
143 #endif
Euclid::Configuration::PhotometricBandMappingConfig::~PhotometricBandMappingConfig
virtual ~PhotometricBandMappingConfig()=default
Destructor.
Euclid::Configuration::PhotometricBandMappingConfig
Configuration class which provides the information of the mapping between photometric bands and colum...
Definition: PhotometricBandMappingConfig.h:45
Euclid::Configuration::PhotometricBandMappingConfig::PhotometricBandMappingConfig
PhotometricBandMappingConfig(long manager_id)
Constructs a new PhotometricBandMappingConfig object.
Definition: PhotometricBandMappingConfig.cpp:49
Euclid::Configuration::PhotometricBandMappingConfig::m_mapping_map
MappingMap m_mapping_map
Definition: PhotometricBandMappingConfig.h:134
Euclid::Configuration::PhotometricBandMappingConfig::m_threshold_map
UpperLimitThresholdMap m_threshold_map
Definition: PhotometricBandMappingConfig.h:135
std::vector
STL class.
Euclid::Configuration::PhotometricBandMappingConfig::getProgramOptions
std::map< std::string, OptionDescriptionList > getProgramOptions() override
Returns the program options defined by the PhotometryCatalogConfig.
Definition: PhotometricBandMappingConfig.cpp:52
Euclid::Configuration::PhotometricBandMappingConfig::initialize
void initialize(const UserValues &args) override
It initializes the photometric bands list.
Definition: PhotometricBandMappingConfig.cpp:104
std::map
STL class.
Euclid::Configuration::PhotometricBandMappingConfig::setBaseDir
void setBaseDir(const boost::filesystem::path &base_dir)
Sets the directory used when resolving relative paths.
Definition: PhotometricBandMappingConfig.cpp:142
Euclid::Configuration::PhotometricBandMappingConfig::getUpperLimitThresholdMapping
const UpperLimitThresholdMap & getUpperLimitThresholdMapping()
Returns the mapping of threshold used in the upper limit computation which will be red from the catal...
Definition: PhotometricBandMappingConfig.cpp:158
Configuration.h
Euclid::Configuration::PhotometricBandMappingConfig::m_base_dir
boost::filesystem::path m_base_dir
Definition: PhotometricBandMappingConfig.h:133
Euclid::Configuration::Configuration
Superclass of all configuration classes.
Definition: Configuration.h:45
Euclid
Definition: InstOrRefHolder.h:29
Euclid::Configuration::PhotometricBandMappingConfig::getPhotometricBandMapping
const MappingMap & getPhotometricBandMapping()
Returns the list of the photometric band mapping which will be red from the catalog.
Definition: PhotometricBandMappingConfig.cpp:149