IODA Bundle
Transforms/TransformBuilder.h
Go to the documentation of this file.
1 /*
2  * (C) Copyright 2020 NOAA/NWS/NCEP/EMC
3  *
4  * This software is licensed under the terms of the Apache Licence Version 2.0
5  * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
6  */
7 
8 #pragma once
9 
10 #include <memory.h>
11 
12 #include "eckit/config/LocalConfiguration.h"
13 
14 #include "Transform.h"
15 
16 
17 namespace Ingester
18 {
19  /// \brief Convenience class used to create transforms from configuration data.
21  {
22  public:
23  /// \brief Create transform given the configuration
24  static std::shared_ptr<Transform> makeTransform(const eckit::Configuration& conf);
25 
26  /// \brief Uses makeTransform to loop through the list of transforms in the configuration
27  static Transforms makeTransforms(const eckit::Configuration& conf);
28  };
29 } // namespace Ingester
Convenience class used to create transforms from configuration data.
static std::shared_ptr< Transform > makeTransform(const eckit::Configuration &conf)
Create transform given the configuration.
static Transforms makeTransforms(const eckit::Configuration &conf)
Uses makeTransform to loop through the list of transforms in the configuration.
std::vector< std::shared_ptr< Transform > > Transforms