Table of Contents

Enum TdbFileKind

Namespace
TdbIO
Assembly
TdbIO.dll

The kind of a file, found from its content (and, for reports only, from its file name).

public enum TdbFileKind

Fields

Db1 = 1

A model database: gzip data that unpacks to Xsteel with type byte 0x85 (.db1 files and their .bak copies).

Db2 = 2

A model records file: gzip data that unpacks to Xsteel with type byte 0x80 (.db2 files and their .bak copies).

Dbv = 6

A DBV@ file: gzip data that unpacks to DBV@. Uncompressed DBV@ data is TdbIO.TdbFileKind.Unknown.

Drawing = 3

A drawing file: gzip data that unpacks to Xsteel with type byte 0x20. Recognised but not supported.

GuidMapper = 5

A GUID map file: gzip data that unpacks to !Guid mapping for (guid.mapper).

History = 7

A history file: an uncompressed SQLite 3 database (history.db).

IdRanges = 4

An id range file: gzip data that unpacks to IdRangeMapper (.idrm files).

Nc1 = 8

A DSTV NC file (.nc1): uncompressed text that starts with the line ST.

Report = 10

A report (.xsr). Reports have no signature: a file is a report only when its content is not recognised and its name ends with .xsr.

Template = 9

A template (.tpl, .rpt): uncompressed text whose first word is template, after an optional UTF-8 byte order mark and blank lines.

Unknown = 0

Not a recognised file.