line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# This file was automatically generated by SWIG (http://www.swig.org). |
2
|
|
|
|
|
|
|
# Version 2.0.11 |
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
# Do not make changes to this file unless you know what you are doing--modify |
5
|
|
|
|
|
|
|
# the SWIG interface file instead. |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
package Geo::GDAL::Const; |
8
|
18
|
|
|
18
|
|
59
|
use base qw(Exporter); |
|
18
|
|
|
|
|
19
|
|
|
18
|
|
|
|
|
1153
|
|
9
|
18
|
|
|
18
|
|
60
|
use base qw(DynaLoader); |
|
18
|
|
|
|
|
18
|
|
|
18
|
|
|
|
|
16506
|
|
10
|
|
|
|
|
|
|
package Geo::GDAL::Constc; |
11
|
|
|
|
|
|
|
bootstrap Geo::GDAL::Const; |
12
|
|
|
|
|
|
|
package Geo::GDAL::Const; |
13
|
|
|
|
|
|
|
@EXPORT = qw(); |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
# ---------- BASE METHODS ------------- |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
package Geo::GDAL::Const; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub TIEHASH { |
20
|
0
|
|
|
0
|
|
|
my ($classname,$obj) = @_; |
21
|
0
|
|
|
|
|
|
return bless $obj, $classname; |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
0
|
|
|
sub CLEAR { } |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
0
|
|
|
sub FIRSTKEY { } |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
0
|
|
|
sub NEXTKEY { } |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
sub FETCH { |
31
|
0
|
|
|
0
|
|
|
my ($self,$field) = @_; |
32
|
0
|
|
|
|
|
|
my $member_func = "swig_${field}_get"; |
33
|
0
|
|
|
|
|
|
$self->$member_func(); |
34
|
|
|
|
|
|
|
} |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
sub STORE { |
37
|
0
|
|
|
0
|
|
|
my ($self,$field,$newval) = @_; |
38
|
0
|
|
|
|
|
|
my $member_func = "swig_${field}_set"; |
39
|
0
|
|
|
|
|
|
$self->$member_func($newval); |
40
|
|
|
|
|
|
|
} |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
sub this { |
43
|
0
|
|
|
0
|
0
|
|
my $ptr = shift; |
44
|
0
|
|
|
|
|
|
return tied(%$ptr); |
45
|
|
|
|
|
|
|
} |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
# ------- FUNCTION WRAPPERS -------- |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
package Geo::GDAL::Const; |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
# ------- VARIABLE STUBS -------- |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
package Geo::GDAL::Const; |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
*GDT_Unknown = *Geo::GDAL::Constc::GDT_Unknown; |
58
|
|
|
|
|
|
|
*GDT_Byte = *Geo::GDAL::Constc::GDT_Byte; |
59
|
|
|
|
|
|
|
*GDT_UInt16 = *Geo::GDAL::Constc::GDT_UInt16; |
60
|
|
|
|
|
|
|
*GDT_Int16 = *Geo::GDAL::Constc::GDT_Int16; |
61
|
|
|
|
|
|
|
*GDT_UInt32 = *Geo::GDAL::Constc::GDT_UInt32; |
62
|
|
|
|
|
|
|
*GDT_Int32 = *Geo::GDAL::Constc::GDT_Int32; |
63
|
|
|
|
|
|
|
*GDT_Float32 = *Geo::GDAL::Constc::GDT_Float32; |
64
|
|
|
|
|
|
|
*GDT_Float64 = *Geo::GDAL::Constc::GDT_Float64; |
65
|
|
|
|
|
|
|
*GDT_CInt16 = *Geo::GDAL::Constc::GDT_CInt16; |
66
|
|
|
|
|
|
|
*GDT_CInt32 = *Geo::GDAL::Constc::GDT_CInt32; |
67
|
|
|
|
|
|
|
*GDT_CFloat32 = *Geo::GDAL::Constc::GDT_CFloat32; |
68
|
|
|
|
|
|
|
*GDT_CFloat64 = *Geo::GDAL::Constc::GDT_CFloat64; |
69
|
|
|
|
|
|
|
*GDT_TypeCount = *Geo::GDAL::Constc::GDT_TypeCount; |
70
|
|
|
|
|
|
|
*GA_ReadOnly = *Geo::GDAL::Constc::GA_ReadOnly; |
71
|
|
|
|
|
|
|
*GA_Update = *Geo::GDAL::Constc::GA_Update; |
72
|
|
|
|
|
|
|
*GF_Read = *Geo::GDAL::Constc::GF_Read; |
73
|
|
|
|
|
|
|
*GF_Write = *Geo::GDAL::Constc::GF_Write; |
74
|
|
|
|
|
|
|
*GRIORA_NearestNeighbour = *Geo::GDAL::Constc::GRIORA_NearestNeighbour; |
75
|
|
|
|
|
|
|
*GRIORA_Bilinear = *Geo::GDAL::Constc::GRIORA_Bilinear; |
76
|
|
|
|
|
|
|
*GRIORA_Cubic = *Geo::GDAL::Constc::GRIORA_Cubic; |
77
|
|
|
|
|
|
|
*GRIORA_CubicSpline = *Geo::GDAL::Constc::GRIORA_CubicSpline; |
78
|
|
|
|
|
|
|
*GRIORA_Lanczos = *Geo::GDAL::Constc::GRIORA_Lanczos; |
79
|
|
|
|
|
|
|
*GRIORA_Average = *Geo::GDAL::Constc::GRIORA_Average; |
80
|
|
|
|
|
|
|
*GRIORA_Mode = *Geo::GDAL::Constc::GRIORA_Mode; |
81
|
|
|
|
|
|
|
*GRIORA_Gauss = *Geo::GDAL::Constc::GRIORA_Gauss; |
82
|
|
|
|
|
|
|
*GCI_Undefined = *Geo::GDAL::Constc::GCI_Undefined; |
83
|
|
|
|
|
|
|
*GCI_GrayIndex = *Geo::GDAL::Constc::GCI_GrayIndex; |
84
|
|
|
|
|
|
|
*GCI_PaletteIndex = *Geo::GDAL::Constc::GCI_PaletteIndex; |
85
|
|
|
|
|
|
|
*GCI_RedBand = *Geo::GDAL::Constc::GCI_RedBand; |
86
|
|
|
|
|
|
|
*GCI_GreenBand = *Geo::GDAL::Constc::GCI_GreenBand; |
87
|
|
|
|
|
|
|
*GCI_BlueBand = *Geo::GDAL::Constc::GCI_BlueBand; |
88
|
|
|
|
|
|
|
*GCI_AlphaBand = *Geo::GDAL::Constc::GCI_AlphaBand; |
89
|
|
|
|
|
|
|
*GCI_HueBand = *Geo::GDAL::Constc::GCI_HueBand; |
90
|
|
|
|
|
|
|
*GCI_SaturationBand = *Geo::GDAL::Constc::GCI_SaturationBand; |
91
|
|
|
|
|
|
|
*GCI_LightnessBand = *Geo::GDAL::Constc::GCI_LightnessBand; |
92
|
|
|
|
|
|
|
*GCI_CyanBand = *Geo::GDAL::Constc::GCI_CyanBand; |
93
|
|
|
|
|
|
|
*GCI_MagentaBand = *Geo::GDAL::Constc::GCI_MagentaBand; |
94
|
|
|
|
|
|
|
*GCI_YellowBand = *Geo::GDAL::Constc::GCI_YellowBand; |
95
|
|
|
|
|
|
|
*GCI_BlackBand = *Geo::GDAL::Constc::GCI_BlackBand; |
96
|
|
|
|
|
|
|
*GCI_YCbCr_YBand = *Geo::GDAL::Constc::GCI_YCbCr_YBand; |
97
|
|
|
|
|
|
|
*GCI_YCbCr_CrBand = *Geo::GDAL::Constc::GCI_YCbCr_CrBand; |
98
|
|
|
|
|
|
|
*GCI_YCbCr_CbBand = *Geo::GDAL::Constc::GCI_YCbCr_CbBand; |
99
|
|
|
|
|
|
|
*GRA_NearestNeighbour = *Geo::GDAL::Constc::GRA_NearestNeighbour; |
100
|
|
|
|
|
|
|
*GRA_Bilinear = *Geo::GDAL::Constc::GRA_Bilinear; |
101
|
|
|
|
|
|
|
*GRA_Cubic = *Geo::GDAL::Constc::GRA_Cubic; |
102
|
|
|
|
|
|
|
*GRA_CubicSpline = *Geo::GDAL::Constc::GRA_CubicSpline; |
103
|
|
|
|
|
|
|
*GRA_Lanczos = *Geo::GDAL::Constc::GRA_Lanczos; |
104
|
|
|
|
|
|
|
*GRA_Average = *Geo::GDAL::Constc::GRA_Average; |
105
|
|
|
|
|
|
|
*GRA_Mode = *Geo::GDAL::Constc::GRA_Mode; |
106
|
|
|
|
|
|
|
*GPI_Gray = *Geo::GDAL::Constc::GPI_Gray; |
107
|
|
|
|
|
|
|
*GPI_RGB = *Geo::GDAL::Constc::GPI_RGB; |
108
|
|
|
|
|
|
|
*GPI_CMYK = *Geo::GDAL::Constc::GPI_CMYK; |
109
|
|
|
|
|
|
|
*GPI_HLS = *Geo::GDAL::Constc::GPI_HLS; |
110
|
|
|
|
|
|
|
*CXT_Element = *Geo::GDAL::Constc::CXT_Element; |
111
|
|
|
|
|
|
|
*CXT_Text = *Geo::GDAL::Constc::CXT_Text; |
112
|
|
|
|
|
|
|
*CXT_Attribute = *Geo::GDAL::Constc::CXT_Attribute; |
113
|
|
|
|
|
|
|
*CXT_Comment = *Geo::GDAL::Constc::CXT_Comment; |
114
|
|
|
|
|
|
|
*CXT_Literal = *Geo::GDAL::Constc::CXT_Literal; |
115
|
|
|
|
|
|
|
*CE_None = *Geo::GDAL::Constc::CE_None; |
116
|
|
|
|
|
|
|
*CE_Debug = *Geo::GDAL::Constc::CE_Debug; |
117
|
|
|
|
|
|
|
*CE_Warning = *Geo::GDAL::Constc::CE_Warning; |
118
|
|
|
|
|
|
|
*CE_Failure = *Geo::GDAL::Constc::CE_Failure; |
119
|
|
|
|
|
|
|
*CE_Fatal = *Geo::GDAL::Constc::CE_Fatal; |
120
|
|
|
|
|
|
|
*CPLE_None = *Geo::GDAL::Constc::CPLE_None; |
121
|
|
|
|
|
|
|
*CPLE_AppDefined = *Geo::GDAL::Constc::CPLE_AppDefined; |
122
|
|
|
|
|
|
|
*CPLE_OutOfMemory = *Geo::GDAL::Constc::CPLE_OutOfMemory; |
123
|
|
|
|
|
|
|
*CPLE_FileIO = *Geo::GDAL::Constc::CPLE_FileIO; |
124
|
|
|
|
|
|
|
*CPLE_OpenFailed = *Geo::GDAL::Constc::CPLE_OpenFailed; |
125
|
|
|
|
|
|
|
*CPLE_IllegalArg = *Geo::GDAL::Constc::CPLE_IllegalArg; |
126
|
|
|
|
|
|
|
*CPLE_NotSupported = *Geo::GDAL::Constc::CPLE_NotSupported; |
127
|
|
|
|
|
|
|
*CPLE_AssertionFailed = *Geo::GDAL::Constc::CPLE_AssertionFailed; |
128
|
|
|
|
|
|
|
*CPLE_NoWriteAccess = *Geo::GDAL::Constc::CPLE_NoWriteAccess; |
129
|
|
|
|
|
|
|
*CPLE_UserInterrupt = *Geo::GDAL::Constc::CPLE_UserInterrupt; |
130
|
|
|
|
|
|
|
*OF_ALL = *Geo::GDAL::Constc::OF_ALL; |
131
|
|
|
|
|
|
|
*OF_RASTER = *Geo::GDAL::Constc::OF_RASTER; |
132
|
|
|
|
|
|
|
*OF_VECTOR = *Geo::GDAL::Constc::OF_VECTOR; |
133
|
|
|
|
|
|
|
*OF_GNM = *Geo::GDAL::Constc::OF_GNM; |
134
|
|
|
|
|
|
|
*OF_READONLY = *Geo::GDAL::Constc::OF_READONLY; |
135
|
|
|
|
|
|
|
*OF_UPDATE = *Geo::GDAL::Constc::OF_UPDATE; |
136
|
|
|
|
|
|
|
*OF_SHARED = *Geo::GDAL::Constc::OF_SHARED; |
137
|
|
|
|
|
|
|
*OF_VERBOSE_ERROR = *Geo::GDAL::Constc::OF_VERBOSE_ERROR; |
138
|
|
|
|
|
|
|
*DMD_LONGNAME = *Geo::GDAL::Constc::DMD_LONGNAME; |
139
|
|
|
|
|
|
|
*DMD_HELPTOPIC = *Geo::GDAL::Constc::DMD_HELPTOPIC; |
140
|
|
|
|
|
|
|
*DMD_MIMETYPE = *Geo::GDAL::Constc::DMD_MIMETYPE; |
141
|
|
|
|
|
|
|
*DMD_EXTENSION = *Geo::GDAL::Constc::DMD_EXTENSION; |
142
|
|
|
|
|
|
|
*DMD_EXTENSIONS = *Geo::GDAL::Constc::DMD_EXTENSIONS; |
143
|
|
|
|
|
|
|
*DMD_CONNECTION_PREFIX = *Geo::GDAL::Constc::DMD_CONNECTION_PREFIX; |
144
|
|
|
|
|
|
|
*DMD_CREATIONOPTIONLIST = *Geo::GDAL::Constc::DMD_CREATIONOPTIONLIST; |
145
|
|
|
|
|
|
|
*DMD_CREATIONDATATYPES = *Geo::GDAL::Constc::DMD_CREATIONDATATYPES; |
146
|
|
|
|
|
|
|
*DMD_CREATIONFIELDDATATYPES = *Geo::GDAL::Constc::DMD_CREATIONFIELDDATATYPES; |
147
|
|
|
|
|
|
|
*DMD_SUBDATASETS = *Geo::GDAL::Constc::DMD_SUBDATASETS; |
148
|
|
|
|
|
|
|
*DCAP_OPEN = *Geo::GDAL::Constc::DCAP_OPEN; |
149
|
|
|
|
|
|
|
*DCAP_CREATE = *Geo::GDAL::Constc::DCAP_CREATE; |
150
|
|
|
|
|
|
|
*DCAP_CREATECOPY = *Geo::GDAL::Constc::DCAP_CREATECOPY; |
151
|
|
|
|
|
|
|
*DCAP_VIRTUALIO = *Geo::GDAL::Constc::DCAP_VIRTUALIO; |
152
|
|
|
|
|
|
|
*DCAP_RASTER = *Geo::GDAL::Constc::DCAP_RASTER; |
153
|
|
|
|
|
|
|
*DCAP_VECTOR = *Geo::GDAL::Constc::DCAP_VECTOR; |
154
|
|
|
|
|
|
|
*DCAP_NOTNULL_FIELDS = *Geo::GDAL::Constc::DCAP_NOTNULL_FIELDS; |
155
|
|
|
|
|
|
|
*DCAP_DEFAULT_FIELDS = *Geo::GDAL::Constc::DCAP_DEFAULT_FIELDS; |
156
|
|
|
|
|
|
|
*DCAP_NOTNULL_GEOMFIELDS = *Geo::GDAL::Constc::DCAP_NOTNULL_GEOMFIELDS; |
157
|
|
|
|
|
|
|
*CPLES_BackslashQuotable = *Geo::GDAL::Constc::CPLES_BackslashQuotable; |
158
|
|
|
|
|
|
|
*CPLES_XML = *Geo::GDAL::Constc::CPLES_XML; |
159
|
|
|
|
|
|
|
*CPLES_URL = *Geo::GDAL::Constc::CPLES_URL; |
160
|
|
|
|
|
|
|
*CPLES_SQL = *Geo::GDAL::Constc::CPLES_SQL; |
161
|
|
|
|
|
|
|
*CPLES_CSV = *Geo::GDAL::Constc::CPLES_CSV; |
162
|
|
|
|
|
|
|
*GFT_Integer = *Geo::GDAL::Constc::GFT_Integer; |
163
|
|
|
|
|
|
|
*GFT_Real = *Geo::GDAL::Constc::GFT_Real; |
164
|
|
|
|
|
|
|
*GFT_String = *Geo::GDAL::Constc::GFT_String; |
165
|
|
|
|
|
|
|
*GFU_Generic = *Geo::GDAL::Constc::GFU_Generic; |
166
|
|
|
|
|
|
|
*GFU_PixelCount = *Geo::GDAL::Constc::GFU_PixelCount; |
167
|
|
|
|
|
|
|
*GFU_Name = *Geo::GDAL::Constc::GFU_Name; |
168
|
|
|
|
|
|
|
*GFU_Min = *Geo::GDAL::Constc::GFU_Min; |
169
|
|
|
|
|
|
|
*GFU_Max = *Geo::GDAL::Constc::GFU_Max; |
170
|
|
|
|
|
|
|
*GFU_MinMax = *Geo::GDAL::Constc::GFU_MinMax; |
171
|
|
|
|
|
|
|
*GFU_Red = *Geo::GDAL::Constc::GFU_Red; |
172
|
|
|
|
|
|
|
*GFU_Green = *Geo::GDAL::Constc::GFU_Green; |
173
|
|
|
|
|
|
|
*GFU_Blue = *Geo::GDAL::Constc::GFU_Blue; |
174
|
|
|
|
|
|
|
*GFU_Alpha = *Geo::GDAL::Constc::GFU_Alpha; |
175
|
|
|
|
|
|
|
*GFU_RedMin = *Geo::GDAL::Constc::GFU_RedMin; |
176
|
|
|
|
|
|
|
*GFU_GreenMin = *Geo::GDAL::Constc::GFU_GreenMin; |
177
|
|
|
|
|
|
|
*GFU_BlueMin = *Geo::GDAL::Constc::GFU_BlueMin; |
178
|
|
|
|
|
|
|
*GFU_AlphaMin = *Geo::GDAL::Constc::GFU_AlphaMin; |
179
|
|
|
|
|
|
|
*GFU_RedMax = *Geo::GDAL::Constc::GFU_RedMax; |
180
|
|
|
|
|
|
|
*GFU_GreenMax = *Geo::GDAL::Constc::GFU_GreenMax; |
181
|
|
|
|
|
|
|
*GFU_BlueMax = *Geo::GDAL::Constc::GFU_BlueMax; |
182
|
|
|
|
|
|
|
*GFU_AlphaMax = *Geo::GDAL::Constc::GFU_AlphaMax; |
183
|
|
|
|
|
|
|
*GFU_MaxCount = *Geo::GDAL::Constc::GFU_MaxCount; |
184
|
|
|
|
|
|
|
*GMF_ALL_VALID = *Geo::GDAL::Constc::GMF_ALL_VALID; |
185
|
|
|
|
|
|
|
*GMF_PER_DATASET = *Geo::GDAL::Constc::GMF_PER_DATASET; |
186
|
|
|
|
|
|
|
*GMF_ALPHA = *Geo::GDAL::Constc::GMF_ALPHA; |
187
|
|
|
|
|
|
|
*GMF_NODATA = *Geo::GDAL::Constc::GMF_NODATA; |
188
|
|
|
|
|
|
|
*GARIO_PENDING = *Geo::GDAL::Constc::GARIO_PENDING; |
189
|
|
|
|
|
|
|
*GARIO_UPDATE = *Geo::GDAL::Constc::GARIO_UPDATE; |
190
|
|
|
|
|
|
|
*GARIO_ERROR = *Geo::GDAL::Constc::GARIO_ERROR; |
191
|
|
|
|
|
|
|
*GARIO_COMPLETE = *Geo::GDAL::Constc::GARIO_COMPLETE; |
192
|
|
|
|
|
|
|
*GTO_TIP = *Geo::GDAL::Constc::GTO_TIP; |
193
|
|
|
|
|
|
|
*GTO_BIT = *Geo::GDAL::Constc::GTO_BIT; |
194
|
|
|
|
|
|
|
*GTO_BSQ = *Geo::GDAL::Constc::GTO_BSQ; |
195
|
|
|
|
|
|
|
1; |