VectorOrRasterFile.hpp
1 #pragma once
2 
3 #include <opals/Path.hpp>
4 #include <opals/CustomOptionType.hpp>
5 
6 namespace opals
7 {
8 
9  /// File path of a vector or raster dataset. See \ref fmt_vector, \ref ref_odm, and \ref fmt_raster
10  class OPALS_API VectorOrRasterFile : public Path, public CustomOptionType<VectorOrRasterFile>
11  {
12  public:
13  using Path::Path;
14  VectorOrRasterFile() = default;
15  VectorOrRasterFile(const Path&);
16 
17  static bool exportsPythonType();
18  static const char* help(bool);
19  static const char* syntax();
20  };
21 
22 }
23 
Base class for all custom parameter types.
Definition: CustomOptionType.hpp:39
File path of a vector or raster dataset. See Supported vector formats, OPALS Datamanager,...
Definition: VectorOrRasterFile.hpp:10
A file/directory path.
Definition: Path.hpp:26
Contains the public interface of OPALS.
Definition: AbsValueOrQuantile.hpp:8