IImportGDAL.hpp
1 #ifndef DM_IO_IMPORT_GDAL_HPP_INCLUDED
2 #define DM_IO_IMPORT_GDAL_HPP_INCLUDED
3 
4 #ifdef _MSC_VER
5  #pragma once
6 #endif
7 
8 //DM
9 #include "DM/config.hpp"
10 #include "DM/AutoLink.hpp" //enable autolink
11 
12 #include "DM/ColumnTypes.hpp"
13 #include "DM/IO/IImport.hpp"
14 
15 DM_NAMESPACE_BEGIN
16 
17 class DM_API IImportGDAL : public virtual IImport
18 {
19 public:
20  static IImportGDAL* New( const char *file, FilterHandle filter = FilterHandle(),
22  bool collectHdrContents = false,
23  unsigned maxBulkPoints = 1000,
24  unsigned bandNr = 1,
25  const char *driver = 0 );
26 protected:
27  virtual ~IImportGDAL() {}
28 
29 public:
30  ///< access the gdal short driver name (available after the header was read)
31  virtual const char* getGDALDriverShortName() const = 0;
32  ///< access the gdal long driver name (available after the header was read)
33  virtual const char* getGDALDriverLongName() const = 0;
34 };
35 
37 
38 
39 DM_NAMESPACE_END
40 
41 #endif //DM_IO_IMPORT_GDAL_HPP_INCLUDED
42 
43