Debian Codegraph @

frmts/pcraster/pcrasterdataset.h

raw symbols SCIP
1 /******************************************************************************
2 *
3 * Project: PCRaster Integration
4 * Purpose: PCRaster CSF 2.0 raster file driver declarations.
5 * Author: Kor de Jong, Oliver Schmitz
6 *
7 ******************************************************************************
8 * Copyright (c) PCRaster owners
9 *
10 * SPDX-License-Identifier: MIT
11 ****************************************************************************/
12
13 #ifndef INCLUDED_PCRASTERDATASET
14 #define INCLUDED_PCRASTERDATASETcxx . . $ `frmts/pcraster/pcrasterdataset.h:14:9`!
15
16 #include "gdal_pam.h"cxx . . $ `<file>/gcore/gdal_pam.h`/
17 #include "csf.h"cxx . . $ `<file>/frmts/pcraster/libcsf/csf.h`/
18
19 // namespace {
20 // PCRasterDataset declarations.
21 // }
22 namespace gdalcxx . . $ gdal/
23 {
24 class PCRasterDatasetTestcxx . . $ gdal/PCRasterDatasetTest#;
25 }
26
27 // namespace {
28
29 //! This class specialises the GDALDataset class for PCRaster datasets.
30 /*!
31 PCRaster raster datasets are currently formatted by the CSF 2.0 data format.
32 A PCRasterDataset consists of one band.
33
34 More info about PCRaster can be found at http://www.pcraster.nl and
35 http://pcraster.geog.uu.nl
36
37 Additional documentation about this driver can be found in
38 frmts/frmts_various.html of the GDAL source code distribution.
39 */
40 class PCRasterDatasetcxx . . $ PCRasterDataset# final : public GDALPamDatasetcxx . . $ GDALPamDataset#
41 {
42
43 friend class gdalcxx . . $ gdal/::PCRasterDatasetTestcxx . . $ gdal/PCRasterDatasetTest#;
44
45 public:
46 static GDALDatasetcxx . . $ GDALDataset# *opencxx . . $ PCRasterDataset#open(905b7966ba8c1649).(GDALOpenInfocxx . . $ GDALOpenInfo# *info);
47
48 static GDALDatasetcxx . . $ GDALDataset# *createcxx . . $ PCRasterDataset#create(2a509bdc7a404bec).(const char *filename, int nr_cols, int nr_rows,
49 int nrBands, GDALDataType gdalType,
50 CSLConstListcxx . . $ CSLConstList# papszParamList);
51
52 static GDALDatasetcxx . . $ GDALDataset# *createCopycxx . . $ PCRasterDataset#createCopy(8d8ece3624d4575).(char const *filename, GDALDatasetcxx . . $ GDALDataset# *source,
53 int strict, CSLConstListcxx . . $ CSLConstList# options,
54 GDALProgressFunc progress,
55 void *progressData);
56
57 private:
58 //! CSF map structure.
59 MAP *d_mapcxx . . $ PCRasterDataset#d_map.;
60
61 //! Left coordinate of raster.
62 double d_westcxx . . $ PCRasterDataset#d_west.;
63
64 //! Top coordinate of raster.
65 double d_northcxx . . $ PCRasterDataset#d_north.;
66
67 //! Cell size.
68 double d_cellSizecxx . . $ PCRasterDataset#d_cellSize.;
69
70 //! Cell representation.
71 CSF_CR d_cellRepresentationcxx . . $ PCRasterDataset#d_cellRepresentation.;
72
73 //! Value scale.
74 CSF_VS d_valueScalecxx . . $ PCRasterDataset#d_valueScale.;
75
76 //! No data value.
77 double d_defaultNoDataValuecxx . . $ PCRasterDataset#d_defaultNoDataValue.;
78
79 bool d_location_changedcxx . . $ PCRasterDataset#d_location_changed.;
80
81 //! Assignment operator. NOT IMPLEMENTED.
82 PCRasterDatasetcxx . . $ PCRasterDataset# &operatorcxx . . $ PCRasterDataset#`operator=`(a0c0b253d34b8596).=(const PCRasterDatasetcxx . . $ PCRasterDataset# &);
83
84 //! Copy constructor. NOT IMPLEMENTED.
85 PCRasterDatasetcxx . . $ PCRasterDataset#PCRasterDataset(5307a9864f19f3ac).(const PCRasterDatasetcxx . . $ PCRasterDataset# &);
86
87 public:
88 //----------------------------------------------------------------------------
89 // CREATORS
90 //----------------------------------------------------------------------------
91
92 explicit PCRasterDatasetcxx . . $ PCRasterDataset#PCRasterDataset(865b1b0230ff90b1).(MAP *map, GDALAccess eAccess);
93
94 ~cxx . . $ PCRasterDataset#`~PCRasterDataset`(ced63f7c635d850d).PCRasterDatasetcxx . . $ PCRasterDataset#() override;
95
96 //----------------------------------------------------------------------------
97 // MANIPULATORS
98 //----------------------------------------------------------------------------
99
100 CPLErr SetGeoTransformcxx . . $ PCRasterDataset#SetGeoTransform(6716ac9bf47c3d35).(const GDALGeoTransformcxx . . $ GDALGeoTransform# &gt) override;
101
102 //----------------------------------------------------------------------------
103 // ACCESSORS
104 //----------------------------------------------------------------------------
105
106 MAP *mapcxx . . $ PCRasterDataset#map(16a8225e401ac967).() const;
107 CPLErr GetGeoTransformcxx . . $ PCRasterDataset#GetGeoTransform(9cfa0773fdb41a90).(GDALGeoTransformcxx . . $ GDALGeoTransform# &gt) const override;
108 CSF_CR cellRepresentationcxx . . $ PCRasterDataset#cellRepresentation(bbe463759d34a5b0).() const;
109 CSF_VS valueScalecxx . . $ PCRasterDataset#valueScale(576d7fb87e0cc9e3).() const;
110 double defaultNoDataValuecxx . . $ PCRasterDataset#defaultNoDataValue(21b6c25e127938e2).() const;
111 bool location_changedcxx . . $ PCRasterDataset#location_changed(50ce9a9e25b4a850).() const;
112 };
113
114 // } // namespace
115
116 #endif