c++_api/inc/opals/IExport.hpp
1 #pragma once
2 
3 #include <opals/IModuleBase.hpp>
4 #include <opals/Array.hpp>
5 #include <opals/Filter.hpp>
6 #include <opals/Path.hpp>
7 #include <opals/String.hpp>
8 #include <opals/TrafPars3dAffine.hpp>
9 #include <opals/Vector.hpp>
10 
11 #if defined(_MSC_VER) && !defined(OPALS_NO_AUTOLINK)
12  #if defined _DEBUG && !defined OPALS_NO_DEBUG
13  #pragma comment(lib, "opalsExport_d.lib")
14  #else
15  #pragma comment(lib, "opalsExport.lib")
16  #endif
17 #endif
18 
19 namespace opals {
20 
21  namespace opts
22  {
23  /// Options of \ref ModuleExport
24  namespace Export
25  {
26  /// Options of \ref ModuleExport
27  using Options =
28  IGroup< Names::_, false,
37  >;
38  }
39  }
40 
41  /// Exports vector data stored in an OPALS data manager (ODM) in various data formats.
42  /** TODO:
43  More details on opalsExport */
44  /// \see \ref ModuleExport
45  class OPALS_API IExport : virtual public IModuleBase
46  {
47 
48  public:
49  static IExport* New();
50  static IExport* New( IControlObject &controlObject );
51  static IExport* New( const IModuleBase &parent );
52  static IExport* New( const IModuleBase &parent, IControlObject &controlObject );
53 
54  virtual ~IExport() {}
55 
56  /// \name Access to module-specific options.
57  ///@{
59  virtual Options& opts() = 0;
60  virtual const Options& opts() const = 0;
61  ///@}
62 
63  };
64 
65 };
Exports vector data stored in an OPALS data manager (ODM) in various data formats.
Definition: c++_api/inc/opals/IExport.hpp:45
Leaf that holds a read-only value.
Definition: IOption.hpp:63
IGroup< Names::_, false, ILeaf< Names::inFile, false, Vector< Path > >, ILeaf< Names::outFile, false, Path >, 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::restoreOrder, false, bool >, ILeaf< Names::limit, false, Array< double, 4 > >, ILeaf< Names::tileSize, false, double > > Options
Options of Module Export.
Definition: c++_api/inc/opals/IExport.hpp:37
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
A group of options.
Definition: IOption.hpp:108