c++_api/inc/opals/IAddInfo.hpp
1 #pragma once
2 
3 #include <opals/IModuleBase.hpp>
4 #include <opals/ResamplingMethod.hpp>
5 #include <opals/SelectionMode.hpp>
6 #include <opals/SearchMode.hpp>
7 #include <opals/String.hpp>
8 #include <opals/Path.hpp>
9 #include <opals/RasterFile.hpp>
10 #include <opals/Vector.hpp>
11 
12 #if defined(_MSC_VER) && !defined(OPALS_NO_AUTOLINK)
13  #if defined _DEBUG && !defined OPALS_NO_DEBUG
14  #pragma comment(lib, "opalsAddInfo_d.lib")
15  #else
16  #pragma comment(lib, "opalsAddInfo.lib")
17  #endif
18 #endif
19 
20 namespace opals {
21 
22  namespace opts
23  {
24  /// Options of \ref ModuleAddInfo
25  namespace AddInfo
26  {
27  /// Options of \ref ModuleAddInfo
28  using Options =
29  IGroup< Names::_, false,
40  >;
41  }
42  }
43 
44  /// Inserts or updates ODM attributes by combining existing attributes and/or grid models.
45  /** AddInfo constitutes a very general and flexible tool for creating
46  new or updating existing point attributes by combining point attributes
47  and/or grid models (grid values interpolated at the point locations). */
48  /// \see \ref ModuleAddInfo
49  class OPALS_API IAddInfo : virtual public IModuleBase
50  {
51 
52  public:
53  static IAddInfo* New();
54  static IAddInfo* New( IControlObject &controlObject );
55  static IAddInfo* New( const IModuleBase &parent );
56  static IAddInfo* New( const IModuleBase &parent, IControlObject &controlObject );
57 
58  virtual ~IAddInfo() {}
59 
60  /// \name Access to module-specific options.
61  ///@{
63  virtual Options& opts() = 0;
64  virtual const Options& opts() const = 0;
65  ///@}
66 
67  };
68 
69 };
Leaf that holds a read-only value.
Definition: IOption.hpp:63
IGroup< Names::_, false, ILeaf< Names::inFile, false, Path >, ILeaf< Names::attribute, false, String >, ILeaf< Names::gridFile, false, Vector< RasterFile > >, ILeaf< Names::tilePointCount, false, unsigned >, ILeaf< Names::neighbours, false, int >, ILeaf< Names::searchRadius, false, double >, ILeaf< Names::selMode, false, SelectionMode >, ILeaf< Names::searchMode, false, SearchMode >, ILeaf< Names::filter, false, Vector< String > >, ILeaf< Names::resampling, false, ResamplingMethod > > Options
Options of Module AddInfo.
Definition: c++_api/inc/opals/IAddInfo.hpp:40
Contains the public interface of OPALS.
Definition: AbsValueOrQuantile.hpp:8
Abstract base class of all opals modules.
Definition: IModuleBase.hpp:13
Interface for retrieving status and progress information from a module run.
Definition: c++_api/inc/opals/IControlObject.hpp:30
Inserts or updates ODM attributes by combining existing attributes and/or grid models.
Definition: c++_api/inc/opals/IAddInfo.hpp:49
A group of options.
Definition: IOption.hpp:108