Alexandria  2.27.0
SDC-CH common library for the Euclid project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SpecZCatalogConfig.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_SPECZCATALOGCONFIG_H
26 #define _CONFIGURATION_SPECZCATALOGCONFIG_H
27 
29 
30 namespace Euclid {
31 namespace Configuration {
32 
40 
41 public:
43  explicit SpecZCatalogConfig(long manager_id);
44 
46  virtual ~SpecZCatalogConfig() = default;
47 
68 
87  void preInitialize(const UserValues& args) override;
88 
100  void initialize(const UserValues& args) override;
101 
102 private:
103 }; /* End of SpecZCatalogConfig class */
104 
105 } /* namespace Configuration */
106 } /* namespace Euclid */
107 
108 #endif
Superclass of all configuration classes.
Definition: Configuration.h:48
STL class.
virtual ~SpecZCatalogConfig()=default
Destructor.
Configuration class for enabling SpecZ catalog input.
std::map< std::string, OptionDescriptionList > getProgramOptions() override
Returns the program options defined by the SpecZCatalogConfig.
SpecZCatalogConfig(long manager_id)
Constructs a new SpecZCatalogConfig object.
void initialize(const UserValues &args) override
Adds the SpectroscopicRedshiftAttributeFromRow handler to the CatalogCnofig.
void preInitialize(const UserValues &args) override
Checks that all the options are valid. See the exceptions thrown for a detailed list of the checks...