ALMaSS Rabbit ODdox  1.00
The rabbit model description following ODdox protocol
tole_declaration.h
Go to the documentation of this file.
1 //
2 // tole_declaration.h
3 //
4 /*
5 *******************************************************************************************************
6 Copyright (c) 2011, Christopher John Topping, University of Aarhus
7 All rights reserved.
8 
9 Redistribution and use in source and binary forms, with or without modification, are permitted provided
10 that the following conditions are met:
11 
12 Redistributions of source code must retain the above copyright notice, this list of conditions and the
13 following disclaimer.
14 Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
15 the following disclaimer in the documentation and/or other materials provided with the distribution.
16 
17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
18 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
19 FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS
20 BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
21 BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
22 BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 ********************************************************************************************************
26 */
27 
28 //---------------------------------------------------------------------------
29 #ifndef tole_declarationH
30 #define tole_declarationH
31 //----------------------------------------------------------------------------
32 
33 // numbers in comments are the numbers expected in the raw data file direct
34 // from ArcView
35 
36 typedef enum {
37  tole_Hedges=0, //130
39  tole_Railway, //118
41  tole_Marsh, //95
42  tole_Scrub, //70
43  tole_Field, //20&30
57  tole_Garden, //11//tole20
58  tole_Track, //123
64  tole_River, //96
66  tole_Coast, //100//tole30
69  tole_Heath, //94
81  tole_Copse, //41
84  tole_Carpark, //203
88  tole_Stream, //207
100  tole_Pond, // 219
102  tole_Missing, // 2112 will cause this polygon to be removed and its pixels replaced.
103  tole_Chameleon, // Special behaviour polygon - replaced when read in, but needs to be here for landscape manipulations
104  tole_Foobar // 999 !! type unknown - should not happen
105  // Don't use this one when communicating with the landscape
106  // model, it will trip an error in most cases!
107  // --FN-- 24/11-2000.
108  }
110 
111 // USE THE CODE BELOW TO TEST FOR MISSING CASES IN SWITCH STATEMENTS. PASTE BEFORE DEFAULT TO ID THOSE WHICH DO NOT GIVE AN
112 // ERROR AS ALREADY BEING PRESENT - REMEMBER TO ADD ANY NEW tole TYPES TO THIS LIST!
113 
114 /*
115 case tole_Hedges: //130
116 case tole_RoadsideVerge: //13
117 case tole_Railway: //118
118 case tole_FieldBoundary: //160
119 case tole_Marsh: //95
120 case tole_Scrub: //70
121 case tole_Field: //20&30
122 case tole_PermPastureLowYield: //26
123 case tole_PermPastureTussocky: //27
124 case tole_PermanentSetaside: //33
125 case tole_PermPasture: //35
126 case tole_NaturalGrassDry: //110
127 case tole_RiversidePlants: //98
128 case tole_PitDisused: //75
129 case tole_RiversideTrees: //97
130 case tole_DeciduousForest: //40
131 case tole_MixedForest: //60
132 case tole_ConiferousForest: //50
133 case tole_YoungForest: //55
134 case tole_StoneWall: //15
135 case tole_Garden: //11//tole20
136 case tole_Track: //123
137 case tole_SmallRoad: //122
138 case tole_LargeRoad: //121
139 case tole_Building: //5
140 case tole_ActivePit: //115
141 case tole_Freshwater: //90
142 case tole_River: //96
143 case tole_Saltwater: //80
144 case tole_Coast: //100//tole30
145 case tole_HedgeBank: //140
146 case tole_BeetleBank: //141
147 case tole_Heath: //94
148 case tole_Orchard: //56
149 case tole_UnsprayedFieldMargin: //31
150 case tole_OrchardBand: //57
151 case tole_MownGrass: //58
152 case tole_BareRock: //69
153 case tole_AmenityGrass: //12
154 case tole_Parkland: //14
155 case tole_UrbanNoVeg: //6
156 case tole_UrbanPark: //17
157 case tole_BuiltUpWithParkland: //16
158 case tole_SandDune: //101
159 case tole_Copse: //41
160 case tole_IndividualTree: //42
161 case tole_RoadsideSlope: //201
162 case tole_MetalledPath: //202
163 case tole_Carpark: //203
164 case tole_Churchyard: //204
165 case tole_NaturalGrassWet: //205
166 case tole_Saltmarsh: //206
167 case tole_Stream: //207
168 case tole_HeritageSite: //208
169 case tole_WoodyEnergyCrop:// 59
170 case tole_PlantNursery: // 214
171 case tole_UnknownGrass:
172 case tole_Wasteland:
173 case tole_IndividualTree:
174 case tole_WoodyEnergyCrop:
175 case tole_PlantNursery:
176 case tole_Pylon:
177 case tole_WindTurbine:
178 case tole_WoodlandMargin:
179 case tole_Vildtager:
180 case tole_PermPastureTussockyWet: // 218
181 case tole_Pond: // 219
182 case tole_FishFarm
183 */
184 
185 #endif
186 
TTypesOfLandscapeElement