ITranslate.hpp
1 #pragma once
2 
3 #include <opals/IModuleBase.hpp>
4 #include <opals/Filter.hpp>
5 #include <opals/Path.hpp>
6 #include <opals/String.hpp>
7 #include <opals/TrafPars3dAffine.hpp>
8 #include <opals/Vector.hpp>
9 #include <opals/VectorOrRasterFile.hpp>
10 
11 #if defined(_MSC_VER) && !defined(OPALS_NO_AUTOLINK)
12  #if defined _DEBUG && !defined OPALS_NO_DEBUG
13  #pragma comment(lib, "opalsTranslate_d.lib")
14  #else
15  #pragma comment(lib, "opalsTranslate.lib")
16  #endif
17 #endif
18 
19 namespace opals {
20 
21  namespace opts
22  {
23  /// Options of \ref ModuleTranslate
24  namespace Translate
25  {
26  /// Options of \ref ModuleTranslate
27  using Options =
28  IGroup< Names::_, false,
36  IGroup< Names::crsTrafo, false,
40  >,
42  >;
43  }
44  }
45 
46  /// Performs format conversion for vector data files with additional read support of GDAL rasters.
47  /** TODO:
48  More details on opalsTranslate with much more words,
49  possibly on several lines. */
50  /// \see \ref ModuleTranslate
51  class OPALS_API ITranslate : virtual public IModuleBase
52  {
53 
54  public:
55  static ITranslate* New();
56  static ITranslate* New( IControlObject &controlObject );
57  static ITranslate* New( const IModuleBase &parent );
58  static ITranslate* New( const IModuleBase &parent, IControlObject &controlObject );
59 
60  virtual ~ITranslate() {}
61 
62  /// \name Access to module-specific options.
63  ///@{
65  virtual Options& opts() = 0;
66  virtual const Options& opts() const = 0;
67  ///@}
68 
69  };
70 
71 };
Leaf that holds a read-only value.
Definition: IOption.hpp:63
@ crsTrafo
crs transformation group (opalsTranslate)
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
IGroup< Names::_, false, ILeaf< Names::inFile, false, Vector< VectorOrRasterFile > >, ILeaf< Names::outFile, false, Path >, ILeaf< Names::iFormat, false, Vector< String > >, ILeaf< Names::oFormat, false, String >, ILeaf< Names::filter, false, Vector< FilterWithPlaceHolders< DM::IFilter::ReadAccess::coordinatesAttributes, DM::IFilter::WriteAccess::full > > >, ILeaf< Names::trafo, false, TrafPars3dAffine >, ILeaf< Names::splitByAttribute, false, String >, IGroup< Names::crsTrafo, false, ILeaf< Names::inCRS, false, String >, ILeaf< Names::outCRS, false, String >, ILeaf< Names::operation, false, Vector< String > > >, ILeaf< Names::tileSize, false, double > > Options
Options of Module Translate.
Definition: ITranslate.hpp:42
Performs format conversion for vector data files with additional read support of GDAL rasters.
Definition: ITranslate.hpp:51
A group of options.
Definition: IOption.hpp:108