Expand description
Contains the implementations related to AreaDto
.
Constants§
- Error message when invalid area types are supplied.
Functions§
- Maps
NewAreaDto
s toHydrology
s. Precondition is that alldtos
havearea_type == AreaType::Hydrology(_)
. - Maps
NewAreaDto
s toShading
s. Precondition is that alldtos
havearea_type == AreaType::Shade(_)
. - Maps
NewAreaDto
s toSoilTexture
s. Precondition is that alldtos
havearea_type == AreaType::SoilTexture(_)
. - Maps
UpdateAreaDto
toUpdateHydrology
s. Precondition is that thedto
hasarea_kind == AreaKind::Hydrology
. - Maps
UpdateAreaDto
toUpdateShading
s. Precondition is that thedto
hasarea_kind == AreaKind::Shade
. - Maps
UpdateAreaDto
toUpdateSoilTexture
s. Precondition is that thedto
hasarea_kind == AreaKind::SoilTexture
.