next up previous contents index
Next: Optional information fields Up: Compressed storing of Fib Previous: File Header   Contents   Index


Root-element

For the description of the root-element see section 9.14 on page [*] .

The Fib root-element does not need a separate introduction. The data of the top most root-element starts with the third byte (the counting starts from 0) immediately after the stream initiation of "fib". Other root-elements follow after their identifiers.


For the root-element the following fields are written sequentially (where each element is filled in each case if needed to a full byte with $0$):

  1. 16-bit field to specify the optional information fields (see section 21.2.1)
  2. 64-bit field to specify additional optional information fields (see section 21.2.1); only present if the bit 16 of the optional information field is set
  3. a 144 ($= 16 +64 +64$)-bit field for the checksum (see section 21.2.2 on page [*]); only present if bit 1 of the optional information fields is set
  4. number of the byte of the root-object (offset), from which the domains ($Domains$ and $DomainsValues$) are defined; only present if the bit 3 of the optional information field is set
  5. number of the byte of the root-object (offset), from which the input variables are defined; only present if bit 4 of the optional information field is set
  6. number of the byte of the root-object (offset), at which the main-Fib-object begins
  7. number of the byte of the root-object (offset), from which the sub-root-objects are defined; only present if bit 6 of the optional information field is set
  8. number of the byte of the root-object (offset), from which the database identifiers are listed; only present if bit 7 of the optional information field is set
  9. number of the byte of the root-object (offset), at which optional part begins; only present if bit 8 of the optional information field is set
  10. number of the byte of the root-object (offset), at which root-object ends, respectively the number of byts the root-object is long
  11. the multimedia information (see section 21.2.3 on page [*]), only present if bit 2 of the optional information field is set
  12. the domains (see section 21.2.4 on page [*]); only present if bit 3 of the optional information field is set
  13. input variables (see section 21.2.5 on page [*]); only present if bit 4 of the optional information field is set
  14. main-Fib-object (see section 21.2.6 on page [*])
  15. sub-root-objects (see section 21.2.7 on page [*]); only present if bit 6 of the optional information field is set
  16. database identifiers of used database objects (see section 21.2.8 on page [*]); only present if bit 7 of the optional information field is set
  17. the optional part compressed with the Deflate-algorithm for the lossless data compression (see section 21.2.9 on page [*]); only present if bit 8 of the optional information field is set

If a single bit is not set in the optional information fields for a field, this field is omitted.

For fields with the "number of the byte of the root-object, at which ..." 8 bytes or 64 bits are used each. The number in the field is in the domain of the natural numbers. Given in each case is the number of the byte, from the beginning of the root-element, at which the corresponding element beginns (i.e. for the first byte of the element). The count of bytes in the root-element starts at 0 . The optional information field thus has the offset 0 .

All texts that are not contained in the optional part, are moved into the optional part (see section 21.2.9 on page [*]).



Subsections
next up previous contents index
Next: Optional information fields Up: Compressed storing of Fib Previous: File Header   Contents   Index
Betti Österholz 2013-02-13