ALMaSS Partridge ODdox  1.1
The partridge model description following ODdox protocol
landscape.h File Reference
#include <vector>
#include <fstream>

Go to the source code of this file.

Classes

struct  GooseFieldListItem
 A list item entry of field polygon reference numbers with associated openness and goose food scores. More...
 
class  Landscape
 The landscape class containing all environmental and topographical data. More...
 

Macros

#define _CRTDBG_MAP_ALLOC
 
#define TLANDSCAPE_H
 

Typedefs

typedef std::vector< GooseFieldListItemGooseFieldList
 A list of GooseFieldListItem s. More...
 

Enumerations

enum  TTypeOfDirections {
  direction_n = 0, direction_ne, direction_e, direction_se,
  direction_s, direction_sw, direction_w, direction_nw
}
 ALMaSS 8 standard directions
More...
 
enum  TTypesOfPesticideCategory { insecticide = 0, fungicide, herbicide, testpesticide }
 
enum  TTypesOfPesticide {
  ttop_NoPesticide = -1, ttop_AcuteEffects = 0, ttop_ReproductiveEffects, ttop_Vinclozolin,
  ttop_ModelinkPesticide, ttop_ModelinkPesticide21TWA, ttop_GeneticDemo, ttop_MultipleEffects,
  ttop_eggshellthinning, ttop_AcuteDelayedEffects
}
 

Variables

const int January = 0
 
const int February = 31
 
const int March = 59
 
const int April = 90
 
const int May = 120
 
const int June = 151
 
const int July = 181
 
const int August = 212
 
const int September = 243
 
const int October = 273
 
const int November = 304
 
const int December = 334
 
class Pesticideg_pest
 
Landscapeg_map
 

Macro Definition Documentation

◆ _CRTDBG_MAP_ALLOC

#define _CRTDBG_MAP_ALLOC

Definition at line 27 of file landscape.h.

◆ TLANDSCAPE_H

#define TLANDSCAPE_H

Definition at line 30 of file landscape.h.

Typedef Documentation

◆ GooseFieldList

typedef std::vector<GooseFieldListItem> GooseFieldList

A list of GooseFieldListItem s.

Definition at line 103 of file landscape.h.

Enumeration Type Documentation

◆ TTypeOfDirections

ALMaSS 8 standard directions

Enumerator
direction_n 
direction_ne 
direction_e 
direction_se 
direction_s 
direction_sw 
direction_w 
direction_nw 

Definition at line 59 of file landscape.h.

◆ TTypesOfPesticide

Enumerator
ttop_NoPesticide 
ttop_AcuteEffects 
ttop_ReproductiveEffects 
ttop_Vinclozolin 
ttop_ModelinkPesticide 
ttop_ModelinkPesticide21TWA 
ttop_GeneticDemo 
ttop_MultipleEffects 
ttop_eggshellthinning 
ttop_AcuteDelayedEffects 

Definition at line 65 of file landscape.h.

◆ TTypesOfPesticideCategory

Enumerator
insecticide 
fungicide 
herbicide 
testpesticide 

Definition at line 63 of file landscape.h.

Variable Documentation

◆ April

const int April = 90

◆ August

const int August = 212

Definition at line 43 of file landscape.h.

Referenced by Partridge_Population_Manager::DoFirst().

◆ December

const int December = 334

Definition at line 47 of file landscape.h.

Referenced by Partridge_Population_Manager::DoFirst().

◆ February

const int February = 31

Definition at line 37 of file landscape.h.

◆ g_map

Landscape* g_map

◆ g_pest

◆ January

const int January = 0

Definition at line 36 of file landscape.h.

◆ July

const int July = 181

Definition at line 42 of file landscape.h.

Referenced by VegElement::CalcGooseForageResources().

◆ June

const int June = 151

Definition at line 41 of file landscape.h.

Referenced by Partridge_Covey::CanWeMerge().

◆ March

◆ May

const int May = 120

Definition at line 40 of file landscape.h.

Referenced by Partridge_Population_Manager::DoFirst().

◆ November

const int November = 304

Definition at line 46 of file landscape.h.

Referenced by Partridge_Population_Manager::DoFirst().

◆ October

◆ September

const int September = 243
ttop_ReproductiveEffects
Definition: landscape.h:69
direction_nw
Definition: landscape.h:60
ttop_AcuteDelayedEffects
Definition: landscape.h:76
direction_sw
Definition: landscape.h:60
ttop_NoPesticide
Definition: landscape.h:67
fungicide
Definition: landscape.h:63
insecticide
Definition: landscape.h:63
ttop_ModelinkPesticide21TWA
Definition: landscape.h:72
herbicide
Definition: landscape.h:63
direction_s
Definition: landscape.h:60
ttop_Vinclozolin
Definition: landscape.h:70
testpesticide
Definition: landscape.h:63
ttop_ModelinkPesticide
Definition: landscape.h:71
direction_n
Definition: landscape.h:60
direction_e
Definition: landscape.h:60
direction_ne
Definition: landscape.h:60
ttop_eggshellthinning
Definition: landscape.h:75
ttop_AcuteEffects
Definition: landscape.h:68
direction_w
Definition: landscape.h:60
ttop_MultipleEffects
Definition: landscape.h:74
ttop_GeneticDemo
Definition: landscape.h:73
direction_se
Definition: landscape.h:60