Signatures.NodeRepresentationinclude ObjectCommonval id : t -> Common.Id.tObject identifier.
val tags : t -> Common.Tags.tGet all the tags of an object.
val has_key : Common.Tags.key -> t -> boolCheck if a key is present.
val get_key : Common.Tags.key -> t -> Common.Tags.value optionValue associated to a key
val has_tag_with : Common.Tags.key -> value:Common.Tags.value -> t -> boolCheck if a tag has the provided value.
val has_tag_contains :
Common.Tags.key ->
values:Common.Tags.value list ->
t ->
boolCheck if a tag has one of the provided values.
If stored or inferred, these functions return the hints provided to the create function (see type object_create above).
val version : t -> int optionObject version.
val changeset : t -> Common.Id.changeset optionThe last changeset that changed the object.
val visible : t -> bool optionWhether it should be visible when editing.
val uid : t -> Common.Id.user optionThe identifier of the last user who edited this object.
val user : t -> string optionThe UTF-8-encoded name of this last user.
val timestamp : t -> CalendarLib.Calendar.t optionThe last time when this object was modified.
val area : t -> bool optionval has_changed : t -> bool optionval to_object : t -> object_typeConvert a node to an object.
val of_object : object_type -> t optionSynonym of Object.to_node.
val position : t -> Common.Position.tGet the position of a node.
val create : (Common.Position.t, t) object_createCreate a node with its position and optional identifier and tags. If no identifier is provided, one is generated on the fly (with a negative value).