TpsTableDefinition class
The layout of one table: its fields, memos and indexes.
Constructors
Properties
- driverVersion → int
-
TopSpeed driver version that wrote the definition.
final
-
fields
→ List<
TpsField> -
All fields, including GROUPs, in definition order.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
indexes
→ List<
TpsIndex> -
Keys and indexes, in definition order.
final
-
memos
→ List<
TpsMemo> -
MEMO and BLOB columns, in definition order.
final
- recordLength → int
-
Byte length of one row payload.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
valueFields
→ Iterable<
TpsField> -
Fields that hold values; groups only overlay other fields.
no setter
Methods
-
field(
String nameOrLabel) → TpsField -
Finds a field by full name (
DEP:NUM) or label (NUM), ignoring case. Throws ArgumentError when there is none. -
index(
String nameOrLabel) → TpsIndex -
Finds a KEY or INDEX by full name (
DEP:KEYNUM) or label (KEYNUM), ignoring case. Throws ArgumentError when there is none. -
memo(
String nameOrLabel) → TpsMemo - Finds a MEMO/BLOB by full name or label, ignoring case. Throws ArgumentError when there is none.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
parse(
Uint8List bytes, {Encoding encoding = windows1252}) → TpsTableDefinition - Decodes the joined table definition blocks.