Expand description
CSP’s own schema registry inside every .clip / .cmc database.
ParamScheme: one row per column CSP knows (TableName,LabelName), with a data type code, an owner element kind and, for id columns, the table the id points into (LinkTable). It lists every table of the saving CSP version, also tables the file does not contain.ElemScheme: one row per table with its element kind (ElemType) and the highestMainIdhanded out so far (MaxIndex).ExternalTableAndColumnName: the columns whose values are external chunk ids (pixel blocks, vector data, 3D data, time-lapse data).
See docs/spec/02-database.md for what the codes mean.
Structs§
Enums§
- Data
Type ParamScheme.DataType.
Functions§
- allocate_
main_ id - Hand out the next
MainIdoftable, as CSP does: one more than bothElemScheme.MaxIndexand the highest id in the table, recorded back intoElemScheme. - element_
kind_ name - Element kinds (
ElemScheme.ElemType,ParamScheme.OwnerType). An owner column holds theMainIdof the element of that kind that owns the row (for exampleOffscreen.LayerId, owner kind 4 = layer).