This topic covers the implementation details of Tmc_2330_2431_Fractions.
Scope: TypeDefinitions.pas; record. Prepared from the curated implementation supplied for this review on 2 October 2026.
Container for frac2330 and frac2431. Initialize resets both. When both remain default, the writer emits only the type marker. The reader initializes first, including when a node is missing.
Notation and shared helper rules: Reading this reference.
Literal rec_type values emitted within these routines: Tmc_2330_2431_Fractions. Nested values may belong to child wrappers rather than this owner itself; the attribute entries below give their exact locations.
Structures used directly by this XML implementation:
Exact XML fields and attributes
The paths below start at this record or property node. A slash identifies a child element; @ identifies an attribute. Curly braces mark a variable index or expression, not literal XML text. Initial values describe initialization; they do not establish what an omitted individual element does. The Implementation toggle below contains the supplied routines for exact branch order and conversions.
@rec_type
XML representation: The rec_type attribute.
Writing: Stores the literal text “Tmc_2330_2431_Fractions” whenever the writer reaches this field.
Nested records and repeated elements
Operation |
XML location |
When it is processed |
Read frac2330 |
frac2330 |
the record node exists; node2 exists |
Read frac2431 |
frac2431 |
the record node exists; node2 exists |
Write frac2330 |
frac2330 |
the record’s DoesSomething check succeeds |
Write frac2431 |
frac2431 |
the record’s DoesSomething check succeeds |
Initialization and reset values
Tmc_2330_2431_Fractions.Initialize
This routine also calls frac2330.Initialize; frac2431.Initialize. See Implementation for their order and any conditional calls.
Tmc_2330_2431_Fractions.ResetToDefaults
This routine also calls Initialize. See Implementation for their order and any conditional calls.
Storage declarations relevant to interpretation
These are in-memory member and property types, not a list of mandatory XML children. They retain array bounds, fixed buffers and selector types. The field reference above defines what is actually serialized.
Name |
Declared type / bounds |
Kind |
frac2330 |
Tmc_2x3y_Fraction |
member |
frac2431 |
Tmc_2x3y_Fraction |
member |
The Implementation toggle contains only Tmc_2330_2431_Fractions methods. Initializers and helpers belonging to other types are identified separately below. Shared XML-helper limitations are explained in Reading this reference.
Declaration reproduces this record’s complete declaration from the supplied source, including its fields, properties and method signatures.