Alexandria  2.16
Please provide a description of the project.
SpecZCatalogConfig.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_SPECZCATALOGCONFIG_H
26 #define _CONFIGURATION_SPECZCATALOGCONFIG_H
27 
29 
30 namespace Euclid {
31 namespace Configuration {
32 
40 
41 public:
42 
44  explicit SpecZCatalogConfig(long manager_id);
45 
47  virtual ~SpecZCatalogConfig() = default;
48 
69 
88  void preInitialize(const UserValues& args) override;
89 
101  void initialize(const UserValues& args) override;
102 
103 private:
104 
105 }; /* End of SpecZCatalogConfig class */
106 
107 } /* namespace Configuration */
108 } /* namespace Euclid */
109 
110 
111 #endif
Euclid::Configuration::SpecZCatalogConfig::getProgramOptions
std::map< std::string, OptionDescriptionList > getProgramOptions() override
Returns the program options defined by the SpecZCatalogConfig.
Definition: SpecZCatalogConfig.cpp:44
Euclid::Configuration::SpecZCatalogConfig::SpecZCatalogConfig
SpecZCatalogConfig(long manager_id)
Constructs a new SpecZCatalogConfig object.
Definition: SpecZCatalogConfig.cpp:40
Euclid::Configuration::SpecZCatalogConfig::preInitialize
void preInitialize(const UserValues &args) override
Checks that all the options are valid. See the exceptions thrown for a detailed list of the checks.
Definition: SpecZCatalogConfig.cpp:57
Euclid::Configuration::SpecZCatalogConfig::initialize
void initialize(const UserValues &args) override
Adds the SpectroscopicRedshiftAttributeFromRow handler to the CatalogCnofig.
Definition: SpecZCatalogConfig.cpp:123
std::map
STL class.
Euclid::Configuration::Configuration
Superclass of all configuration classes.
Definition: Configuration.h:45
Euclid::Configuration::SpecZCatalogConfig::~SpecZCatalogConfig
virtual ~SpecZCatalogConfig()=default
Destructor.
Euclid::Configuration::SpecZCatalogConfig
Configuration class for enabling SpecZ catalog input.
Definition: SpecZCatalogConfig.h:39
Euclid
Definition: InstOrRefHolder.h:29
Configuration.h