Describes the types available for structs inside TeaFiles.
Namespace: TeaTimeAssembly: DiscreteLogics.TeaFiles (in DiscreteLogics.TeaFiles.dll) Version: 1.0.0.16 (1.0.0.16)
Syntax
public enum FieldType
Members
Member name | Value | Description | |
---|---|---|---|
None | 0 | Invalid value. | |
Int8 | 1 | signed 1 byte value. | |
Int16 | 2 | signed 2 byte value. | |
Int32 | 3 | signed 4 byte value. | |
Int64 | 4 | signed 8 byte value. | |
UInt8 | 5 | unsigned 1 byte value. | |
UInt16 | 6 | unsigned 2 byte value. | |
UInt32 | 7 | unsigned 4 byte value. | |
UInt64 | 8 | unsigned 8 byte value. | |
Float | 9 | 4 byte IEEE 754 floating point value. | |
Double | 10 | 8 byte IEEE 754 floating point value. | |
NetDecimal | 512 | .Net specific Decimal type. | |
Custom | 4096 | Custom Field Types should have identifiers above 0x1000. |
Remarks
In order to be platform compatible, only the first 10 types should be used (signed and unsigned integers, float and double).
Some applications have a very limited type set, so even tighter restriction is sometimes favorable. To exchange data with R for instance, usage should be restricted to signed 32 bit integers and double.