Struct ElementState
Presence plus optional authoritative version for one typed element state.
struct ElementState(T)
if (is(T == OwnedNode) || is(T == OwnedWay) || is(T == OwnedRelation));
Fields
| Name | Type | Description |
|---|---|---|
exists
|
bool | |
hasVersion
|
bool | |
id
|
OsmId | |
value
|
T | |
versionNumber
|
int |
Methods
| Name | Description |
|---|---|
absent
(id, versionNumber)
|
Construct an absent/deleted state. |
deepCopy
()
|
Independently mutable copy. |
present
(source)
|
Construct a present state from one owned element. |