aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sisudoc/ocda/meta/metadoc_object_setter.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2026-09-30 16:18:59 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2026-09-30 23:14:23 -0400
commit993a3f655359f98dc26d3d3222e07792e2ccddf7 (patch)
tree1633a8183b2affec4a2951c8357ab89e9073bd25 /src/sisudoc/ocda/meta/metadoc_object_setter.d
parentsearch database: show all included notes (diff)
abstraction 2.1: a poem states its object range
- A poem is a container of verse, and stores its range of verse ocn, - its verse are the citable units with ocn. - A note in the last verse of a poem previously was not gathered into the endnotes section, this now is fixed Format 2.0 -> 2.1: the property is an addition, the poem is not a citable object (but contans a range of objects), its verse are (individual citable objects), and every reader checks the major version. A 2.0 database reads as having no ranges. (assisted by Claude-Code)
Diffstat (limited to 'src/sisudoc/ocda/meta/metadoc_object_setter.d')
-rw-r--r--src/sisudoc/ocda/meta/metadoc_object_setter.d6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sisudoc/ocda/meta/metadoc_object_setter.d b/src/sisudoc/ocda/meta/metadoc_object_setter.d
index 6c090db..eff01a2 100644
--- a/src/sisudoc/ocda/meta/metadoc_object_setter.d
+++ b/src/sisudoc/ocda/meta/metadoc_object_setter.d
@@ -230,6 +230,12 @@ template ObjectSetter() {
int parent_lev_markup = 0;
int parent_ocn = 0;
int last_descendant_ocn = 0;
+ /+ ↓ the objects a container holds, as the first and last of their ocns: a
+ poem is not itself a citable object, its verses are, and it is cited as
+ the range of citable objects, ocn ("173-180"). 0 where not a container.
+ +/
+ int ocn_range_first = 0;
+ int ocn_range_last = 0;
int[] children_headings;
SHA_256_Hashes_ sha256;
}